MiMo-V2.5-Pro / config.json
DUK51's picture
Duplicate from XiaomiMiMo/MiMo-V2.5-Pro
4794c7e
{
"architectures": [
"MiMoV2ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_mimo_v2.MiMoV2Config",
"AutoModel": "modeling_mimo_v2.MiMoV2Model",
"AutoModelForCausalLM": "modeling_mimo_v2.MiMoV2ForCausalLM"
},
"quantization_config": {
"activation_scheme": "dynamic",
"fmt": "e4m3",
"quant_method": "fp8",
"weight_block_size": [
128,
128
],
"ignored_layers": [
"model.layers.0.self_attn.o_proj",
"model.layers.1.self_attn.o_proj",
"model.layers.2.self_attn.o_proj",
"model.layers.3.self_attn.o_proj",
"model.layers.4.self_attn.o_proj",
"model.layers.5.self_attn.o_proj",
"model.layers.6.self_attn.o_proj",
"model.layers.7.self_attn.o_proj",
"model.layers.8.self_attn.o_proj",
"model.layers.9.self_attn.o_proj",
"model.layers.10.self_attn.o_proj",
"model.layers.11.self_attn.o_proj",
"model.layers.12.self_attn.o_proj",
"model.layers.13.self_attn.o_proj",
"model.layers.14.self_attn.o_proj",
"model.layers.15.self_attn.o_proj",
"model.layers.16.self_attn.o_proj",
"model.layers.17.self_attn.o_proj",
"model.layers.18.self_attn.o_proj",
"model.layers.19.self_attn.o_proj",
"model.layers.20.self_attn.o_proj",
"model.layers.21.self_attn.o_proj",
"model.layers.22.self_attn.o_proj",
"model.layers.23.self_attn.o_proj",
"model.layers.24.self_attn.o_proj",
"model.layers.25.self_attn.o_proj",
"model.layers.26.self_attn.o_proj",
"model.layers.27.self_attn.o_proj",
"model.layers.28.self_attn.o_proj",
"model.layers.29.self_attn.o_proj",
"model.layers.30.self_attn.o_proj",
"model.layers.31.self_attn.o_proj",
"model.layers.32.self_attn.o_proj",
"model.layers.33.self_attn.o_proj",
"model.layers.34.self_attn.o_proj",
"model.layers.35.self_attn.o_proj",
"model.layers.36.self_attn.o_proj",
"model.layers.37.self_attn.o_proj",
"model.layers.38.self_attn.o_proj",
"model.layers.39.self_attn.o_proj",
"model.layers.40.self_attn.o_proj",
"model.layers.41.self_attn.o_proj",
"model.layers.42.self_attn.o_proj",
"model.layers.43.self_attn.o_proj",
"model.layers.44.self_attn.o_proj",
"model.layers.45.self_attn.o_proj",
"model.layers.46.self_attn.o_proj",
"model.layers.47.self_attn.o_proj",
"model.layers.48.self_attn.o_proj",
"model.layers.49.self_attn.o_proj",
"model.layers.50.self_attn.o_proj",
"model.layers.51.self_attn.o_proj",
"model.layers.52.self_attn.o_proj",
"model.layers.53.self_attn.o_proj",
"model.layers.54.self_attn.o_proj",
"model.layers.55.self_attn.o_proj",
"model.layers.56.self_attn.o_proj",
"model.layers.57.self_attn.o_proj",
"model.layers.58.self_attn.o_proj",
"model.layers.59.self_attn.o_proj",
"model.layers.60.self_attn.o_proj",
"model.layers.61.self_attn.o_proj",
"model.layers.62.self_attn.o_proj",
"model.layers.63.self_attn.o_proj",
"model.layers.64.self_attn.o_proj",
"model.layers.65.self_attn.o_proj",
"model.layers.66.self_attn.o_proj",
"model.layers.67.self_attn.o_proj",
"model.layers.68.self_attn.o_proj",
"model.layers.69.self_attn.o_proj",
"model.decoder.self_attn.o_proj"
]
},
"add_full_attention_sink_bias": false,
"add_swa_attention_sink_bias": true,
"attention_bias": false,
"attention_chunk_size": 128,
"attention_dropout": 0.0,
"attention_projection_layout": "fused_qkv",
"attention_value_scale": 0.612,
"head_dim": 192,
"hidden_act": "silu",
"hidden_size": 6144,
"hybrid_layer_pattern": [
0, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1,
0
],
"initializer_range": 0.02,
"intermediate_size": 16384,
"layernorm_epsilon": 1e-05,
"max_position_embeddings": 1048576,
"model_type": "mimo_v2",
"moe_intermediate_size": 2048,
"moe_layer_freq": [
0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
],
"n_group": 1,
"n_routed_experts": 384,
"n_shared_experts": null,
"norm_topk_prob": true,
"num_attention_heads": 128,
"num_experts_per_tok": 8,
"num_hidden_layers": 70,
"num_key_value_heads": 8,
"partial_rotary_factor": 0.334,
"rope_theta": 10000000,
"routed_scaling_factor": null,
"scoring_func": "sigmoid",
"sliding_window": 128,
"sliding_window_size": 128,
"swa_head_dim": 192,
"swa_num_attention_heads": 128,
"swa_num_key_value_heads": 8,
"swa_rope_theta": 10000,
"swa_v_head_dim": 128,
"tie_word_embeddings": false,
"topk_group": 1,
"topk_method": "noaux_tc",
"torch_dtype": "bfloat16",
"transformers_version": "4.57.1",
"use_cache": true,
"v_head_dim": 128,
"vocab_size": 152576
}