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

File transform_param.py

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

Source from the content-addressed store, hash-verified

1from dotenv import load_dotenv
2load_dotenv()
3
4from transformers import AutoTokenizer, AutoModel, AutoConfig

Callers

nothing calls this directly

Calls 6

ChatGLMModelClass · 0.90
save_checkpointFunction · 0.90
transform_weightFunction · 0.70
printFunction · 0.50
from_pretrainedMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected