|
{ |
|
"_name_or_path": "THUDM__glm-4-9b-chat-hf", |
|
"architectures": [ |
|
"GlmForCausalLM" |
|
], |
|
"attention_bias": true, |
|
"attention_dropout": 0.0, |
|
"eos_token_id": [ |
|
151329, |
|
151336, |
|
151338 |
|
], |
|
"head_dim": 128, |
|
"hidden_act": "silu", |
|
"hidden_size": 4096, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 13696, |
|
"max_position_embeddings": 131072, |
|
"model_type": "glm", |
|
"num_attention_heads": 32, |
|
"num_hidden_layers": 40, |
|
"num_key_value_heads": 2, |
|
"pad_token_id": 151329, |
|
"partial_rotary_factor": 0.5, |
|
"quantization_config": { |
|
"activation_scheme": "dynamic", |
|
"ignored_layers": [ |
|
"lm_head" |
|
], |
|
"quant_method": "fp8" |
|
}, |
|
"rms_norm_eps": 1.5625e-07, |
|
"rope_theta": 10000.0, |
|
"tie_word_embeddings": false, |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": "4.47.1", |
|
"use_cache": true, |
|
"vocab_size": 151552 |
|
} |
|
|