openmoe-base / config.json
frankleeeee's picture
uploaded openmoe-base
c81273a
raw
history blame contribute delete
887 Bytes
{
"architectures": [
"OpenMoeForCausalLM"
],
"bos_token_id": 1,
"capacity_factor_eval": 2.0,
"capacity_factor_train": 1.25,
"drop_tks": true,
"dropout_rate": 0.0,
"eos_token_id": 2,
"expert_parallel": null,
"gated": true,
"head_dim": 64,
"hidden_act": "swiglu",
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 2048,
"layer_norm_epsilon": 1e-06,
"max_position_embeddings": 2048,
"min_capacity": 4,
"model_type": "llama",
"moe_layer_interval": 4,
"noisy_policy": null,
"num_attention_heads": 12,
"num_experts": 16,
"num_hidden_layers": 12,
"num_key_value_heads": 12,
"pad_token_id": 0,
"pretraining_tp": 1,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"tie_word_embeddings": false,
"topk": 2,
"torch_dtype": "float32",
"transformers_version": "4.31.0",
"use_cache": true,
"vocab_size": 256384
}