lamoe-247 / config.json
IMvision12's picture
Keep model artifacts on Hub and Python implementation in GitHub source
89bbaf8 verified
Raw History Blame Contribute Delete
1.15 kB
{
"architectures": [
"LaMoEForCausalLM"
],
"bos_token_id": 2,
"dense_ffn_width": 2048,
"eos_token_id": [
3,
10
],
"expert_ffn_width": 1024,
"experts_per_token": 2,
"fusion_gate_init": 0.1,
"gdn_backend": "reference",
"gdn_conv_width": 4,
"gdn_heads": 4,
"gdn_key_dim": 64,
"gdn_value_dim": 64,
"head_gate_bias_init": null,
"hidden_size": 768,
"hybrid_layers": [
4,
8,
12,
16
],
"initializer_std": 0.02,
"is_decoder": true,
"kv_rank": 192,
"load_balance_coef": 0.01,
"max_position_embeddings": 2048,
"mla_backend": "sdpa",
"mla_head_gate": false,
"mla_heads": 12,
"model_type": "lamoe",
"moe_backend": "batched",
"num_experts": 8,
"num_layers": 16,
"pad_token_id": 0,
"q_rank": 192,
"qk_content_dim": 48,
"qk_rope_dim": 16,
"rms_norm_eps": 1e-06,
"rope_theta": 10000.0,
"router_initializer_std": 0.01,
"router_z_coef": 0.001,
"shared_ffn_width": 512,
"tie_word_embeddings": true,
"transformers_version": "5.17.0",
"use_cache": true,
"value_head_dim": 64,
"vocab_size": 32000
}