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