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

Function do_replace

BERT.py:54–57  ·  view source on GitHub ↗
(seq, len_arange, pad_id, word_ids)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

random_mask_or_replaceFunction · 0.70

Calls 1

_get_loss_maskFunction · 0.70

Tested by

no test coverage detected