MiMo-V2.6-Flash-SD / config.json
sdworld's picture
MiMo-V2.6-Flash-SD: weights, dense_codes, sidecars, model card
08fb5ba verified
Raw History Blame Contribute Delete
3.02 kB
{
"add_full_attention_sink_bias": false,
"add_swa_attention_sink_bias": true,
"architectures": [
"MiMoV2FlashForCausalLM"
],
"attention_bias": false,
"attention_chunk_size": 128,
"attention_dropout": 0.0,
"attention_projection_layout": "fused_qkv",
"attention_value_scale": 0.707,
"moe_router_dtype": "bfloat16",
"audio_end_token_id": 151674,
"audio_start_token_id": 151673,
"audio_token_id": 151669,
"auto_map": {
"AutoConfig": "configuration_mimo_v2.MiMoV2Config",
"AutoModel": "modeling_mimo_v2.MiMoV2Model",
"AutoModelForCausalLM": "modeling_mimo_v2.MiMoV2ForCausalLM"
},
"bos_token_id": null,
"dtype": "bfloat16",
"eos_token_id": 151645,
"head_dim": 192,
"hidden_act": "silu",
"hidden_size": 4096,
"hybrid_block_size": null,
"hybrid_layer_pattern": [
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0
],
"image_token_id": 151655,
"initializer_range": 0.02,
"intermediate_size": 16384,
"layernorm_epsilon": 1e-06,
"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
],
"n_group": 1,
"n_routed_experts": 256,
"n_shared_experts": null,
"norm_topk_prob": true,
"num_attention_heads": 64,
"num_experts_per_tok": 8,
"num_hidden_layers": 48,
"num_key_value_heads": 4,
"num_nextn_predict_layers": 3,
"pad_token_id": 151643,
"partial_rotary_factor": 0.334,
"quantization_config": {
"activation_scheme": "dynamic",
"fmt": "e4m3",
"ignored_layers": [
"model.decoder.self_attn.o_proj"
],
"quant_method": "fp8",
"weight_block_size": [
128,
128
]
},
"rope_parameters": {
"partial_rotary_factor": 0.334,
"rope_theta": 10000000.0,
"rope_type": "default",
"type": "default"
},
"rope_theta": 10000000.0,
"routed_scaling_factor": null,
"scoring_func": "sigmoid",
"sliding_window": 128,
"sliding_window_size": 128,
"swa_head_dim": 192,
"swa_num_attention_heads": 64,
"swa_num_key_value_heads": 8,
"swa_rope_theta": 10000.0,
"swa_v_head_dim": 128,
"tie_word_embeddings": false,
"topk_group": 1,
"topk_method": "noaux_tc",
"transformers_version": "5.3.0",
"use_cache": true,
"v_head_dim": 128,
"video_token_id": 151656,
"vision_end_token_id": 151653,
"vision_model_type": "mimovl",
"vision_start_token_id": 151652,
"vocab_size": 152576
}