Upload config.json with huggingface_hub
Browse files- config.json +34 -0
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"AquilaMoeForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "configuration_aquilamoe.AquilaMoeConfig",
|
8 |
+
"AutoModelForCausalLM": "modeling_aquilamoe.AquilaMoeForCausalLM"
|
9 |
+
},
|
10 |
+
"bos_token_id": 151849,
|
11 |
+
"eos_token_id": 151850,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 5120,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 20480,
|
16 |
+
"max_position_embeddings": 4096,
|
17 |
+
"model_type": "aquilamoe",
|
18 |
+
"num_attention_heads": 40,
|
19 |
+
"num_experts_per_tok": 2,
|
20 |
+
"num_hidden_layers": 40,
|
21 |
+
"num_key_value_heads": 8,
|
22 |
+
"num_local_experts": 8,
|
23 |
+
"output_router_logits": false,
|
24 |
+
"pad_token_id": 151643,
|
25 |
+
"rms_norm_eps": 1e-05,
|
26 |
+
"rope_theta": 1000000.0,
|
27 |
+
"router_aux_loss_coef": 0.001,
|
28 |
+
"sliding_window": null,
|
29 |
+
"tie_word_embeddings": false,
|
30 |
+
"torch_dtype": "bfloat16",
|
31 |
+
"transformers_version": "4.40.1",
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 151851
|
34 |
+
}
|