MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / transform_param.py

File transform_param.py

SwissArmyTransformer/examples/bert/transform_param.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os
2pretrain_path = '/data/qingsong/pretrain'
3model_type = 'bert-large-uncased'
4

Callers

nothing calls this directly

Calls 9

BertModelClass · 0.90
lm_headClass · 0.85
toMethod · 0.80
saveMethod · 0.80
transform_weightFunction · 0.70
printFunction · 0.50
from_pretrainedMethod · 0.45
maxMethod · 0.45
state_dictMethod · 0.45

Tested by

no test coverage detected