File size: 8,173 Bytes
d1e19c3
 
 
 
 
 
 
514e90b
d1e19c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
260
{
  "architectures": [
    "Qwen2MoeForCausalLM"
  ],
  "attention_dropout": 0.0,
  "bos_token_id": 151643,
  "eos_token_id": 151643,
  "decoder_sparse_step": 1,
  "hidden_act": "silu",
  "hidden_size": 2048,
  "initializer_range": 0.02,
  "intermediate_size": 5632,
  "max_position_embeddings": 32768,
  "max_window_layers": 21,
  "model_type": "qwen2_moe",
  "moe_intermediate_size": 1408,
  "norm_topk_prob": false,
  "num_attention_heads": 16,
  "num_experts": 60,
  "num_experts_per_tok": 4,
  "num_hidden_layers": 24,
  "num_key_value_heads": 16,
  "output_router_logits": false,
  "quantization_config": {
    "batch_size": 1,
    "bits": 4,
    "block_name_to_quantize": null,
    "cache_block_outputs": true,
    "damp_percent": 0.01,
    "dataset": null,
    "desc_act": false,
    "exllama_config": {
      "version": 1
    },
    "group_size": 128,
    "max_input_length": null,
    "model_seqlen": null,
    "module_name_preceding_first_block": null,
    "modules_in_block_to_quantize": [
      [
        "self_attn.k_proj",
        "self_attn.v_proj",
        "self_attn.q_proj"
      ],
      [
        "self_attn.o_proj"
      ],
      [
        "mlp.shared_expert.up_proj",
        "mlp.shared_expert.gate_proj"
      ],
      [
        "mlp.shared_expert.down_proj"
      ],
      [
        "mlp.experts.0.up_proj",
        "mlp.experts.1.up_proj",
        "mlp.experts.2.up_proj",
        "mlp.experts.3.up_proj",
        "mlp.experts.4.up_proj",
        "mlp.experts.5.up_proj",
        "mlp.experts.6.up_proj",
        "mlp.experts.7.up_proj",
        "mlp.experts.8.up_proj",
        "mlp.experts.9.up_proj",
        "mlp.experts.10.up_proj",
        "mlp.experts.11.up_proj",
        "mlp.experts.12.up_proj",
        "mlp.experts.13.up_proj",
        "mlp.experts.14.up_proj",
        "mlp.experts.15.up_proj",
        "mlp.experts.16.up_proj",
        "mlp.experts.17.up_proj",
        "mlp.experts.18.up_proj",
        "mlp.experts.19.up_proj",
        "mlp.experts.20.up_proj",
        "mlp.experts.21.up_proj",
        "mlp.experts.22.up_proj",
        "mlp.experts.23.up_proj",
        "mlp.experts.24.up_proj",
        "mlp.experts.25.up_proj",
        "mlp.experts.26.up_proj",
        "mlp.experts.27.up_proj",
        "mlp.experts.28.up_proj",
        "mlp.experts.29.up_proj",
        "mlp.experts.30.up_proj",
        "mlp.experts.31.up_proj",
        "mlp.experts.32.up_proj",
        "mlp.experts.33.up_proj",
        "mlp.experts.34.up_proj",
        "mlp.experts.35.up_proj",
        "mlp.experts.36.up_proj",
        "mlp.experts.37.up_proj",
        "mlp.experts.38.up_proj",
        "mlp.experts.39.up_proj",
        "mlp.experts.40.up_proj",
        "mlp.experts.41.up_proj",
        "mlp.experts.42.up_proj",
        "mlp.experts.43.up_proj",
        "mlp.experts.44.up_proj",
        "mlp.experts.45.up_proj",
        "mlp.experts.46.up_proj",
        "mlp.experts.47.up_proj",
        "mlp.experts.48.up_proj",
        "mlp.experts.49.up_proj",
        "mlp.experts.50.up_proj",
        "mlp.experts.51.up_proj",
        "mlp.experts.52.up_proj",
        "mlp.experts.53.up_proj",
        "mlp.experts.54.up_proj",
        "mlp.experts.55.up_proj",
        "mlp.experts.56.up_proj",
        "mlp.experts.57.up_proj",
        "mlp.experts.58.up_proj",
        "mlp.experts.59.up_proj",
        "mlp.experts.0.gate_proj",
        "mlp.experts.1.gate_proj",
        "mlp.experts.2.gate_proj",
        "mlp.experts.3.gate_proj",
        "mlp.experts.4.gate_proj",
        "mlp.experts.5.gate_proj",
        "mlp.experts.6.gate_proj",
        "mlp.experts.7.gate_proj",
        "mlp.experts.8.gate_proj",
        "mlp.experts.9.gate_proj",
        "mlp.experts.10.gate_proj",
        "mlp.experts.11.gate_proj",
        "mlp.experts.12.gate_proj",
        "mlp.experts.13.gate_proj",
        "mlp.experts.14.gate_proj",
        "mlp.experts.15.gate_proj",
        "mlp.experts.16.gate_proj",
        "mlp.experts.17.gate_proj",
        "mlp.experts.18.gate_proj",
        "mlp.experts.19.gate_proj",
        "mlp.experts.20.gate_proj",
        "mlp.experts.21.gate_proj",
        "mlp.experts.22.gate_proj",
        "mlp.experts.23.gate_proj",
        "mlp.experts.24.gate_proj",
        "mlp.experts.25.gate_proj",
        "mlp.experts.26.gate_proj",
        "mlp.experts.27.gate_proj",
        "mlp.experts.28.gate_proj",
        "mlp.experts.29.gate_proj",
        "mlp.experts.30.gate_proj",
        "mlp.experts.31.gate_proj",
        "mlp.experts.32.gate_proj",
        "mlp.experts.33.gate_proj",
        "mlp.experts.34.gate_proj",
        "mlp.experts.35.gate_proj",
        "mlp.experts.36.gate_proj",
        "mlp.experts.37.gate_proj",
        "mlp.experts.38.gate_proj",
        "mlp.experts.39.gate_proj",
        "mlp.experts.40.gate_proj",
        "mlp.experts.41.gate_proj",
        "mlp.experts.42.gate_proj",
        "mlp.experts.43.gate_proj",
        "mlp.experts.44.gate_proj",
        "mlp.experts.45.gate_proj",
        "mlp.experts.46.gate_proj",
        "mlp.experts.47.gate_proj",
        "mlp.experts.48.gate_proj",
        "mlp.experts.49.gate_proj",
        "mlp.experts.50.gate_proj",
        "mlp.experts.51.gate_proj",
        "mlp.experts.52.gate_proj",
        "mlp.experts.53.gate_proj",
        "mlp.experts.54.gate_proj",
        "mlp.experts.55.gate_proj",
        "mlp.experts.56.gate_proj",
        "mlp.experts.57.gate_proj",
        "mlp.experts.58.gate_proj",
        "mlp.experts.59.gate_proj"
      ],
      [
        "mlp.experts.0.down_proj",
        "mlp.experts.1.down_proj",
        "mlp.experts.2.down_proj",
        "mlp.experts.3.down_proj",
        "mlp.experts.4.down_proj",
        "mlp.experts.5.down_proj",
        "mlp.experts.6.down_proj",
        "mlp.experts.7.down_proj",
        "mlp.experts.8.down_proj",
        "mlp.experts.9.down_proj",
        "mlp.experts.10.down_proj",
        "mlp.experts.11.down_proj",
        "mlp.experts.12.down_proj",
        "mlp.experts.13.down_proj",
        "mlp.experts.14.down_proj",
        "mlp.experts.15.down_proj",
        "mlp.experts.16.down_proj",
        "mlp.experts.17.down_proj",
        "mlp.experts.18.down_proj",
        "mlp.experts.19.down_proj",
        "mlp.experts.20.down_proj",
        "mlp.experts.21.down_proj",
        "mlp.experts.22.down_proj",
        "mlp.experts.23.down_proj",
        "mlp.experts.24.down_proj",
        "mlp.experts.25.down_proj",
        "mlp.experts.26.down_proj",
        "mlp.experts.27.down_proj",
        "mlp.experts.28.down_proj",
        "mlp.experts.29.down_proj",
        "mlp.experts.30.down_proj",
        "mlp.experts.31.down_proj",
        "mlp.experts.32.down_proj",
        "mlp.experts.33.down_proj",
        "mlp.experts.34.down_proj",
        "mlp.experts.35.down_proj",
        "mlp.experts.36.down_proj",
        "mlp.experts.37.down_proj",
        "mlp.experts.38.down_proj",
        "mlp.experts.39.down_proj",
        "mlp.experts.40.down_proj",
        "mlp.experts.41.down_proj",
        "mlp.experts.42.down_proj",
        "mlp.experts.43.down_proj",
        "mlp.experts.44.down_proj",
        "mlp.experts.45.down_proj",
        "mlp.experts.46.down_proj",
        "mlp.experts.47.down_proj",
        "mlp.experts.48.down_proj",
        "mlp.experts.49.down_proj",
        "mlp.experts.50.down_proj",
        "mlp.experts.51.down_proj",
        "mlp.experts.52.down_proj",
        "mlp.experts.53.down_proj",
        "mlp.experts.54.down_proj",
        "mlp.experts.55.down_proj",
        "mlp.experts.56.down_proj",
        "mlp.experts.57.down_proj",
        "mlp.experts.58.down_proj",
        "mlp.experts.59.down_proj"
      ]
    ],
    "pad_token_id": null,
    "quant_method": "gptq",
    "sym": true,
    "tokenizer": null,
    "true_sequential": true,
    "use_cuda_fp16": false,
    "use_exllama": true
  },
  "rms_norm_eps": 1e-06,
  "rope_theta": 1000000.0,
  "router_aux_loss_coef": 0.001,
  "shared_expert_intermediate_size": 5632,
  "sliding_window": 4096,
  "tie_word_embeddings": false,
  "torch_dtype": "float16",
  "transformers_version": "4.39.0.dev0",
  "use_cache": true,
  "use_sliding_window": false,
  "vocab_size": 151936
}