|
{ |
|
"_name_or_path": "Qwen/Qwen2-57B-A14B-Instruct", |
|
"architectures": [ |
|
"Qwen2MoeForCausalLM" |
|
], |
|
"attention_dropout": 0.0, |
|
"bos_token_id": 151643, |
|
"decoder_sparse_step": 1, |
|
"eos_token_id": 151643, |
|
"hidden_act": "silu", |
|
"hidden_size": 3584, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 18944, |
|
"max_position_embeddings": 32768, |
|
"max_window_layers": 28, |
|
"mlp_only_layers": [], |
|
"model_type": "qwen2_moe", |
|
"moe_intermediate_size": 2560, |
|
"norm_topk_prob": false, |
|
"num_attention_heads": 28, |
|
"num_experts": 64, |
|
"num_experts_per_tok": 8, |
|
"num_hidden_layers": 28, |
|
"num_key_value_heads": 4, |
|
"output_router_logits": false, |
|
"quantization_config": { |
|
"activation_scheme": "static", |
|
"ignored_layers": [ |
|
"model.layers.21.mlp.shared_expert_gate", |
|
"model.layers.5.mlp.shared_expert_gate", |
|
"model.layers.25.mlp.shared_expert_gate", |
|
"model.layers.20.mlp.shared_expert_gate", |
|
"model.layers.7.mlp.shared_expert_gate", |
|
"model.layers.19.mlp.shared_expert_gate", |
|
"lm_head", |
|
"model.layers.14.mlp.gate", |
|
"model.layers.16.mlp.gate", |
|
"model.layers.15.mlp.shared_expert_gate", |
|
"model.layers.17.mlp.shared_expert_gate", |
|
"model.layers.5.mlp.gate", |
|
"model.layers.4.mlp.gate", |
|
"model.layers.10.mlp.gate", |
|
"model.layers.17.mlp.gate", |
|
"model.layers.23.mlp.gate", |
|
"model.layers.27.mlp.shared_expert_gate", |
|
"model.layers.0.mlp.shared_expert_gate", |
|
"model.layers.27.mlp.gate", |
|
"model.layers.12.mlp.gate", |
|
"model.layers.3.mlp.shared_expert_gate", |
|
"model.layers.7.mlp.gate", |
|
"model.layers.19.mlp.gate", |
|
"model.layers.24.mlp.gate", |
|
"model.layers.9.mlp.gate", |
|
"model.layers.6.mlp.gate", |
|
"model.layers.10.mlp.shared_expert_gate", |
|
"model.layers.11.mlp.shared_expert_gate", |
|
"model.layers.12.mlp.shared_expert_gate", |
|
"model.layers.18.mlp.gate", |
|
"model.layers.22.mlp.gate", |
|
"model.layers.22.mlp.shared_expert_gate", |
|
"model.layers.3.mlp.gate", |
|
"model.layers.9.mlp.shared_expert_gate", |
|
"model.layers.13.mlp.gate", |
|
"model.layers.21.mlp.gate", |
|
"model.layers.2.mlp.shared_expert_gate", |
|
"model.layers.24.mlp.shared_expert_gate", |
|
"model.layers.20.mlp.gate", |
|
"model.layers.25.mlp.gate", |
|
"model.layers.8.mlp.shared_expert_gate", |
|
"model.layers.2.mlp.gate", |
|
"model.layers.13.mlp.shared_expert_gate", |
|
"model.layers.23.mlp.shared_expert_gate", |
|
"model.layers.15.mlp.gate", |
|
"model.layers.26.mlp.shared_expert_gate", |
|
"model.layers.26.mlp.gate", |
|
"model.layers.8.mlp.gate", |
|
"model.layers.14.mlp.shared_expert_gate", |
|
"model.layers.16.mlp.shared_expert_gate", |
|
"model.layers.18.mlp.shared_expert_gate", |
|
"model.layers.0.mlp.gate", |
|
"model.layers.1.mlp.gate", |
|
"model.layers.11.mlp.gate", |
|
"model.layers.6.mlp.shared_expert_gate", |
|
"model.layers.1.mlp.shared_expert_gate", |
|
"model.layers.4.mlp.shared_expert_gate" |
|
], |
|
"kv_cache_scheme": "static", |
|
"quant_method": "fp8" |
|
}, |
|
"rms_norm_eps": 1e-06, |
|
"rope_theta": 1000000.0, |
|
"router_aux_loss_coef": 0.001, |
|
"shared_expert_intermediate_size": 20480, |
|
"sliding_window": 65536, |
|
"tie_word_embeddings": false, |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": "4.42.1", |
|
"use_cache": true, |
|
"use_sliding_window": false, |
|
"vocab_size": 151936 |
|
} |
|
|