Updated compression_config to quantization_config
Browse files- config.json +27 -27
config.json
CHANGED
@@ -8,7 +8,32 @@
|
|
8 |
"attn_logit_softcapping": 50.0,
|
9 |
"bos_token_id": 2,
|
10 |
"cache_implementation": "hybrid",
|
11 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
"config_groups": {
|
13 |
"group_0": {
|
14 |
"input_activations": null,
|
@@ -43,30 +68,5 @@
|
|
43 |
"registry_requires_subclass": false,
|
44 |
"sparsity_structure": "unstructured"
|
45 |
}
|
46 |
-
}
|
47 |
-
"eos_token_id": [
|
48 |
-
1,
|
49 |
-
107
|
50 |
-
],
|
51 |
-
"final_logit_softcapping": 30.0,
|
52 |
-
"head_dim": 256,
|
53 |
-
"hidden_act": "gelu_pytorch_tanh",
|
54 |
-
"hidden_activation": "gelu_pytorch_tanh",
|
55 |
-
"hidden_size": 2304,
|
56 |
-
"initializer_range": 0.02,
|
57 |
-
"intermediate_size": 9216,
|
58 |
-
"max_position_embeddings": 8192,
|
59 |
-
"model_type": "gemma2",
|
60 |
-
"num_attention_heads": 8,
|
61 |
-
"num_hidden_layers": 26,
|
62 |
-
"num_key_value_heads": 4,
|
63 |
-
"pad_token_id": 0,
|
64 |
-
"query_pre_attn_scalar": 256,
|
65 |
-
"rms_norm_eps": 1e-06,
|
66 |
-
"rope_theta": 10000.0,
|
67 |
-
"sliding_window": 4096,
|
68 |
-
"torch_dtype": "bfloat16",
|
69 |
-
"transformers_version": "4.43.3",
|
70 |
-
"use_cache": true,
|
71 |
-
"vocab_size": 256000
|
72 |
}
|
|
|
8 |
"attn_logit_softcapping": 50.0,
|
9 |
"bos_token_id": 2,
|
10 |
"cache_implementation": "hybrid",
|
11 |
+
"eos_token_id": [
|
12 |
+
1,
|
13 |
+
107
|
14 |
+
],
|
15 |
+
"final_logit_softcapping": 30.0,
|
16 |
+
"head_dim": 256,
|
17 |
+
"hidden_act": "gelu_pytorch_tanh",
|
18 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 2304,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 9216,
|
22 |
+
"max_position_embeddings": 8192,
|
23 |
+
"model_type": "gemma2",
|
24 |
+
"num_attention_heads": 8,
|
25 |
+
"num_hidden_layers": 26,
|
26 |
+
"num_key_value_heads": 4,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"query_pre_attn_scalar": 256,
|
29 |
+
"rms_norm_eps": 1e-06,
|
30 |
+
"rope_theta": 10000.0,
|
31 |
+
"sliding_window": 4096,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.43.3",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 256000,
|
36 |
+
"quantization_config": {
|
37 |
"config_groups": {
|
38 |
"group_0": {
|
39 |
"input_activations": null,
|
|
|
68 |
"registry_requires_subclass": false,
|
69 |
"sparsity_structure": "unstructured"
|
70 |
}
|
71 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|