Updated compression_config to quantization_config
Browse files- config.json +22 -22
config.json
CHANGED
@@ -6,7 +6,27 @@
|
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"config_groups": {
|
11 |
"group_0": {
|
12 |
"input_activations": {
|
@@ -60,25 +80,5 @@
|
|
60 |
"registry_requires_subclass": false,
|
61 |
"sparsity_structure": "unstructured"
|
62 |
}
|
63 |
-
}
|
64 |
-
"eos_token_id": 2,
|
65 |
-
"hidden_act": "silu",
|
66 |
-
"hidden_size": 8192,
|
67 |
-
"initializer_range": 0.02,
|
68 |
-
"intermediate_size": 28672,
|
69 |
-
"max_position_embeddings": 4096,
|
70 |
-
"mlp_bias": false,
|
71 |
-
"model_type": "llama",
|
72 |
-
"num_attention_heads": 64,
|
73 |
-
"num_hidden_layers": 80,
|
74 |
-
"num_key_value_heads": 8,
|
75 |
-
"pretraining_tp": 1,
|
76 |
-
"rms_norm_eps": 1e-05,
|
77 |
-
"rope_scaling": null,
|
78 |
-
"rope_theta": 10000.0,
|
79 |
-
"tie_word_embeddings": false,
|
80 |
-
"torch_dtype": "float16",
|
81 |
-
"transformers_version": "4.41.2",
|
82 |
-
"use_cache": true,
|
83 |
-
"vocab_size": 32000
|
84 |
}
|
|
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 8192,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 28672,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 64,
|
18 |
+
"num_hidden_layers": 80,
|
19 |
+
"num_key_value_heads": 8,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"rms_norm_eps": 1e-05,
|
22 |
+
"rope_scaling": null,
|
23 |
+
"rope_theta": 10000.0,
|
24 |
+
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "float16",
|
26 |
+
"transformers_version": "4.41.2",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 32000,
|
29 |
+
"quantization_config": {
|
30 |
"config_groups": {
|
31 |
"group_0": {
|
32 |
"input_activations": {
|
|
|
80 |
"registry_requires_subclass": false,
|
81 |
"sparsity_structure": "unstructured"
|
82 |
}
|
83 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
}
|