MCPcopy Create free account
hub / github.com/MorvanZhou/NLP-Tutorials / random_mask_or_replace

Function random_mask_or_replace

pytorch/BERT.py:60–94  ·  view source on GitHub ↗
(data,arange,dataset)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

trainFunction · 0.70

Calls 3

do_maskFunction · 0.70
do_nothingFunction · 0.70
do_replaceFunction · 0.70

Tested by

no test coverage detected