Upload config.json with huggingface_hub
Browse files- config.json +61 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_classification_head": false,
|
3 |
+
"architectures": [
|
4 |
+
"HunYuanDenseV1ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"attention_head_dim": 128,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"cla_share_factor": 2,
|
11 |
+
"class_num": 0,
|
12 |
+
"dense_list": [
|
13 |
+
4096,
|
14 |
+
0
|
15 |
+
],
|
16 |
+
"eod_token_id": 127957,
|
17 |
+
"eos_token_id": -1,
|
18 |
+
"head_dim": 128,
|
19 |
+
"hidden_act": "silu",
|
20 |
+
"hidden_size": 4096,
|
21 |
+
"im_end_id": 5,
|
22 |
+
"im_newline_id": 11,
|
23 |
+
"im_start_id": 4,
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 14336,
|
26 |
+
"mask_init_id": 12,
|
27 |
+
"max_position_embeddings": 262144,
|
28 |
+
"mlp_bias": false,
|
29 |
+
"model_type": "hunyuan_v1_dense",
|
30 |
+
"norm_type": "rms",
|
31 |
+
"num_attention_heads": 32,
|
32 |
+
"num_hidden_layers": 32,
|
33 |
+
"num_key_value_heads": 8,
|
34 |
+
"org_vocab_size": 128166,
|
35 |
+
"pad_id": 127961,
|
36 |
+
"pad_token_id": 127961,
|
37 |
+
"pool_type": "last",
|
38 |
+
"pretraining_tp": 1,
|
39 |
+
"rms_norm_eps": 1e-05,
|
40 |
+
"rope_scaling": {
|
41 |
+
"alpha": 1000.0,
|
42 |
+
"beta_fast": 32,
|
43 |
+
"beta_slow": 1,
|
44 |
+
"factor": 1.0,
|
45 |
+
"mscale": 1.0,
|
46 |
+
"mscale_all_dim": 1.0,
|
47 |
+
"type": "dynamic"
|
48 |
+
},
|
49 |
+
"rope_theta": 10000.0,
|
50 |
+
"sep_token_id": 127962,
|
51 |
+
"text_end_id": 7,
|
52 |
+
"text_start_id": 6,
|
53 |
+
"tie_word_embeddings": true,
|
54 |
+
"torch_dtype": "bfloat16",
|
55 |
+
"transformers_version": "4.52.4",
|
56 |
+
"use_cache": true,
|
57 |
+
"use_cla": false,
|
58 |
+
"use_qk_norm": true,
|
59 |
+
"use_rotary_pos_emb": true,
|
60 |
+
"vocab_size": 128166
|
61 |
+
}
|