teutnonic-test-1 / config.json
dora7's picture
Upload folder using huggingface_hub
ff3e044 verified
Raw
History Blame Contribute Delete
1.82 kB
{
"architectures": [
"MiMoV2ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_mimo_v2.MiMoV2Config",
"AutoModel": "modeling_mimo_v2.MiMoV2Model",
"AutoModelForCausalLM": "modeling_mimo_v2.MiMoV2ForCausalLM"
},
"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.707,
"dtype": "bfloat16",
"head_dim": 192,
"hidden_act": "silu",
"hidden_size": 3072,
"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,
0,1,1,1,1,
0,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": 1024,
"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
],
"n_group": 1,
"n_routed_experts": 256,
"n_shared_experts": 1,
"norm_topk_prob": true,
"num_attention_heads": 48,
"num_experts_per_tok": 8,
"num_hidden_layers": 45,
"num_key_value_heads": 4,
"partial_rotary_factor": 0.334,
"rms_norm_eps": 1e-05,
"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": 48,
"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",
"transformers_version": "5.8.1",
"use_cache": true,
"v_head_dim": 128,
"vocab_size": 152576
}