Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hzfinfdu/Diffusion-BERT
/ DDP_main.py
File
DDP_main.py
DDP_main.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
import
sys
3
import
random
4
import
numpy
as
np
Callers
nothing calls this directly
Calls
8
Categorical
Class · 0.90
WholeWordMasking
Class · 0.90
DiffusionLoader
Class · 0.90
parse_args
Function · 0.70
set_seed
Function · 0.70
word_freq_preprocess_fn
Function · 0.70
my_load
Method · 0.45
sample_t
Method · 0.45
Tested by
no test coverage detected