Updated compression_config to quantization_config
Browse files- config.json +24 -24
config.json
CHANGED
@@ -5,7 +5,29 @@
|
|
5 |
],
|
6 |
"attention_dropout": 0.1,
|
7 |
"bos_token_id": 0,
|
8 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
"config_groups": {
|
10 |
"group_0": {
|
11 |
"input_activations": {
|
@@ -50,27 +72,5 @@
|
|
50 |
"registry_requires_subclass": false,
|
51 |
"sparsity_structure": "unstructured"
|
52 |
}
|
53 |
-
}
|
54 |
-
"embedding_dropout": 0.1,
|
55 |
-
"eos_token_id": 0,
|
56 |
-
"hidden_act": "gelu_pytorch_tanh",
|
57 |
-
"hidden_size": 3072,
|
58 |
-
"initializer_range": 0.018042,
|
59 |
-
"intermediate_size": 12288,
|
60 |
-
"max_position_embeddings": 16384,
|
61 |
-
"mlp_type": "default",
|
62 |
-
"model_type": "starcoder2",
|
63 |
-
"norm_epsilon": 1e-05,
|
64 |
-
"norm_type": "layer_norm",
|
65 |
-
"num_attention_heads": 24,
|
66 |
-
"num_hidden_layers": 30,
|
67 |
-
"num_key_value_heads": 2,
|
68 |
-
"residual_dropout": 0.1,
|
69 |
-
"rope_theta": 999999.4420358813,
|
70 |
-
"sliding_window": 4096,
|
71 |
-
"torch_dtype": "float32",
|
72 |
-
"transformers_version": "4.43.3",
|
73 |
-
"use_bias": true,
|
74 |
-
"use_cache": true,
|
75 |
-
"vocab_size": 49152
|
76 |
}
|
|
|
5 |
],
|
6 |
"attention_dropout": 0.1,
|
7 |
"bos_token_id": 0,
|
8 |
+
"embedding_dropout": 0.1,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"hidden_act": "gelu_pytorch_tanh",
|
11 |
+
"hidden_size": 3072,
|
12 |
+
"initializer_range": 0.018042,
|
13 |
+
"intermediate_size": 12288,
|
14 |
+
"max_position_embeddings": 16384,
|
15 |
+
"mlp_type": "default",
|
16 |
+
"model_type": "starcoder2",
|
17 |
+
"norm_epsilon": 1e-05,
|
18 |
+
"norm_type": "layer_norm",
|
19 |
+
"num_attention_heads": 24,
|
20 |
+
"num_hidden_layers": 30,
|
21 |
+
"num_key_value_heads": 2,
|
22 |
+
"residual_dropout": 0.1,
|
23 |
+
"rope_theta": 999999.4420358813,
|
24 |
+
"sliding_window": 4096,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.43.3",
|
27 |
+
"use_bias": true,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 49152,
|
30 |
+
"quantization_config": {
|
31 |
"config_groups": {
|
32 |
"group_0": {
|
33 |
"input_activations": {
|
|
|
72 |
"registry_requires_subclass": false,
|
73 |
"sparsity_structure": "unstructured"
|
74 |
}
|
75 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|