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": 1,
|
9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"config_groups": {
|
11 |
"group_0": {
|
12 |
"input_activations": null,
|
@@ -42,25 +62,5 @@
|
|
42 |
"registry_requires_subclass": false,
|
43 |
"sparsity_structure": "unstructured"
|
44 |
}
|
45 |
-
}
|
46 |
-
"eos_token_id": 2,
|
47 |
-
"hidden_act": "silu",
|
48 |
-
"hidden_size": 2048,
|
49 |
-
"initializer_range": 0.02,
|
50 |
-
"intermediate_size": 5632,
|
51 |
-
"max_position_embeddings": 2048,
|
52 |
-
"mlp_bias": false,
|
53 |
-
"model_type": "llama",
|
54 |
-
"num_attention_heads": 32,
|
55 |
-
"num_hidden_layers": 22,
|
56 |
-
"num_key_value_heads": 4,
|
57 |
-
"pretraining_tp": 1,
|
58 |
-
"rms_norm_eps": 1e-05,
|
59 |
-
"rope_scaling": null,
|
60 |
-
"rope_theta": 10000.0,
|
61 |
-
"tie_word_embeddings": false,
|
62 |
-
"torch_dtype": "bfloat16",
|
63 |
-
"transformers_version": "4.44.2",
|
64 |
-
"use_cache": true,
|
65 |
-
"vocab_size": 32000
|
66 |
}
|
|
|
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 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 22,
|
19 |
+
"num_key_value_heads": 4,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"rms_norm_eps": 1e-05,
|
22 |
+
"rope_scaling": null,
|
23 |
+
"rope_theta": 10000.0,
|
24 |
+
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "bfloat16",
|
26 |
+
"transformers_version": "4.44.2",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 32000,
|
29 |
+
"quantization_config": {
|
30 |
"config_groups": {
|
31 |
"group_0": {
|
32 |
"input_activations": null,
|
|
|
62 |
"registry_requires_subclass": false,
|
63 |
"sparsity_structure": "unstructured"
|
64 |
}
|
65 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|