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": 128000,
|
| 9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"config_groups": {
|
| 11 |
"group_0": {
|
| 12 |
"input_activations": {
|
|
@@ -51,25 +71,5 @@
|
|
| 51 |
"registry_requires_subclass": false,
|
| 52 |
"sparsity_structure": "unstructured"
|
| 53 |
}
|
| 54 |
-
}
|
| 55 |
-
"eos_token_id": 128009,
|
| 56 |
-
"hidden_act": "silu",
|
| 57 |
-
"hidden_size": 8192,
|
| 58 |
-
"initializer_range": 0.02,
|
| 59 |
-
"intermediate_size": 28672,
|
| 60 |
-
"max_position_embeddings": 8192,
|
| 61 |
-
"mlp_bias": false,
|
| 62 |
-
"model_type": "llama",
|
| 63 |
-
"num_attention_heads": 64,
|
| 64 |
-
"num_hidden_layers": 80,
|
| 65 |
-
"num_key_value_heads": 8,
|
| 66 |
-
"pretraining_tp": 1,
|
| 67 |
-
"rms_norm_eps": 1e-05,
|
| 68 |
-
"rope_scaling": null,
|
| 69 |
-
"rope_theta": 500000.0,
|
| 70 |
-
"tie_word_embeddings": false,
|
| 71 |
-
"torch_dtype": "bfloat16",
|
| 72 |
-
"transformers_version": "4.42.3",
|
| 73 |
-
"use_cache": true,
|
| 74 |
-
"vocab_size": 128256
|
| 75 |
}
|
|
|
|
| 6 |
"attention_bias": false,
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
"bos_token_id": 128000,
|
| 9 |
+
"eos_token_id": 128009,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 8192,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 28672,
|
| 14 |
+
"max_position_embeddings": 8192,
|
| 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": 500000.0,
|
| 24 |
+
"tie_word_embeddings": false,
|
| 25 |
+
"torch_dtype": "bfloat16",
|
| 26 |
+
"transformers_version": "4.42.3",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"vocab_size": 128256,
|
| 29 |
+
"quantization_config": {
|
| 30 |
"config_groups": {
|
| 31 |
"group_0": {
|
| 32 |
"input_activations": {
|
|
|
|
| 71 |
"registry_requires_subclass": false,
|
| 72 |
"sparsity_structure": "unstructured"
|
| 73 |
}
|
| 74 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}
|