Updated compression_config to quantization_config
Browse files- config.json +27 -27
config.json
CHANGED
@@ -7,7 +7,32 @@
|
|
7 |
"attention_dropout": 0.1,
|
8 |
"attention_softmax_in_fp32": true,
|
9 |
"bos_token_id": 0,
|
10 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"config_groups": {
|
12 |
"group_0": {
|
13 |
"input_activations": {
|
@@ -46,30 +71,5 @@
|
|
46 |
"kv_cache_scheme": null,
|
47 |
"quant_method": "compressed-tensors",
|
48 |
"quantization_status": "frozen"
|
49 |
-
}
|
50 |
-
"embedding_dropout": 0.1,
|
51 |
-
"eos_token_id": 0,
|
52 |
-
"hidden_act": "gelu_pytorch_tanh",
|
53 |
-
"hidden_size": 4608,
|
54 |
-
"initializer_range": 0.018042,
|
55 |
-
"intermediate_size": 18432,
|
56 |
-
"layer_norm_epsilon": 1e-05,
|
57 |
-
"max_position_embeddings": 16384,
|
58 |
-
"mlp_type": "default",
|
59 |
-
"model_type": "starcoder2",
|
60 |
-
"norm_epsilon": 1e-05,
|
61 |
-
"norm_type": "layer_norm",
|
62 |
-
"num_attention_heads": 36,
|
63 |
-
"num_hidden_layers": 32,
|
64 |
-
"num_key_value_heads": 4,
|
65 |
-
"residual_dropout": 0.1,
|
66 |
-
"rope_theta": 1000000,
|
67 |
-
"scale_attention_softmax_in_fp32": true,
|
68 |
-
"scale_attn_weights": true,
|
69 |
-
"sliding_window": 4096,
|
70 |
-
"torch_dtype": "float16",
|
71 |
-
"transformers_version": "4.44.0.dev0",
|
72 |
-
"use_bias": true,
|
73 |
-
"use_cache": true,
|
74 |
-
"vocab_size": 49152
|
75 |
}
|
|
|
7 |
"attention_dropout": 0.1,
|
8 |
"attention_softmax_in_fp32": true,
|
9 |
"bos_token_id": 0,
|
10 |
+
"embedding_dropout": 0.1,
|
11 |
+
"eos_token_id": 0,
|
12 |
+
"hidden_act": "gelu_pytorch_tanh",
|
13 |
+
"hidden_size": 4608,
|
14 |
+
"initializer_range": 0.018042,
|
15 |
+
"intermediate_size": 18432,
|
16 |
+
"layer_norm_epsilon": 1e-05,
|
17 |
+
"max_position_embeddings": 16384,
|
18 |
+
"mlp_type": "default",
|
19 |
+
"model_type": "starcoder2",
|
20 |
+
"norm_epsilon": 1e-05,
|
21 |
+
"norm_type": "layer_norm",
|
22 |
+
"num_attention_heads": 36,
|
23 |
+
"num_hidden_layers": 32,
|
24 |
+
"num_key_value_heads": 4,
|
25 |
+
"residual_dropout": 0.1,
|
26 |
+
"rope_theta": 1000000,
|
27 |
+
"scale_attention_softmax_in_fp32": true,
|
28 |
+
"scale_attn_weights": true,
|
29 |
+
"sliding_window": 4096,
|
30 |
+
"torch_dtype": "float16",
|
31 |
+
"transformers_version": "4.44.0.dev0",
|
32 |
+
"use_bias": true,
|
33 |
+
"use_cache": true,
|
34 |
+
"vocab_size": 49152,
|
35 |
+
"quantization_config": {
|
36 |
"config_groups": {
|
37 |
"group_0": {
|
38 |
"input_activations": {
|
|
|
71 |
"kv_cache_scheme": null,
|
72 |
"quant_method": "compressed-tensors",
|
73 |
"quantization_status": "frozen"
|
74 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
}
|