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": null,
|
@@ -40,25 +60,5 @@
|
|
40 |
"registry_requires_subclass": false,
|
41 |
"sparsity_structure": "unstructured"
|
42 |
}
|
43 |
-
}
|
44 |
-
"eos_token_id": 151645,
|
45 |
-
"hidden_act": "silu",
|
46 |
-
"hidden_size": 1536,
|
47 |
-
"initializer_range": 0.02,
|
48 |
-
"intermediate_size": 8960,
|
49 |
-
"max_position_embeddings": 32768,
|
50 |
-
"max_window_layers": 28,
|
51 |
-
"model_type": "qwen2",
|
52 |
-
"num_attention_heads": 12,
|
53 |
-
"num_hidden_layers": 28,
|
54 |
-
"num_key_value_heads": 2,
|
55 |
-
"rms_norm_eps": 1e-06,
|
56 |
-
"rope_theta": 1000000.0,
|
57 |
-
"sliding_window": 32768,
|
58 |
-
"tie_word_embeddings": true,
|
59 |
-
"torch_dtype": "bfloat16",
|
60 |
-
"transformers_version": "4.42.3",
|
61 |
-
"use_cache": true,
|
62 |
-
"use_sliding_window": false,
|
63 |
-
"vocab_size": 151936
|
64 |
}
|
|
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 1536,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 8960,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 28,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 28,
|
18 |
+
"num_key_value_heads": 2,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_theta": 1000000.0,
|
21 |
+
"sliding_window": 32768,
|
22 |
+
"tie_word_embeddings": true,
|
23 |
+
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.42.3",
|
25 |
+
"use_cache": true,
|
26 |
+
"use_sliding_window": false,
|
27 |
+
"vocab_size": 151936,
|
28 |
+
"quantization_config": {
|
29 |
"config_groups": {
|
30 |
"group_0": {
|
31 |
"input_activations": null,
|
|
|
60 |
"registry_requires_subclass": false,
|
61 |
"sparsity_structure": "unstructured"
|
62 |
}
|
63 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|