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": null,
|
@@ -42,30 +67,5 @@
|
|
42 |
"registry_requires_subclass": false,
|
43 |
"sparsity_structure": "unstructured"
|
44 |
}
|
45 |
-
}
|
46 |
-
"embedding_dropout": 0.1,
|
47 |
-
"eos_token_id": 0,
|
48 |
-
"hidden_act": "gelu_pytorch_tanh",
|
49 |
-
"hidden_size": 4608,
|
50 |
-
"initializer_range": 0.018042,
|
51 |
-
"intermediate_size": 18432,
|
52 |
-
"layer_norm_epsilon": 1e-05,
|
53 |
-
"max_position_embeddings": 16384,
|
54 |
-
"mlp_type": "default",
|
55 |
-
"model_type": "starcoder2",
|
56 |
-
"norm_epsilon": 1e-05,
|
57 |
-
"norm_type": "layer_norm",
|
58 |
-
"num_attention_heads": 36,
|
59 |
-
"num_hidden_layers": 32,
|
60 |
-
"num_key_value_heads": 4,
|
61 |
-
"residual_dropout": 0.1,
|
62 |
-
"rope_theta": 1000000,
|
63 |
-
"scale_attention_softmax_in_fp32": true,
|
64 |
-
"scale_attn_weights": true,
|
65 |
-
"sliding_window": 4096,
|
66 |
-
"torch_dtype": "bfloat16",
|
67 |
-
"transformers_version": "4.43.3",
|
68 |
-
"use_bias": true,
|
69 |
-
"use_cache": true,
|
70 |
-
"vocab_size": 49152
|
71 |
}
|
|
|
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": "bfloat16",
|
31 |
+
"transformers_version": "4.43.3",
|
32 |
+
"use_bias": true,
|
33 |
+
"use_cache": true,
|
34 |
+
"vocab_size": 49152,
|
35 |
+
"quantization_config": {
|
36 |
"config_groups": {
|
37 |
"group_0": {
|
38 |
"input_activations": null,
|
|
|
67 |
"registry_requires_subclass": false,
|
68 |
"sparsity_structure": "unstructured"
|
69 |
}
|
70 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|