Updated compression_config to quantization_config
Browse files- config.json +21 -21
config.json
CHANGED
@@ -6,7 +6,26 @@
|
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"config_groups": {
|
11 |
"group_0": {
|
12 |
"input_activations": {
|
@@ -50,24 +69,5 @@
|
|
50 |
"registry_requires_subclass": false,
|
51 |
"sparsity_structure": "unstructured"
|
52 |
}
|
53 |
-
}
|
54 |
-
"eos_token_id": 2,
|
55 |
-
"hidden_act": "silu",
|
56 |
-
"hidden_size": 2048,
|
57 |
-
"initializer_range": 0.02,
|
58 |
-
"intermediate_size": 5632,
|
59 |
-
"max_position_embeddings": 2048,
|
60 |
-
"model_type": "llama",
|
61 |
-
"num_attention_heads": 32,
|
62 |
-
"num_hidden_layers": 22,
|
63 |
-
"num_key_value_heads": 4,
|
64 |
-
"pretraining_tp": 1,
|
65 |
-
"rms_norm_eps": 1e-05,
|
66 |
-
"rope_scaling": null,
|
67 |
-
"rope_theta": 10000.0,
|
68 |
-
"tie_word_embeddings": false,
|
69 |
-
"torch_dtype": "bfloat16",
|
70 |
-
"transformers_version": "4.40.2",
|
71 |
-
"use_cache": true,
|
72 |
-
"vocab_size": 32000
|
73 |
}
|
|
|
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": 2048,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 5632,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 22,
|
18 |
+
"num_key_value_heads": 4,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-05,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 10000.0,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.40.2",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 32000,
|
28 |
+
"quantization_config": {
|
29 |
"config_groups": {
|
30 |
"group_0": {
|
31 |
"input_activations": {
|
|
|
69 |
"registry_requires_subclass": false,
|
70 |
"sparsity_structure": "unstructured"
|
71 |
}
|
72 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
}
|