DynamicMind-MoE / config.json
DedeProGames's picture
DynamicMind-MoE: 30.2M total / 8.9M active sparse MoE, upcycled from DynamicMind-Mini
70038b6 verified
Raw
History Blame Contribute Delete
1.36 kB
{
"transformers_version": "5.5.3",
"architectures": [
"DynamicMindMoEForCausalLM"
],
"output_hidden_states": false,
"return_dict": true,
"dtype": "float32",
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"problem_type": null,
"_name_or_path": "",
"bos_token_id": 0,
"eos_token_id": 0,
"pad_token_id": 1,
"tie_word_embeddings": true,
"vocab_size": 8192,
"hidden_size": 256,
"intermediate_size": 768,
"moe_intermediate_size": 256,
"num_hidden_layers": 9,
"num_attention_heads": 8,
"num_key_value_heads": 2,
"num_routed_experts": 14,
"num_shared_experts": 1,
"num_experts_per_token": 2,
"first_k_dense_layers": 0,
"norm_topk_prob": true,
"router_aux_loss_coef": 0.01,
"router_z_loss_coef": 0.001,
"router_bias_update_rate": 0.001,
"use_aux_loss_free_balancing": true,
"max_position_embeddings": 1024,
"rms_norm_eps": 1e-05,
"rope_theta": 10000.0,
"attention_dropout": 0.0,
"model_type": "dynamicmind_moe",
"output_attentions": false,
"auto_map": {
"AutoConfig": "configuration_dynamicmind_moe.DynamicMindMoEConfig",
"AutoModelForCausalLM": "modeling_dynamicmind_moe.DynamicMindMoEForCausalLM"
}
}