Update config.json
Browse files- config.json +72 -72
config.json
CHANGED
@@ -1,73 +1,73 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
}
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"SewyV2ForCausalLM"
|
4 |
+
],
|
5 |
+
"auto_map": {
|
6 |
+
"AutoConfig": "modular_Sewy2.Sewy2Config",
|
7 |
+
"AutoModel": "modular_Sewy2.Sewy2Model",
|
8 |
+
"AutoModelForCausalLM": "modular_Sewy2.Sewy2ForCausalLM"
|
9 |
+
},
|
10 |
+
"attention_bias": false,
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"aux_loss_alpha": 0.001,
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"ep_size": 1,
|
16 |
+
"first_k_dense_replace": 3,
|
17 |
+
"hidden_act": "relu2",
|
18 |
+
"hidden_size": 400,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 1200,
|
21 |
+
"kv_lora_rank": 128,
|
22 |
+
"max_position_embeddings": 163840,
|
23 |
+
"model_type": "Sewy_v2",
|
24 |
+
"moe_intermediate_size": 200,
|
25 |
+
"moe_layer_freq": 1,
|
26 |
+
"n_group": 8,
|
27 |
+
"n_routed_experts": 64,
|
28 |
+
"n_shared_experts": 1,
|
29 |
+
"neutreno_lambda": 0.4,
|
30 |
+
"norm_topk_prob": true,
|
31 |
+
"num_attention_heads": 32,
|
32 |
+
"num_experts_per_tok": 8,
|
33 |
+
"num_hidden_layers": 32,
|
34 |
+
"num_key_value_heads": 32,
|
35 |
+
"num_nextn_predict_layers": 1,
|
36 |
+
"pretraining_tp": 1,
|
37 |
+
"q_lora_rank": 256,
|
38 |
+
"qk_nope_head_dim": 128,
|
39 |
+
"qk_rope_head_dim": 64,
|
40 |
+
"quantization_config": {
|
41 |
+
"activation_scheme": "dynamic",
|
42 |
+
"fmt": "e4m3",
|
43 |
+
"quant_method": "fp8",
|
44 |
+
"weight_block_size": [
|
45 |
+
128,
|
46 |
+
128
|
47 |
+
]
|
48 |
+
},
|
49 |
+
"resformer_lambda": 2.0,
|
50 |
+
"rms_norm_eps": 1e-06,
|
51 |
+
"rope_scaling": {
|
52 |
+
"beta_fast": 32,
|
53 |
+
"beta_slow": 1,
|
54 |
+
"factor": 40,
|
55 |
+
"mscale": 1.0,
|
56 |
+
"mscale_all_dim": 1.0,
|
57 |
+
"original_max_position_embeddings": 4096,
|
58 |
+
"type": "yarn"
|
59 |
+
},
|
60 |
+
"rope_theta": 10000,
|
61 |
+
"routed_scaling_factor": 2.5,
|
62 |
+
"scoring_func": "sigmoid",
|
63 |
+
"seq_aux": true,
|
64 |
+
"tie_word_embeddings": false,
|
65 |
+
"topk_group": 4,
|
66 |
+
"topk_method": "noaux_tc",
|
67 |
+
"torch_dtype": "float32",
|
68 |
+
"transformers_version": "4.44.2",
|
69 |
+
"unit_norm_eps": 1e-06,
|
70 |
+
"use_cache": true,
|
71 |
+
"v_head_dim": 128,
|
72 |
+
"vocab_size": 49152
|
73 |
+
}
|