frankenmoe / moe /config.json
hotdogs's picture
Upload moe/config.json with huggingface_hub
a37817b verified
Raw History Blame
1.64 kB
{
"architectures": [
"Qwen2MoeForCausalLM"
],
"attention_dropout": 0.0,
"bos_token_id": null,
"decoder_sparse_step": 1,
"eos_token_id": null,
"hidden_act": "silu",
"hidden_size": 1536,
"initializer_range": 0.02,
"intermediate_size": 8960,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 32768,
"max_window_layers": 28,
"mlp_only_layers": [],
"model_type": "qwen2_moe",
"moe_intermediate_size": 8960,
"norm_topk_prob": true,
"num_attention_heads": 12,
"num_experts": 2,
"num_experts_per_tok": 1,
"num_hidden_layers": 28,
"num_key_value_heads": 2,
"output_router_logits": false,
"pad_token_id": null,
"qkv_bias": true,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 10000.0,
"rope_type": "default"
},
"router_aux_loss_coef": 0.001,
"shared_expert_intermediate_size": 8960,
"sliding_window": null,
"tie_word_embeddings": true,
"transformers_version": "5.5.0",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936
}