11-47's picture
Upload 8 files
ecd3d2c verified
Raw History Blame
949 Bytes
{
"architectures": [
"Lfm2MoeForCausalLM"
],
"model_type": "lfm2_moe",
"vocab_size": 49152,
"hidden_size": 320,
"num_hidden_layers": 12,
"layer_types": [
"conv",
"conv",
"full_attention",
"conv",
"conv",
"full_attention",
"conv",
"conv",
"full_attention",
"conv",
"conv",
"full_attention"
],
"num_attention_heads": 5,
"num_key_value_heads": 1,
"conv_L_cache": 7,
"conv_bias": false,
"num_dense_layers": 1,
"intermediate_size": 896,
"moe_intermediate_size": 96,
"num_experts": 32,
"num_experts_per_tok": 4,
"norm_topk_prob": true,
"routed_scaling_factor": 1.0,
"use_expert_bias": true,
"norm_eps": 1e-05,
"rope_theta": 1000000.0,
"max_position_embeddings": 2048,
"tie_word_embeddings": true,
"torch_dtype": "float32",
"use_cache": true,
"bos_token_id": null,
"eos_token_id": 2,
"pad_token_id": 0
}