File size: 8,800 Bytes
13be8a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
{
    "architectures": [
        "AfmoeForCausalLM"
    ],
    "attention_bias": false,
    "attention_dropout": 0.0,
    "auto_map": {
        "AutoConfig": "configuration_afmoe.AfmoeConfig",
        "AutoModel": "modeling_afmoe.AfmoeModel",
        "AutoModelForCausalLM": "modeling_afmoe.AfmoeForCausalLM"
    },
    "bos_token_id": null,
    "dtype": "bfloat16",
    "eos_token_id": null,
    "global_attn_every_n_layers": 4,
    "head_dim": 128,
    "hidden_act": "silu",
    "hidden_size": 3072,
    "initializer_range": 0.02,
    "intermediate_size": 12288,
    "layer_types": [
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "full_attention"
    ],
    "load_balance_coeff": 5e-05,
    "max_position_embeddings": 8192,
    "model_type": "afmoe",
    "moe_intermediate_size": 3072,
    "mup_enabled": true,
    "n_group": 1,
    "num_attention_heads": 48,
    "num_dense_layers": 6,
    "num_expert_groups": 1,
    "num_experts": 256,
    "num_experts_per_tok": 4,
    "num_hidden_layers": 60,
    "num_key_value_heads": 8,
    "num_limited_groups": 1,
    "num_shared_experts": 1,
    "pad_token_id": null,
    "rms_norm_eps": 1e-05,
    "rope_parameters": {
        "rope_theta": 10000.0,
        "rope_type": "default"
    },
    "rope_theta": 10000,
    "route_norm": true,
    "route_scale": 2.448,
    "score_func": "sigmoid",
    "sliding_window": 4096,
    "tie_word_embeddings": false,
    "topk_group": 1,
    "transformers_version": "5.1.0",
    "use_cache": true,
    "use_grouped_mm": true,
    "vocab_size": 200192,
    "quantization_config": {
        "config_groups": {
            "group_0": {
                "input_activations": {
                    "dynamic": false,
                    "num_bits": 4,
                    "type": "float",
                    "group_size": 16
                },
                "weights": {
                    "dynamic": false,
                    "num_bits": 4,
                    "type": "float",
                    "group_size": 16
                },
                "targets": [
                    "Linear"
                ]
            }
        },
        "ignore": [
            "lm_head",
            "model.layers.0.self_attn*",
            "model.layers.1.self_attn*",
            "model.layers.10.mlp.router*",
            "model.layers.10.self_attn*",
            "model.layers.11.mlp.router*",
            "model.layers.11.self_attn*",
            "model.layers.12.mlp.router*",
            "model.layers.12.self_attn*",
            "model.layers.13.mlp.router*",
            "model.layers.13.self_attn*",
            "model.layers.14.mlp.router*",
            "model.layers.14.self_attn*",
            "model.layers.15.mlp.router*",
            "model.layers.15.self_attn*",
            "model.layers.16.mlp.router*",
            "model.layers.16.self_attn*",
            "model.layers.17.mlp.router*",
            "model.layers.17.self_attn*",
            "model.layers.18.mlp.router*",
            "model.layers.18.self_attn*",
            "model.layers.19.mlp.router*",
            "model.layers.19.self_attn*",
            "model.layers.2.self_attn*",
            "model.layers.20.mlp.router*",
            "model.layers.20.self_attn*",
            "model.layers.21.mlp.router*",
            "model.layers.21.self_attn*",
            "model.layers.22.mlp.router*",
            "model.layers.22.self_attn*",
            "model.layers.23.mlp.router*",
            "model.layers.23.self_attn*",
            "model.layers.24.mlp.router*",
            "model.layers.24.self_attn*",
            "model.layers.25.mlp.router*",
            "model.layers.25.self_attn*",
            "model.layers.26.mlp.router*",
            "model.layers.26.self_attn*",
            "model.layers.27.mlp.router*",
            "model.layers.27.self_attn*",
            "model.layers.28.mlp.router*",
            "model.layers.28.self_attn*",
            "model.layers.29.mlp.router*",
            "model.layers.29.self_attn*",
            "model.layers.3.self_attn*",
            "model.layers.30.mlp.router*",
            "model.layers.30.self_attn*",
            "model.layers.31.mlp.router*",
            "model.layers.31.self_attn*",
            "model.layers.32.mlp.router*",
            "model.layers.32.self_attn*",
            "model.layers.33.mlp.router*",
            "model.layers.33.self_attn*",
            "model.layers.34.mlp.router*",
            "model.layers.34.self_attn*",
            "model.layers.35.mlp.router*",
            "model.layers.35.self_attn*",
            "model.layers.36.mlp.router*",
            "model.layers.36.self_attn*",
            "model.layers.37.mlp.router*",
            "model.layers.37.self_attn*",
            "model.layers.38.mlp.router*",
            "model.layers.38.self_attn*",
            "model.layers.39.mlp.router*",
            "model.layers.39.self_attn*",
            "model.layers.4.self_attn*",
            "model.layers.40.mlp.router*",
            "model.layers.40.self_attn*",
            "model.layers.41.mlp.router*",
            "model.layers.41.self_attn*",
            "model.layers.42.mlp.router*",
            "model.layers.42.self_attn*",
            "model.layers.43.mlp.router*",
            "model.layers.43.self_attn*",
            "model.layers.44.mlp.router*",
            "model.layers.44.self_attn*",
            "model.layers.45.mlp.router*",
            "model.layers.45.self_attn*",
            "model.layers.46.mlp.router*",
            "model.layers.46.self_attn*",
            "model.layers.47.mlp.router*",
            "model.layers.47.self_attn*",
            "model.layers.48.mlp.router*",
            "model.layers.48.self_attn*",
            "model.layers.49.mlp.router*",
            "model.layers.49.self_attn*",
            "model.layers.5.self_attn*",
            "model.layers.50.mlp.router*",
            "model.layers.50.self_attn*",
            "model.layers.51.mlp.router*",
            "model.layers.51.self_attn*",
            "model.layers.52.mlp.router*",
            "model.layers.52.self_attn*",
            "model.layers.53.mlp.router*",
            "model.layers.53.self_attn*",
            "model.layers.54.mlp.router*",
            "model.layers.54.self_attn*",
            "model.layers.55.mlp.router*",
            "model.layers.55.self_attn*",
            "model.layers.56.mlp.router*",
            "model.layers.56.self_attn*",
            "model.layers.57.mlp.router*",
            "model.layers.57.self_attn*",
            "model.layers.58.mlp.router*",
            "model.layers.58.self_attn*",
            "model.layers.59.mlp.router*",
            "model.layers.59.self_attn*",
            "model.layers.6.mlp.router*",
            "model.layers.6.self_attn*",
            "model.layers.7.mlp.router*",
            "model.layers.7.self_attn*",
            "model.layers.8.mlp.router*",
            "model.layers.8.self_attn*",
            "model.layers.9.mlp.router*",
            "model.layers.9.self_attn*"
        ],
        "quant_algo": "NVFP4",
        "producer": {
            "name": "modelopt",
            "version": "0.41.0"
        },
        "quant_method": "modelopt"
    }
}