rkazants's picture
Add tiny random MiniCPM5-MoE test model
002025c verified
Raw History Blame Contribute Delete
1.37 kB
{
"architectures": [
"MiniCPM5MoEForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_minicpm.MiniCPM5MoEConfig",
"AutoModel": "modeling_minicpm.MiniCPM5MoEModel",
"AutoModelForCausalLM": "modeling_minicpm.MiniCPM5MoEForCausalLM",
"AutoModelForSeq2SeqLM": "modeling_minicpm.MiniCPM5MoEForCausalLM",
"AutoModelForSequenceClassification": "modeling_minicpm.MiniCPM5MoEForSequenceClassification"
},
"bos_token_id": 0,
"dtype": "bfloat16",
"eos_token_id": [
1,
130073
],
"first_k_dense_replace": 1,
"head_dim": 16,
"hidden_act": "silu",
"hidden_size": 64,
"initializer_range": 0.02,
"intermediate_size": 128,
"max_position_embeddings": 524288,
"mlp_bias": false,
"model_type": "minicpm5_moe",
"moe_intermediate_size": 32,
"n_group": 1,
"n_routed_experts": 8,
"n_shared_experts": 1,
"norm_topk_prob": true,
"num_attention_heads": 4,
"num_experts_per_tok": 2,
"num_hidden_layers": 3,
"num_key_value_heads": 2,
"pad_token_id": 1,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 5000000,
"routed_scaling_factor": 3.66,
"tie_word_embeddings": false,
"topk_group": 1,
"topk_method": "greedy",
"transformers_version": "4.57.6",
"use_cache": true,
"use_gated_attention": true,
"vocab_size": 130560
}