Upload config.json with huggingface_hub
Browse files- config.json +47 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"HunYuanForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "configuration_hunyuan.HunYuanConfig",
|
9 |
+
"AutoModel": "modeling_hunyuan.HunyuanModel",
|
10 |
+
"AutoModelForCausalLM": "modeling_hunyuan.HunYuanForCausalLM"
|
11 |
+
},
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"capacity_factor": 1.0,
|
14 |
+
"cla_share_factor": 2,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"hidden_act": "silu",
|
17 |
+
"hidden_size": 6400,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 18304,
|
20 |
+
"max_position_embeddings": 131072,
|
21 |
+
"model_type": "hunyuan",
|
22 |
+
"moe_drop_tokens": false,
|
23 |
+
"moe_random_routing_dropped_token": false,
|
24 |
+
"moe_topk": 1,
|
25 |
+
"num_attention_heads": 80,
|
26 |
+
"num_experts": 16,
|
27 |
+
"num_hidden_layers": 64,
|
28 |
+
"num_key_value_heads": 8,
|
29 |
+
"num_shared_expert": 1,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"pretraining_tp": 1,
|
32 |
+
"rms_norm_eps": 1e-05,
|
33 |
+
"rope_scaling": {
|
34 |
+
"alpha": 1000.0,
|
35 |
+
"factor": 1.0,
|
36 |
+
"type": "dynamic"
|
37 |
+
},
|
38 |
+
"rope_theta": 10000.0,
|
39 |
+
"tie_word_embeddings": true,
|
40 |
+
"torch_dtype": "bfloat16",
|
41 |
+
"transformers_version": "4.41.2",
|
42 |
+
"use_cache": true,
|
43 |
+
"use_cla": true,
|
44 |
+
"use_mixed_mlp_moe": true,
|
45 |
+
"use_qk_norm": true,
|
46 |
+
"vocab_size": 129024
|
47 |
+
}
|