manaestras commited on
Commit
a63831e
·
verified ·
1 Parent(s): 4b80871

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +91 -0
config.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 3072,
14
+ 0
15
+ ],
16
+ "eod_token_id": 120026,
17
+ "eos_token_id": 120020,
18
+ "head_dim": 128,
19
+ "hidden_act": "silu",
20
+ "hidden_size": 3072,
21
+ "im_end_id": 5,
22
+ "im_newline_id": 11,
23
+ "im_start_id": 4,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 8192,
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": 36,
33
+ "num_key_value_heads": 8,
34
+ "org_vocab_size": 120818,
35
+ "pad_id": 120002,
36
+ "pad_token_id": 120002,
37
+ "pool_type": "last",
38
+ "pretraining_tp": 1,
39
+ "quantization_config": {
40
+ "config_groups": {
41
+ "group_0": {
42
+ "input_activations": {
43
+ "dynamic": false,
44
+ "num_bits": 8,
45
+ "strategy": "tensor",
46
+ "type": "float"
47
+ },
48
+ "output_activations": null,
49
+ "targets": [
50
+ "Linear"
51
+ ],
52
+ "weights": {
53
+ "dynamic": false,
54
+ "num_bits": 8,
55
+ "strategy": "tensor",
56
+ "type": "float"
57
+ }
58
+ }
59
+ },
60
+ "format": "naive-quantized",
61
+ "ignored_layers": [
62
+ "lm_head",
63
+ "model.embed_tokens"
64
+ ],
65
+ "kv_cache_scheme": null,
66
+ "quant_method": "compressed-tensors",
67
+ "quantization_status": "compressed"
68
+ },
69
+ "rms_norm_eps": 1e-05,
70
+ "rope_scaling": {
71
+ "alpha": 1000.0,
72
+ "beta_fast": 32,
73
+ "beta_slow": 1,
74
+ "factor": 1.0,
75
+ "mscale": 1.0,
76
+ "mscale_all_dim": 1.0,
77
+ "type": "dynamic"
78
+ },
79
+ "rope_theta": 10000.0,
80
+ "sep_token_id": 120007,
81
+ "text_end_id": 7,
82
+ "text_start_id": 6,
83
+ "tie_word_embeddings": true,
84
+ "torch_dtype": "bfloat16",
85
+ "transformers_version": "4.52.4",
86
+ "use_cache": false,
87
+ "use_cla": false,
88
+ "use_qk_norm": true,
89
+ "use_rotary_pos_emb": true,
90
+ "vocab_size": 120818
91
+ }