MCPcopy Index your code
hub / github.com/MorvanZhou/NLP-Tutorials / random_mask_or_replace

Function random_mask_or_replace

BERT.py:65–92  ·  view source on GitHub ↗
(data, arange, batch_size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

trainFunction · 0.70

Calls 4

do_maskFunction · 0.70
do_nothingFunction · 0.70
do_replaceFunction · 0.70
sampleMethod · 0.45

Tested by

no test coverage detected