Update config.json
Browse files- config.json +39 -1
config.json
CHANGED
@@ -1 +1,39 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SkyworkForCausalLM"
|
4 |
+
],
|
5 |
+
"auto_map": {
|
6 |
+
"AutoConfig": "configuration_skywork_moe.SkyworkMoeConfig",
|
7 |
+
"AutoModelForCausalLM": "modeling_skywork_moe.SkyworkForCausalLM"
|
8 |
+
},
|
9 |
+
"model_type": "skywork_moe",
|
10 |
+
"vocab_size": 65532,
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"eos_token_id": 2,
|
13 |
+
"pad_token_id": 0,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 4608,
|
16 |
+
"initializer_range": 0.01,
|
17 |
+
"intermediate_size": 12288,
|
18 |
+
"max_position_embeddings": 8192,
|
19 |
+
"num_attention_heads": 36,
|
20 |
+
"num_key_value_heads": 36,
|
21 |
+
"num_hidden_layers": 52,
|
22 |
+
"num_experts": [
|
23 |
+
16
|
24 |
+
],
|
25 |
+
"moe_use_skywork_gating": false,
|
26 |
+
"moe_2layer_gate": false,
|
27 |
+
"moe_use_logits_norm": true,
|
28 |
+
"moe_gate_norm_std": 1.0,
|
29 |
+
"moe_feature_no_mul_topk": true,
|
30 |
+
"sliding_window": null,
|
31 |
+
"moe_expert_interval": 1,
|
32 |
+
"rms_norm_eps": 1e-06,
|
33 |
+
"rotary_percent": 1.0,
|
34 |
+
"tie_word_embeddings": false,
|
35 |
+
"torch_dtype": "bfloat16",
|
36 |
+
"use_cache": true,
|
37 |
+
"transformers_version": "4.40.1",
|
38 |
+
"rope_theta": 10000
|
39 |
+
}
|