Updated compression_config to quantization_config
Browse files- config.json +22 -22
config.json
CHANGED
|
@@ -5,7 +5,27 @@
|
|
| 5 |
],
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
"bos_token_id": 151643,
|
| 8 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"config_groups": {
|
| 10 |
"group_0": {
|
| 11 |
"input_activations": {
|
|
@@ -50,25 +70,5 @@
|
|
| 50 |
"registry_requires_subclass": false,
|
| 51 |
"sparsity_structure": "unstructured"
|
| 52 |
}
|
| 53 |
-
}
|
| 54 |
-
"eos_token_id": 151645,
|
| 55 |
-
"hidden_act": "silu",
|
| 56 |
-
"hidden_size": 8192,
|
| 57 |
-
"initializer_range": 0.02,
|
| 58 |
-
"intermediate_size": 29568,
|
| 59 |
-
"max_position_embeddings": 32768,
|
| 60 |
-
"max_window_layers": 80,
|
| 61 |
-
"model_type": "qwen2",
|
| 62 |
-
"num_attention_heads": 64,
|
| 63 |
-
"num_hidden_layers": 80,
|
| 64 |
-
"num_key_value_heads": 8,
|
| 65 |
-
"rms_norm_eps": 1e-06,
|
| 66 |
-
"rope_theta": 1000000.0,
|
| 67 |
-
"sliding_window": 131072,
|
| 68 |
-
"tie_word_embeddings": false,
|
| 69 |
-
"torch_dtype": "bfloat16",
|
| 70 |
-
"transformers_version": "4.42.3",
|
| 71 |
-
"use_cache": true,
|
| 72 |
-
"use_sliding_window": false,
|
| 73 |
-
"vocab_size": 152064
|
| 74 |
}
|
|
|
|
| 5 |
],
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
"bos_token_id": 151643,
|
| 8 |
+
"eos_token_id": 151645,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 8192,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 29568,
|
| 13 |
+
"max_position_embeddings": 32768,
|
| 14 |
+
"max_window_layers": 80,
|
| 15 |
+
"model_type": "qwen2",
|
| 16 |
+
"num_attention_heads": 64,
|
| 17 |
+
"num_hidden_layers": 80,
|
| 18 |
+
"num_key_value_heads": 8,
|
| 19 |
+
"rms_norm_eps": 1e-06,
|
| 20 |
+
"rope_theta": 1000000.0,
|
| 21 |
+
"sliding_window": 131072,
|
| 22 |
+
"tie_word_embeddings": false,
|
| 23 |
+
"torch_dtype": "bfloat16",
|
| 24 |
+
"transformers_version": "4.42.3",
|
| 25 |
+
"use_cache": true,
|
| 26 |
+
"use_sliding_window": false,
|
| 27 |
+
"vocab_size": 152064,
|
| 28 |
+
"quantization_config": {
|
| 29 |
"config_groups": {
|
| 30 |
"group_0": {
|
| 31 |
"input_activations": {
|
|
|
|
| 70 |
"registry_requires_subclass": false,
|
| 71 |
"sparsity_structure": "unstructured"
|
| 72 |
}
|
| 73 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
}
|