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/mixtral-8x7b/transform_param.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
transformers
import
AutoModelForCausalLM, AutoTokenizer, AutoConfig
2
import
torch
3
4
model_id =
"mistralai/Mixtral-8x7B-Instruct-v0.1"
Callers
nothing calls this directly
Calls
4
MixtralModel
Class · 0.90
save_checkpoint
Function · 0.90
transform_weight
Function · 0.70
from_pretrained
Method · 0.45
Tested by
no test coverage detected