Update config.json
Browse filesAlign `config.json` to avoid further confusion.
- config.json +17 -18
config.json
CHANGED
|
@@ -4,15 +4,16 @@
|
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
|
|
|
| 7 |
"decoder_sparse_step": 1,
|
| 8 |
"eos_token_id": 151645,
|
| 9 |
"head_dim": 128,
|
| 10 |
"hidden_act": "silu",
|
| 11 |
"hidden_size": 2048,
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
-
"intermediate_size":
|
| 14 |
"max_position_embeddings": 262144,
|
| 15 |
-
"max_window_layers":
|
| 16 |
"mlp_only_layers": [],
|
| 17 |
"model_type": "qwen3_moe",
|
| 18 |
"moe_intermediate_size": 768,
|
|
@@ -23,7 +24,17 @@
|
|
| 23 |
"num_hidden_layers": 48,
|
| 24 |
"num_key_value_heads": 4,
|
| 25 |
"output_router_logits": false,
|
| 26 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"quantization_config": {
|
| 28 |
"activation_scheme": "dynamic",
|
| 29 |
"modules_to_not_convert": [
|
|
@@ -173,23 +184,11 @@
|
|
| 173 |
"model.layers.47.mlp.gate",
|
| 174 |
"model.layers.47.post_attention_layernorm"
|
| 175 |
],
|
|
|
|
| 176 |
"quant_method": "fp8",
|
| 177 |
"weight_block_size": [
|
| 178 |
128,
|
| 179 |
128
|
| 180 |
]
|
| 181 |
-
}
|
| 182 |
-
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"rope_theta": 10000000,
|
| 185 |
-
"router_aux_loss_coef": 0.0,
|
| 186 |
-
"shared_expert_intermediate_size": 0,
|
| 187 |
-
"sliding_window": null,
|
| 188 |
-
"tie_word_embeddings": false,
|
| 189 |
-
"torch_dtype": "bfloat16",
|
| 190 |
-
"transformers_version": "4.51.3",
|
| 191 |
-
"use_cache": true,
|
| 192 |
-
"use_qk_norm": true,
|
| 193 |
-
"use_sliding_window": false,
|
| 194 |
-
"vocab_size": 151936
|
| 195 |
-
}
|
|
|
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
"decoder_sparse_step": 1,
|
| 9 |
"eos_token_id": 151645,
|
| 10 |
"head_dim": 128,
|
| 11 |
"hidden_act": "silu",
|
| 12 |
"hidden_size": 2048,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 6144,
|
| 15 |
"max_position_embeddings": 262144,
|
| 16 |
+
"max_window_layers": 48,
|
| 17 |
"mlp_only_layers": [],
|
| 18 |
"model_type": "qwen3_moe",
|
| 19 |
"moe_intermediate_size": 768,
|
|
|
|
| 24 |
"num_hidden_layers": 48,
|
| 25 |
"num_key_value_heads": 4,
|
| 26 |
"output_router_logits": false,
|
| 27 |
+
"rms_norm_eps": 1e-06,
|
| 28 |
+
"rope_scaling": null,
|
| 29 |
+
"rope_theta": 10000000,
|
| 30 |
+
"router_aux_loss_coef": 0.001,
|
| 31 |
+
"sliding_window": null,
|
| 32 |
+
"tie_word_embeddings": false,
|
| 33 |
+
"torch_dtype": "bfloat16",
|
| 34 |
+
"transformers_version": "4.52.3",
|
| 35 |
+
"use_cache": true,
|
| 36 |
+
"use_sliding_window": false,
|
| 37 |
+
"vocab_size": 151936,
|
| 38 |
"quantization_config": {
|
| 39 |
"activation_scheme": "dynamic",
|
| 40 |
"modules_to_not_convert": [
|
|
|
|
| 184 |
"model.layers.47.mlp.gate",
|
| 185 |
"model.layers.47.post_attention_layernorm"
|
| 186 |
],
|
| 187 |
+
"fmt": "e4m3",
|
| 188 |
"quant_method": "fp8",
|
| 189 |
"weight_block_size": [
|
| 190 |
128,
|
| 191 |
128
|
| 192 |
]
|
| 193 |
+
}
|
| 194 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|