Updated compression_config to quantization_config
Browse files- config.json +25 -25
config.json
CHANGED
@@ -5,7 +5,30 @@
|
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
8 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
"config_groups": {
|
10 |
"group_0": {
|
11 |
"input_activations": null,
|
@@ -72,28 +95,5 @@
|
|
72 |
"registry_requires_subclass": false,
|
73 |
"sparsity_structure": "unstructured"
|
74 |
}
|
75 |
-
}
|
76 |
-
"eos_token_id": 2,
|
77 |
-
"hidden_act": "silu",
|
78 |
-
"hidden_size": 4096,
|
79 |
-
"initializer_range": 0.02,
|
80 |
-
"intermediate_size": 14336,
|
81 |
-
"max_position_embeddings": 32768,
|
82 |
-
"model_type": "mixtral",
|
83 |
-
"num_attention_heads": 32,
|
84 |
-
"num_experts_per_tok": 2,
|
85 |
-
"num_hidden_layers": 32,
|
86 |
-
"num_key_value_heads": 8,
|
87 |
-
"num_local_experts": 8,
|
88 |
-
"output_router_logits": false,
|
89 |
-
"rms_norm_eps": 1e-05,
|
90 |
-
"rope_theta": 1000000.0,
|
91 |
-
"router_aux_loss_coef": 0.02,
|
92 |
-
"router_jitter_noise": 0.0,
|
93 |
-
"sliding_window": null,
|
94 |
-
"tie_word_embeddings": false,
|
95 |
-
"torch_dtype": "float16",
|
96 |
-
"transformers_version": "4.43.4",
|
97 |
-
"use_cache": true,
|
98 |
-
"vocab_size": 32000
|
99 |
}
|
|
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 14336,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"model_type": "mixtral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_experts_per_tok": 2,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"num_local_experts": 8,
|
20 |
+
"output_router_logits": false,
|
21 |
+
"rms_norm_eps": 1e-05,
|
22 |
+
"rope_theta": 1000000.0,
|
23 |
+
"router_aux_loss_coef": 0.02,
|
24 |
+
"router_jitter_noise": 0.0,
|
25 |
+
"sliding_window": null,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "float16",
|
28 |
+
"transformers_version": "4.43.4",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 32000,
|
31 |
+
"quantization_config": {
|
32 |
"config_groups": {
|
33 |
"group_0": {
|
34 |
"input_activations": null,
|
|
|
95 |
"registry_requires_subclass": false,
|
96 |
"sparsity_structure": "unstructured"
|
97 |
}
|
98 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
}
|