Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
train
Function · 0.70
Calls
4
do_mask
Function · 0.70
do_nothing
Function · 0.70
do_replace
Function · 0.70
sample
Method · 0.45
Tested by
no test coverage detected