Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ transform_param.py
File
transform_param.py
SwissArmyTransformer/examples/roberta/transform_param.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
pretrain_path =
'/data/qingsong/pretrain'
3
model_type =
'roberta-large'
4
Callers
nothing calls this directly
Calls
9
RobertaModel
Class · 0.90
lm_head
Class · 0.85
to
Method · 0.80
save
Method · 0.80
transform_weight
Function · 0.70
print
Function · 0.50
from_pretrained
Method · 0.45
max
Method · 0.45
state_dict
Method · 0.45
Tested by
no test coverage detected