{ "_attn_implementation": "eager", "architectures": [ "Ernie4_5_MoeForCausalLM" ], "auto_map": { "AutoConfig": "configuration_ernie4_5_moe.Ernie4_5_MoeConfig", "AutoModel": "modeling_ernie4_5_moe.Ernie4_5_Model", "AutoModelForCausalLM": "modeling_ernie4_5_moe.Ernie4_5_MoeForCausalLM" }, "bos_token_id": 1, "eos_token_id": 2, "hidden_act": "silu", "hidden_size": 8192, "intermediate_size": 28672, "max_position_embeddings": 131072, "model_type": "ernie4_5_moe", "moe_capacity": [ 64, 64, 64 ], "moe_gate": "topk", "moe_intermediate_size": 3584, "moe_k": 8, "moe_layer_interval": 1, "moe_layer_start_index": 3, "moe_num_experts": 64, "moe_use_aux_free": true, "num_attention_heads": 64, "num_hidden_layers": 54, "num_key_value_heads": 8, "pad_token_id": 0, "rms_norm_eps": 1e-05, "rope_theta": 500000, "tie_word_embeddings": false, "torch_dtype": "bfloat16", "use_bias": false, "use_cache": true, "vocab_size": 103424 }