dbest commited on
Commit
ce550a0
·
verified ·
1 Parent(s): 3d454bc

Hemmingway-1 FP8 (tested)

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Hemmingway-1
2
+ Copyright (c) 2026 Altworld
3
+
4
+ The Hemmingway-1 weights and the files in this repository are licensed under
5
+ Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0),
6
+ reproduced in full below.
7
+
8
+ In plain words:
9
+ - Free for personal, research and other non-commercial use. Download it,
10
+ run it, fine-tune it and share it, as long as you credit Hemmingway-1.
11
+ - Commercial use needs a separate written agreement with us. That includes
12
+ selling access to it, serving it inside a paid product, or using it to
13
+ run a business. We are happy to work with anyone who asks:
14
+ luka@hemmingway.io
15
+
16
+ Hemmingway-1 is built on Qwen3.8-27B by the Qwen team, which is released
17
+ under the Apache License, Version 2.0. That licence still covers the parts
18
+ that come from the base model: http://www.apache.org/licenses/LICENSE-2.0
19
+
20
+ =======================================================================
21
+
22
+ Attribution-NonCommercial 4.0 International
23
+
24
+ =======================================================================
25
+
26
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
27
+ does not provide legal services or legal advice. Distribution of
28
+ Creative Commons public licenses does not create a lawyer-client or
29
+ other relationship. Creative Commons makes its licenses and related
30
+ information available on an "as-is" basis. Creative Commons gives no
31
+ warranties regarding its licenses, any material licensed under their
32
+ terms and conditions, or any related information. Creative Commons
33
+ disclaims all liability for damages resulting from their use to the
34
+ fullest extent possible.
35
+
36
+ Using Creative Commons Public Licenses
37
+
38
+ Creative Commons public licenses provide a standard set of terms and
39
+ conditions that creators and other rights holders may use to share
40
+ original works of authorship and other material subject to copyright
41
+ and certain other rights specified in the public license below. The
42
+ following considerations are for informational purposes only, are not
43
+ exhaustive, and do not form part of our licenses.
44
+
45
+ Considerations for licensors: Our public licenses are
46
+ intended for use by those authorized to give the public
47
+ permission to use material in ways otherwise restricted by
48
+ copyright and certain other rights. Our licenses are
49
+ irrevocable. Licensors should read and understand the terms
50
+ and conditions of the license they choose before applying it.
51
+ Licensors should also secure all rights necessary before
52
+ applying our licenses so that the public can reuse the
53
+ material as expected. Licensors should clearly mark any
54
+ material not subject to the license. This includes other CC-
55
+ licensed material, or material used under an exception or
56
+ limitation to copyright. More considerations for licensors:
57
+ wiki.creativecommons.org/Considerations_for_licensors
58
+
59
+ Considerations for the public: By using one of our public
60
+ licenses, a licensor grants the public permission to use the
61
+ licensed material under specified terms and conditions. If
62
+ the licensor's permission is not necessary for any reason--for
63
+ example, because of any applicable exception or limitation to
64
+ copyright--then that use is not regulated by the license. Our
65
+ licenses grant only permissions under copyright and certain
66
+ other rights that a licensor has authority to grant. Use of
67
+ the licensed material may still be restricted for other
68
+ reasons, including because others have copyright or other
69
+ rights in the material. A licensor may make special requests,
70
+ such as asking that all changes be marked or described.
71
+ Although not required by our licenses, you are encouraged to
72
+ respect those requests where reasonable. More considerations
73
+ for the public:
74
+ wiki.creativecommons.org/Considerations_for_licensees
75
+
76
+ =======================================================================
77
+
78
+ Creative Commons Attribution-NonCommercial 4.0 International Public
79
+ License
80
+
81
+ By exercising the Licensed Rights (defined below), You accept and agree
82
+ to be bound by the terms and conditions of this Creative Commons
83
+ Attribution-NonCommercial 4.0 International Public License ("Public
84
+ License"). To the extent this Public License may be interpreted as a
85
+ contract, You are granted the Licensed Rights in consideration of Your
86
+ acceptance of these terms and conditions, and the Licensor grants You
87
+ such rights in consideration of benefits the Licensor receives from
88
+ making the Licensed Material available under these terms and
89
+ conditions.
90
+
91
+
92
+ Section 1 -- Definitions.
93
+
94
+ a. Adapted Material means material subject to Copyright and Similar
95
+ Rights that is derived from or based upon the Licensed Material
96
+ and in which the Licensed Material is translated, altered,
97
+ arranged, transformed, or otherwise modified in a manner requiring
98
+ permission under the Copyright and Similar Rights held by the
99
+ Licensor. For purposes of this Public License, where the Licensed
100
+ Material is a musical work, performance, or sound recording,
101
+ Adapted Material is always produced where the Licensed Material is
102
+ synched in timed relation with a moving image.
103
+
104
+ b. Adapter's License means the license You apply to Your Copyright
105
+ and Similar Rights in Your contributions to Adapted Material in
106
+ accordance with the terms and conditions of this Public License.
107
+
108
+ c. Copyright and Similar Rights means copyright and/or similar rights
109
+ closely related to copyright including, without limitation,
110
+ performance, broadcast, sound recording, and Sui Generis Database
111
+ Rights, without regard to how the rights are labeled or
112
+ categorized. For purposes of this Public License, the rights
113
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
114
+ Rights.
115
+ d. Effective Technological Measures means those measures that, in the
116
+ absence of proper authority, may not be circumvented under laws
117
+ fulfilling obligations under Article 11 of the WIPO Copyright
118
+ Treaty adopted on December 20, 1996, and/or similar international
119
+ agreements.
120
+
121
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
122
+ any other exception or limitation to Copyright and Similar Rights
123
+ that applies to Your use of the Licensed Material.
124
+
125
+ f. Licensed Material means the artistic or literary work, database,
126
+ or other material to which the Licensor applied this Public
127
+ License.
128
+
129
+ g. Licensed Rights means the rights granted to You subject to the
130
+ terms and conditions of this Public License, which are limited to
131
+ all Copyright and Similar Rights that apply to Your use of the
132
+ Licensed Material and that the Licensor has authority to license.
133
+
134
+ h. Licensor means the individual(s) or entity(ies) granting rights
135
+ under this Public License.
136
+
137
+ i. NonCommercial means not primarily intended for or directed towards
138
+ commercial advantage or monetary compensation. For purposes of
139
+ this Public License, the exchange of the Licensed Material for
140
+ other material subject to Copyright and Similar Rights by digital
141
+ file-sharing or similar means is NonCommercial provided there is
142
+ no payment of monetary compensation in connection with the
143
+ exchange.
144
+
145
+ j. Share means to provide material to the public by any means or
146
+ process that requires permission under the Licensed Rights, such
147
+ as reproduction, public display, public performance, distribution,
148
+ dissemination, communication, or importation, and to make material
149
+ available to the public including in ways that members of the
150
+ public may access the material from a place and at a time
151
+ individually chosen by them.
152
+
153
+ k. Sui Generis Database Rights means rights other than copyright
154
+ resulting from Directive 96/9/EC of the European Parliament and of
155
+ the Council of 11 March 1996 on the legal protection of databases,
156
+ as amended and/or succeeded, as well as other essentially
157
+ equivalent rights anywhere in the world.
158
+
159
+ l. You means the individual or entity exercising the Licensed Rights
160
+ under this Public License. Your has a corresponding meaning.
161
+
162
+
163
+ Section 2 -- Scope.
164
+
165
+ a. License grant.
166
+
167
+ 1. Subject to the terms and conditions of this Public License,
168
+ the Licensor hereby grants You a worldwide, royalty-free,
169
+ non-sublicensable, non-exclusive, irrevocable license to
170
+ exercise the Licensed Rights in the Licensed Material to:
171
+
172
+ a. reproduce and Share the Licensed Material, in whole or
173
+ in part, for NonCommercial purposes only; and
174
+
175
+ b. produce, reproduce, and Share Adapted Material for
176
+ NonCommercial purposes only.
177
+
178
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
179
+ Exceptions and Limitations apply to Your use, this Public
180
+ License does not apply, and You do not need to comply with
181
+ its terms and conditions.
182
+
183
+ 3. Term. The term of this Public License is specified in Section
184
+ 6(a).
185
+
186
+ 4. Media and formats; technical modifications allowed. The
187
+ Licensor authorizes You to exercise the Licensed Rights in
188
+ all media and formats whether now known or hereafter created,
189
+ and to make technical modifications necessary to do so. The
190
+ Licensor waives and/or agrees not to assert any right or
191
+ authority to forbid You from making technical modifications
192
+ necessary to exercise the Licensed Rights, including
193
+ technical modifications necessary to circumvent Effective
194
+ Technological Measures. For purposes of this Public License,
195
+ simply making modifications authorized by this Section 2(a)
196
+ (4) never produces Adapted Material.
197
+
198
+ 5. Downstream recipients.
199
+
200
+ a. Offer from the Licensor -- Licensed Material. Every
201
+ recipient of the Licensed Material automatically
202
+ receives an offer from the Licensor to exercise the
203
+ Licensed Rights under the terms and conditions of this
204
+ Public License.
205
+
206
+ b. No downstream restrictions. You may not offer or impose
207
+ any additional or different terms or conditions on, or
208
+ apply any Effective Technological Measures to, the
209
+ Licensed Material if doing so restricts exercise of the
210
+ Licensed Rights by any recipient of the Licensed
211
+ Material.
212
+
213
+ 6. No endorsement. Nothing in this Public License constitutes or
214
+ may be construed as permission to assert or imply that You
215
+ are, or that Your use of the Licensed Material is, connected
216
+ with, or sponsored, endorsed, or granted official status by,
217
+ the Licensor or others designated to receive attribution as
218
+ provided in Section 3(a)(1)(A)(i).
219
+
220
+ b. Other rights.
221
+
222
+ 1. Moral rights, such as the right of integrity, are not
223
+ licensed under this Public License, nor are publicity,
224
+ privacy, and/or other similar personality rights; however, to
225
+ the extent possible, the Licensor waives and/or agrees not to
226
+ assert any such rights held by the Licensor to the limited
227
+ extent necessary to allow You to exercise the Licensed
228
+ Rights, but not otherwise.
229
+
230
+ 2. Patent and trademark rights are not licensed under this
231
+ Public License.
232
+
233
+ 3. To the extent possible, the Licensor waives any right to
234
+ collect royalties from You for the exercise of the Licensed
235
+ Rights, whether directly or through a collecting society
236
+ under any voluntary or waivable statutory or compulsory
237
+ licensing scheme. In all other cases the Licensor expressly
238
+ reserves any right to collect such royalties, including when
239
+ the Licensed Material is used other than for NonCommercial
240
+ purposes.
241
+
242
+
243
+ Section 3 -- License Conditions.
244
+
245
+ Your exercise of the Licensed Rights is expressly made subject to the
246
+ following conditions.
247
+
248
+ a. Attribution.
249
+
250
+ 1. If You Share the Licensed Material (including in modified
251
+ form), You must:
252
+
253
+ a. retain the following if it is supplied by the Licensor
254
+ with the Licensed Material:
255
+
256
+ i. identification of the creator(s) of the Licensed
257
+ Material and any others designated to receive
258
+ attribution, in any reasonable manner requested by
259
+ the Licensor (including by pseudonym if
260
+ designated);
261
+
262
+ ii. a copyright notice;
263
+
264
+ iii. a notice that refers to this Public License;
265
+
266
+ iv. a notice that refers to the disclaimer of
267
+ warranties;
268
+
269
+ v. a URI or hyperlink to the Licensed Material to the
270
+ extent reasonably practicable;
271
+
272
+ b. indicate if You modified the Licensed Material and
273
+ retain an indication of any previous modifications; and
274
+
275
+ c. indicate the Licensed Material is licensed under this
276
+ Public License, and include the text of, or the URI or
277
+ hyperlink to, this Public License.
278
+
279
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
280
+ reasonable manner based on the medium, means, and context in
281
+ which You Share the Licensed Material. For example, it may be
282
+ reasonable to satisfy the conditions by providing a URI or
283
+ hyperlink to a resource that includes the required
284
+ information.
285
+
286
+ 3. If requested by the Licensor, You must remove any of the
287
+ information required by Section 3(a)(1)(A) to the extent
288
+ reasonably practicable.
289
+
290
+ 4. If You Share Adapted Material You produce, the Adapter's
291
+ License You apply must not prevent recipients of the Adapted
292
+ Material from complying with this Public License.
293
+
294
+
295
+ Section 4 -- Sui Generis Database Rights.
296
+
297
+ Where the Licensed Rights include Sui Generis Database Rights that
298
+ apply to Your use of the Licensed Material:
299
+
300
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
301
+ to extract, reuse, reproduce, and Share all or a substantial
302
+ portion of the contents of the database for NonCommercial purposes
303
+ only;
304
+
305
+ b. if You include all or a substantial portion of the database
306
+ contents in a database in which You have Sui Generis Database
307
+ Rights, then the database in which You have Sui Generis Database
308
+ Rights (but not its individual contents) is Adapted Material; and
309
+
310
+ c. You must comply with the conditions in Section 3(a) if You Share
311
+ all or a substantial portion of the contents of the database.
312
+
313
+ For the avoidance of doubt, this Section 4 supplements and does not
314
+ replace Your obligations under this Public License where the Licensed
315
+ Rights include other Copyright and Similar Rights.
316
+
317
+
318
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
319
+
320
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
321
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
322
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
323
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
324
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
325
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
326
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
327
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
328
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
329
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
330
+
331
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
332
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
333
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
334
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
335
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
336
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
337
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
338
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
339
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
340
+
341
+ c. The disclaimer of warranties and limitation of liability provided
342
+ above shall be interpreted in a manner that, to the extent
343
+ possible, most closely approximates an absolute disclaimer and
344
+ waiver of all liability.
345
+
346
+
347
+ Section 6 -- Term and Termination.
348
+
349
+ a. This Public License applies for the term of the Copyright and
350
+ Similar Rights licensed here. However, if You fail to comply with
351
+ this Public License, then Your rights under this Public License
352
+ terminate automatically.
353
+
354
+ b. Where Your right to use the Licensed Material has terminated under
355
+ Section 6(a), it reinstates:
356
+
357
+ 1. automatically as of the date the violation is cured, provided
358
+ it is cured within 30 days of Your discovery of the
359
+ violation; or
360
+
361
+ 2. upon express reinstatement by the Licensor.
362
+
363
+ For the avoidance of doubt, this Section 6(b) does not affect any
364
+ right the Licensor may have to seek remedies for Your violations
365
+ of this Public License.
366
+
367
+ c. For the avoidance of doubt, the Licensor may also offer the
368
+ Licensed Material under separate terms or conditions or stop
369
+ distributing the Licensed Material at any time; however, doing so
370
+ will not terminate this Public License.
371
+
372
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
373
+ License.
374
+
375
+
376
+ Section 7 -- Other Terms and Conditions.
377
+
378
+ a. The Licensor shall not be bound by any additional or different
379
+ terms or conditions communicated by You unless expressly agreed.
380
+
381
+ b. Any arrangements, understandings, or agreements regarding the
382
+ Licensed Material not stated herein are separate from and
383
+ independent of the terms and conditions of this Public License.
384
+
385
+
386
+ Section 8 -- Interpretation.
387
+
388
+ a. For the avoidance of doubt, this Public License does not, and
389
+ shall not be interpreted to, reduce, limit, restrict, or impose
390
+ conditions on any use of the Licensed Material that could lawfully
391
+ be made without permission under this Public License.
392
+
393
+ b. To the extent possible, if any provision of this Public License is
394
+ deemed unenforceable, it shall be automatically reformed to the
395
+ minimum extent necessary to make it enforceable. If the provision
396
+ cannot be reformed, it shall be severed from this Public License
397
+ without affecting the enforceability of the remaining terms and
398
+ conditions.
399
+
400
+ c. No term or condition of this Public License will be waived and no
401
+ failure to comply consented to unless expressly agreed to by the
402
+ Licensor.
403
+
404
+ d. Nothing in this Public License constitutes or may be interpreted
405
+ as a limitation upon, or waiver of, any privileges and immunities
406
+ that apply to the Licensor or You, including from the legal
407
+ processes of any jurisdiction or authority.
408
+
409
+ =======================================================================
410
+
411
+ Creative Commons is not a party to its public
412
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
413
+ its public licenses to material it publishes and in those instances
414
+ will be considered the “Licensor.” The text of the Creative Commons
415
+ public licenses is dedicated to the public domain under the CC0 Public
416
+ Domain Dedication. Except for the limited purpose of indicating that
417
+ material is shared under a Creative Commons public license or as
418
+ otherwise permitted by the Creative Commons policies published at
419
+ creativecommons.org/policies, Creative Commons does not authorize the
420
+ use of the trademark "Creative Commons" or any other trademark or logo
421
+ of Creative Commons without its prior written consent including,
422
+ without limitation, in connection with any unauthorized modifications
423
+ to any of its public licenses or any other arrangements,
424
+ understandings, or agreements concerning use of licensed material. For
425
+ the avoidance of doubt, this paragraph does not form part of the
426
+ public licenses.
427
+
428
+ Creative Commons may be contacted at creativecommons.org.
429
+
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ base_model:
4
+ - darrellbest/Hemmingway-1-VL
5
+ base_model_relation: quantized
6
+ pipeline_tag: image-text-to-text
7
+ tags:
8
+ - fp8
9
+ - compressed-tensors
10
+ - vllm
11
+ - qwen3.8
12
+ - hemmingway
13
+ ---
14
+
15
+ # Hemmingway-1 FP8
16
+
17
+ FP8 build of [Altworld/Hemmingway-1](https://huggingface.co/Altworld/Hemmingway-1) (Qwen3.8-27B fine-tune for
18
+ everyday writing) for **vLLM**, made from
19
+ [darrellbest/Hemmingway-1-VL](https://huggingface.co/darrellbest/Hemmingway-1-VL) (the same weights in the stock
20
+ Qwen3.8 layout, vision restored). 35 GB instead of 55.6 GB. All credit for the model goes to
21
+ [Altworld](https://hemmingway.io). An uncensored version is at
22
+ [darrellbest/Hemmingway-1-Heretic-FP8](https://huggingface.co/darrellbest/Hemmingway-1-Heretic-FP8).
23
+
24
+ ## What is quantized
25
+
26
+ | Part | Precision |
27
+ |---|---|
28
+ | MLP linear layers, and the attention projections of the full-attention layers | **FP8 E4M3 weights with per-channel scales, dynamic per-token FP8 activations (W8A8)** |
29
+ | Gated DeltaNet (`linear_attn`) layers, vision tower, MTP head, embeddings, `lm_head`, norms | bf16, unchanged |
30
+
31
+ Made with [llm-compressor](https://github.com/vllm-project/llm-compressor) 0.13.0 (`scheme="FP8_DYNAMIC"`). The
32
+ multi-token-prediction weights, which the quantized save drops, were copied back unchanged.
33
+
34
+ ## Tested (vLLM 0.30, RTX PRO 6000)
35
+
36
+ | | bf16 | **FP8** |
37
+ |---|---:|---:|
38
+ | Same top token as bf16 (held-out UltraChat, 24.6K positions) | 100% | **96.9%** |
39
+ | Perplexity, same text | 5.21 | 5.22 |
40
+ | MATH-500 levels 4-5, thinking mode (40) | 32/40 | **32/40** |
41
+ | `get_weather` tool call | correct | correct |
42
+
43
+ No measurable loss on reasoning or tool calling.
44
+
45
+ ```sh
46
+ vllm serve darrellbest/Hemmingway-1-FP8
47
+ ```
48
+
49
+ Licence: [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/), as Hemmingway-1: non-commercial use, with
50
+ credit to Hemmingway-1 / Altworld. Commercial use: luka@hemmingway.io.
chat_template.jinja ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- set reasoning_instructions = '' %}
46
+ {%- if enable_thinking is undefined or enable_thinking is true %}
47
+ {%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
48
+ {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
49
+ {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}
50
+ {%- endif %}
51
+ {%- if resolved_reasoning_effort == 'xhigh' %}
52
+ {%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}
53
+ {%- elif resolved_reasoning_effort == 'low' %}
54
+ {%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}
55
+ {%- endif %}
56
+ {%- endif %}
57
+ {%- if tools and tools is iterable and tools is not mapping %}
58
+ {{- '<|im_start|>system\n' }}
59
+ {%- if reasoning_instructions %}
60
+ {{- reasoning_instructions + '\n\n' }}
61
+ {%- endif %}
62
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
63
+ {%- for tool in tools %}
64
+ {{- "\n" }}
65
+ {{- tool | tojson }}
66
+ {%- endfor %}
67
+ {{- "\n</tools>" }}
68
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
69
+ {%- if messages[0].role == 'system' %}
70
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
71
+ {%- if content %}
72
+ {{- '\n\n' + content }}
73
+ {%- endif %}
74
+ {%- endif %}
75
+ {{- '<|im_end|>\n' }}
76
+ {%- else %}
77
+ {%- if messages[0].role == 'system' %}
78
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
79
+ {%- if content %}
80
+ {{- '<|im_start|>system\n' + (reasoning_instructions + '\n\n' if reasoning_instructions else '') + content + '<|im_end|>\n' }}
81
+ {%- elif reasoning_instructions %}
82
+ {{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
83
+ {%- endif %}
84
+ {%- elif reasoning_instructions %}
85
+ {{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
86
+ {%- endif %}
87
+ {%- endif %}
88
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
89
+ {%- for message in messages[::-1] %}
90
+ {%- set index = (messages|length - 1) - loop.index0 %}
91
+ {%- if ns.multi_step_tool and message.role == "user" %}
92
+ {%- set content = render_content(message.content, false)|trim %}
93
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
94
+ {%- set ns.multi_step_tool = false %}
95
+ {%- set ns.last_query_index = index %}
96
+ {%- endif %}
97
+ {%- endif %}
98
+ {%- endfor %}
99
+ {%- if ns.multi_step_tool %}
100
+ {{- raise_exception('No user query found in messages.') }}
101
+ {%- endif %}
102
+ {%- for message in messages %}
103
+ {%- set content = render_content(message.content, true)|trim %}
104
+ {%- if message.role == "system" %}
105
+ {%- if not loop.first %}
106
+ {{- raise_exception('System message must be at the beginning.') }}
107
+ {%- endif %}
108
+ {%- elif message.role == "user" %}
109
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
110
+ {%- elif message.role == "assistant" %}
111
+ {%- set reasoning_content = '' %}
112
+ {%- if message.reasoning_content is string %}
113
+ {%- set reasoning_content = message.reasoning_content %}
114
+ {%- endif %}
115
+ {%- set reasoning_content = reasoning_content|trim %}
116
+ {%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}
117
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
118
+ {%- else %}
119
+ {{- '<|im_start|>' + message.role + '\n' + content }}
120
+ {%- endif %}
121
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
122
+ {%- for tool_call in message.tool_calls %}
123
+ {%- if tool_call.function is defined %}
124
+ {%- set tool_call = tool_call.function %}
125
+ {%- endif %}
126
+ {%- if loop.first %}
127
+ {%- if content|trim %}
128
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
129
+ {%- else %}
130
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
131
+ {%- endif %}
132
+ {%- else %}
133
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
134
+ {%- endif %}
135
+ {%- if tool_call.arguments is defined and tool_call.arguments != '' %}
136
+ {%- for args_name, args_value in tool_call.arguments|items %}
137
+ {{- '<parameter=' + args_name + '>\n' }}
138
+ {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
139
+ {{- args_value }}
140
+ {{- '\n</parameter>\n' }}
141
+ {%- endfor %}
142
+ {%- endif %}
143
+ {{- '</function>\n</tool_call>' }}
144
+ {%- endfor %}
145
+ {%- endif %}
146
+ {{- '<|im_end|>\n' }}
147
+ {%- elif message.role == "tool" %}
148
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
149
+ {{- '<|im_start|>user' }}
150
+ {%- endif %}
151
+ {{- '\n<tool_response>\n' }}
152
+ {{- content }}
153
+ {{- '\n</tool_response>' }}
154
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
155
+ {{- '<|im_end|>\n' }}
156
+ {%- elif loop.last %}
157
+ {{- '<|im_end|>\n' }}
158
+ {%- endif %}
159
+ {%- else %}
160
+ {{- raise_exception('Unexpected message role.') }}
161
+ {%- endif %}
162
+ {%- endfor %}
163
+ {%- if add_generation_prompt %}
164
+ {{- '<|im_start|>assistant\n' }}
165
+ {%- if enable_thinking is defined and enable_thinking is false %}
166
+ {{- '<think>\n\n</think>\n\n' }}
167
+ {%- else %}
168
+ {{- '<think>\n' }}
169
+ {%- endif %}
170
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,638 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "dtype": "bfloat16",
6
+ "image_token_id": 248056,
7
+ "language_model_only": false,
8
+ "model_type": "qwen3_5",
9
+ "quantization_config": {
10
+ "config_groups": {
11
+ "group_0": {
12
+ "format": "float-quantized",
13
+ "input_activations": {
14
+ "actorder": null,
15
+ "block_structure": null,
16
+ "dynamic": true,
17
+ "group_size": null,
18
+ "num_bits": 8,
19
+ "observer": null,
20
+ "observer_kwargs": {},
21
+ "scale_dtype": null,
22
+ "strategy": "token",
23
+ "symmetric": true,
24
+ "type": "float",
25
+ "zp_dtype": null
26
+ },
27
+ "output_activations": null,
28
+ "targets": [
29
+ "Linear"
30
+ ],
31
+ "weights": {
32
+ "actorder": null,
33
+ "block_structure": null,
34
+ "dynamic": false,
35
+ "group_size": null,
36
+ "num_bits": 8,
37
+ "observer": "memoryless_minmax",
38
+ "observer_kwargs": {},
39
+ "scale_dtype": null,
40
+ "strategy": "channel",
41
+ "symmetric": true,
42
+ "type": "float",
43
+ "zp_dtype": null
44
+ }
45
+ }
46
+ },
47
+ "format": "float-quantized",
48
+ "global_compression_ratio": null,
49
+ "ignore": [
50
+ "model.visual.blocks.0.attn.qkv",
51
+ "model.visual.blocks.0.attn.proj",
52
+ "model.visual.blocks.0.mlp.linear_fc1",
53
+ "model.visual.blocks.0.mlp.linear_fc2",
54
+ "model.visual.blocks.1.attn.qkv",
55
+ "model.visual.blocks.1.attn.proj",
56
+ "model.visual.blocks.1.mlp.linear_fc1",
57
+ "model.visual.blocks.1.mlp.linear_fc2",
58
+ "model.visual.blocks.2.attn.qkv",
59
+ "model.visual.blocks.2.attn.proj",
60
+ "model.visual.blocks.2.mlp.linear_fc1",
61
+ "model.visual.blocks.2.mlp.linear_fc2",
62
+ "model.visual.blocks.3.attn.qkv",
63
+ "model.visual.blocks.3.attn.proj",
64
+ "model.visual.blocks.3.mlp.linear_fc1",
65
+ "model.visual.blocks.3.mlp.linear_fc2",
66
+ "model.visual.blocks.4.attn.qkv",
67
+ "model.visual.blocks.4.attn.proj",
68
+ "model.visual.blocks.4.mlp.linear_fc1",
69
+ "model.visual.blocks.4.mlp.linear_fc2",
70
+ "model.visual.blocks.5.attn.qkv",
71
+ "model.visual.blocks.5.attn.proj",
72
+ "model.visual.blocks.5.mlp.linear_fc1",
73
+ "model.visual.blocks.5.mlp.linear_fc2",
74
+ "model.visual.blocks.6.attn.qkv",
75
+ "model.visual.blocks.6.attn.proj",
76
+ "model.visual.blocks.6.mlp.linear_fc1",
77
+ "model.visual.blocks.6.mlp.linear_fc2",
78
+ "model.visual.blocks.7.attn.qkv",
79
+ "model.visual.blocks.7.attn.proj",
80
+ "model.visual.blocks.7.mlp.linear_fc1",
81
+ "model.visual.blocks.7.mlp.linear_fc2",
82
+ "model.visual.blocks.8.attn.qkv",
83
+ "model.visual.blocks.8.attn.proj",
84
+ "model.visual.blocks.8.mlp.linear_fc1",
85
+ "model.visual.blocks.8.mlp.linear_fc2",
86
+ "model.visual.blocks.9.attn.qkv",
87
+ "model.visual.blocks.9.attn.proj",
88
+ "model.visual.blocks.9.mlp.linear_fc1",
89
+ "model.visual.blocks.9.mlp.linear_fc2",
90
+ "model.visual.blocks.10.attn.qkv",
91
+ "model.visual.blocks.10.attn.proj",
92
+ "model.visual.blocks.10.mlp.linear_fc1",
93
+ "model.visual.blocks.10.mlp.linear_fc2",
94
+ "model.visual.blocks.11.attn.qkv",
95
+ "model.visual.blocks.11.attn.proj",
96
+ "model.visual.blocks.11.mlp.linear_fc1",
97
+ "model.visual.blocks.11.mlp.linear_fc2",
98
+ "model.visual.blocks.12.attn.qkv",
99
+ "model.visual.blocks.12.attn.proj",
100
+ "model.visual.blocks.12.mlp.linear_fc1",
101
+ "model.visual.blocks.12.mlp.linear_fc2",
102
+ "model.visual.blocks.13.attn.qkv",
103
+ "model.visual.blocks.13.attn.proj",
104
+ "model.visual.blocks.13.mlp.linear_fc1",
105
+ "model.visual.blocks.13.mlp.linear_fc2",
106
+ "model.visual.blocks.14.attn.qkv",
107
+ "model.visual.blocks.14.attn.proj",
108
+ "model.visual.blocks.14.mlp.linear_fc1",
109
+ "model.visual.blocks.14.mlp.linear_fc2",
110
+ "model.visual.blocks.15.attn.qkv",
111
+ "model.visual.blocks.15.attn.proj",
112
+ "model.visual.blocks.15.mlp.linear_fc1",
113
+ "model.visual.blocks.15.mlp.linear_fc2",
114
+ "model.visual.blocks.16.attn.qkv",
115
+ "model.visual.blocks.16.attn.proj",
116
+ "model.visual.blocks.16.mlp.linear_fc1",
117
+ "model.visual.blocks.16.mlp.linear_fc2",
118
+ "model.visual.blocks.17.attn.qkv",
119
+ "model.visual.blocks.17.attn.proj",
120
+ "model.visual.blocks.17.mlp.linear_fc1",
121
+ "model.visual.blocks.17.mlp.linear_fc2",
122
+ "model.visual.blocks.18.attn.qkv",
123
+ "model.visual.blocks.18.attn.proj",
124
+ "model.visual.blocks.18.mlp.linear_fc1",
125
+ "model.visual.blocks.18.mlp.linear_fc2",
126
+ "model.visual.blocks.19.attn.qkv",
127
+ "model.visual.blocks.19.attn.proj",
128
+ "model.visual.blocks.19.mlp.linear_fc1",
129
+ "model.visual.blocks.19.mlp.linear_fc2",
130
+ "model.visual.blocks.20.attn.qkv",
131
+ "model.visual.blocks.20.attn.proj",
132
+ "model.visual.blocks.20.mlp.linear_fc1",
133
+ "model.visual.blocks.20.mlp.linear_fc2",
134
+ "model.visual.blocks.21.attn.qkv",
135
+ "model.visual.blocks.21.attn.proj",
136
+ "model.visual.blocks.21.mlp.linear_fc1",
137
+ "model.visual.blocks.21.mlp.linear_fc2",
138
+ "model.visual.blocks.22.attn.qkv",
139
+ "model.visual.blocks.22.attn.proj",
140
+ "model.visual.blocks.22.mlp.linear_fc1",
141
+ "model.visual.blocks.22.mlp.linear_fc2",
142
+ "model.visual.blocks.23.attn.qkv",
143
+ "model.visual.blocks.23.attn.proj",
144
+ "model.visual.blocks.23.mlp.linear_fc1",
145
+ "model.visual.blocks.23.mlp.linear_fc2",
146
+ "model.visual.blocks.24.attn.qkv",
147
+ "model.visual.blocks.24.attn.proj",
148
+ "model.visual.blocks.24.mlp.linear_fc1",
149
+ "model.visual.blocks.24.mlp.linear_fc2",
150
+ "model.visual.blocks.25.attn.qkv",
151
+ "model.visual.blocks.25.attn.proj",
152
+ "model.visual.blocks.25.mlp.linear_fc1",
153
+ "model.visual.blocks.25.mlp.linear_fc2",
154
+ "model.visual.blocks.26.attn.qkv",
155
+ "model.visual.blocks.26.attn.proj",
156
+ "model.visual.blocks.26.mlp.linear_fc1",
157
+ "model.visual.blocks.26.mlp.linear_fc2",
158
+ "model.visual.merger.linear_fc1",
159
+ "model.visual.merger.linear_fc2",
160
+ "model.language_model.layers.0.linear_attn",
161
+ "model.language_model.layers.0.linear_attn.norm",
162
+ "model.language_model.layers.0.linear_attn.out_proj",
163
+ "model.language_model.layers.0.linear_attn.in_proj_qkv",
164
+ "model.language_model.layers.0.linear_attn.in_proj_z",
165
+ "model.language_model.layers.0.linear_attn.in_proj_b",
166
+ "model.language_model.layers.0.linear_attn.in_proj_a",
167
+ "model.language_model.layers.1.linear_attn",
168
+ "model.language_model.layers.1.linear_attn.norm",
169
+ "model.language_model.layers.1.linear_attn.out_proj",
170
+ "model.language_model.layers.1.linear_attn.in_proj_qkv",
171
+ "model.language_model.layers.1.linear_attn.in_proj_z",
172
+ "model.language_model.layers.1.linear_attn.in_proj_b",
173
+ "model.language_model.layers.1.linear_attn.in_proj_a",
174
+ "model.language_model.layers.2.linear_attn",
175
+ "model.language_model.layers.2.linear_attn.norm",
176
+ "model.language_model.layers.2.linear_attn.out_proj",
177
+ "model.language_model.layers.2.linear_attn.in_proj_qkv",
178
+ "model.language_model.layers.2.linear_attn.in_proj_z",
179
+ "model.language_model.layers.2.linear_attn.in_proj_b",
180
+ "model.language_model.layers.2.linear_attn.in_proj_a",
181
+ "model.language_model.layers.4.linear_attn",
182
+ "model.language_model.layers.4.linear_attn.norm",
183
+ "model.language_model.layers.4.linear_attn.out_proj",
184
+ "model.language_model.layers.4.linear_attn.in_proj_qkv",
185
+ "model.language_model.layers.4.linear_attn.in_proj_z",
186
+ "model.language_model.layers.4.linear_attn.in_proj_b",
187
+ "model.language_model.layers.4.linear_attn.in_proj_a",
188
+ "model.language_model.layers.5.linear_attn",
189
+ "model.language_model.layers.5.linear_attn.norm",
190
+ "model.language_model.layers.5.linear_attn.out_proj",
191
+ "model.language_model.layers.5.linear_attn.in_proj_qkv",
192
+ "model.language_model.layers.5.linear_attn.in_proj_z",
193
+ "model.language_model.layers.5.linear_attn.in_proj_b",
194
+ "model.language_model.layers.5.linear_attn.in_proj_a",
195
+ "model.language_model.layers.6.linear_attn",
196
+ "model.language_model.layers.6.linear_attn.norm",
197
+ "model.language_model.layers.6.linear_attn.out_proj",
198
+ "model.language_model.layers.6.linear_attn.in_proj_qkv",
199
+ "model.language_model.layers.6.linear_attn.in_proj_z",
200
+ "model.language_model.layers.6.linear_attn.in_proj_b",
201
+ "model.language_model.layers.6.linear_attn.in_proj_a",
202
+ "model.language_model.layers.8.linear_attn",
203
+ "model.language_model.layers.8.linear_attn.norm",
204
+ "model.language_model.layers.8.linear_attn.out_proj",
205
+ "model.language_model.layers.8.linear_attn.in_proj_qkv",
206
+ "model.language_model.layers.8.linear_attn.in_proj_z",
207
+ "model.language_model.layers.8.linear_attn.in_proj_b",
208
+ "model.language_model.layers.8.linear_attn.in_proj_a",
209
+ "model.language_model.layers.9.linear_attn",
210
+ "model.language_model.layers.9.linear_attn.norm",
211
+ "model.language_model.layers.9.linear_attn.out_proj",
212
+ "model.language_model.layers.9.linear_attn.in_proj_qkv",
213
+ "model.language_model.layers.9.linear_attn.in_proj_z",
214
+ "model.language_model.layers.9.linear_attn.in_proj_b",
215
+ "model.language_model.layers.9.linear_attn.in_proj_a",
216
+ "model.language_model.layers.10.linear_attn",
217
+ "model.language_model.layers.10.linear_attn.norm",
218
+ "model.language_model.layers.10.linear_attn.out_proj",
219
+ "model.language_model.layers.10.linear_attn.in_proj_qkv",
220
+ "model.language_model.layers.10.linear_attn.in_proj_z",
221
+ "model.language_model.layers.10.linear_attn.in_proj_b",
222
+ "model.language_model.layers.10.linear_attn.in_proj_a",
223
+ "model.language_model.layers.12.linear_attn",
224
+ "model.language_model.layers.12.linear_attn.norm",
225
+ "model.language_model.layers.12.linear_attn.out_proj",
226
+ "model.language_model.layers.12.linear_attn.in_proj_qkv",
227
+ "model.language_model.layers.12.linear_attn.in_proj_z",
228
+ "model.language_model.layers.12.linear_attn.in_proj_b",
229
+ "model.language_model.layers.12.linear_attn.in_proj_a",
230
+ "model.language_model.layers.13.linear_attn",
231
+ "model.language_model.layers.13.linear_attn.norm",
232
+ "model.language_model.layers.13.linear_attn.out_proj",
233
+ "model.language_model.layers.13.linear_attn.in_proj_qkv",
234
+ "model.language_model.layers.13.linear_attn.in_proj_z",
235
+ "model.language_model.layers.13.linear_attn.in_proj_b",
236
+ "model.language_model.layers.13.linear_attn.in_proj_a",
237
+ "model.language_model.layers.14.linear_attn",
238
+ "model.language_model.layers.14.linear_attn.norm",
239
+ "model.language_model.layers.14.linear_attn.out_proj",
240
+ "model.language_model.layers.14.linear_attn.in_proj_qkv",
241
+ "model.language_model.layers.14.linear_attn.in_proj_z",
242
+ "model.language_model.layers.14.linear_attn.in_proj_b",
243
+ "model.language_model.layers.14.linear_attn.in_proj_a",
244
+ "model.language_model.layers.16.linear_attn",
245
+ "model.language_model.layers.16.linear_attn.norm",
246
+ "model.language_model.layers.16.linear_attn.out_proj",
247
+ "model.language_model.layers.16.linear_attn.in_proj_qkv",
248
+ "model.language_model.layers.16.linear_attn.in_proj_z",
249
+ "model.language_model.layers.16.linear_attn.in_proj_b",
250
+ "model.language_model.layers.16.linear_attn.in_proj_a",
251
+ "model.language_model.layers.17.linear_attn",
252
+ "model.language_model.layers.17.linear_attn.norm",
253
+ "model.language_model.layers.17.linear_attn.out_proj",
254
+ "model.language_model.layers.17.linear_attn.in_proj_qkv",
255
+ "model.language_model.layers.17.linear_attn.in_proj_z",
256
+ "model.language_model.layers.17.linear_attn.in_proj_b",
257
+ "model.language_model.layers.17.linear_attn.in_proj_a",
258
+ "model.language_model.layers.18.linear_attn",
259
+ "model.language_model.layers.18.linear_attn.norm",
260
+ "model.language_model.layers.18.linear_attn.out_proj",
261
+ "model.language_model.layers.18.linear_attn.in_proj_qkv",
262
+ "model.language_model.layers.18.linear_attn.in_proj_z",
263
+ "model.language_model.layers.18.linear_attn.in_proj_b",
264
+ "model.language_model.layers.18.linear_attn.in_proj_a",
265
+ "model.language_model.layers.20.linear_attn",
266
+ "model.language_model.layers.20.linear_attn.norm",
267
+ "model.language_model.layers.20.linear_attn.out_proj",
268
+ "model.language_model.layers.20.linear_attn.in_proj_qkv",
269
+ "model.language_model.layers.20.linear_attn.in_proj_z",
270
+ "model.language_model.layers.20.linear_attn.in_proj_b",
271
+ "model.language_model.layers.20.linear_attn.in_proj_a",
272
+ "model.language_model.layers.21.linear_attn",
273
+ "model.language_model.layers.21.linear_attn.norm",
274
+ "model.language_model.layers.21.linear_attn.out_proj",
275
+ "model.language_model.layers.21.linear_attn.in_proj_qkv",
276
+ "model.language_model.layers.21.linear_attn.in_proj_z",
277
+ "model.language_model.layers.21.linear_attn.in_proj_b",
278
+ "model.language_model.layers.21.linear_attn.in_proj_a",
279
+ "model.language_model.layers.22.linear_attn",
280
+ "model.language_model.layers.22.linear_attn.norm",
281
+ "model.language_model.layers.22.linear_attn.out_proj",
282
+ "model.language_model.layers.22.linear_attn.in_proj_qkv",
283
+ "model.language_model.layers.22.linear_attn.in_proj_z",
284
+ "model.language_model.layers.22.linear_attn.in_proj_b",
285
+ "model.language_model.layers.22.linear_attn.in_proj_a",
286
+ "model.language_model.layers.24.linear_attn",
287
+ "model.language_model.layers.24.linear_attn.norm",
288
+ "model.language_model.layers.24.linear_attn.out_proj",
289
+ "model.language_model.layers.24.linear_attn.in_proj_qkv",
290
+ "model.language_model.layers.24.linear_attn.in_proj_z",
291
+ "model.language_model.layers.24.linear_attn.in_proj_b",
292
+ "model.language_model.layers.24.linear_attn.in_proj_a",
293
+ "model.language_model.layers.25.linear_attn",
294
+ "model.language_model.layers.25.linear_attn.norm",
295
+ "model.language_model.layers.25.linear_attn.out_proj",
296
+ "model.language_model.layers.25.linear_attn.in_proj_qkv",
297
+ "model.language_model.layers.25.linear_attn.in_proj_z",
298
+ "model.language_model.layers.25.linear_attn.in_proj_b",
299
+ "model.language_model.layers.25.linear_attn.in_proj_a",
300
+ "model.language_model.layers.26.linear_attn",
301
+ "model.language_model.layers.26.linear_attn.norm",
302
+ "model.language_model.layers.26.linear_attn.out_proj",
303
+ "model.language_model.layers.26.linear_attn.in_proj_qkv",
304
+ "model.language_model.layers.26.linear_attn.in_proj_z",
305
+ "model.language_model.layers.26.linear_attn.in_proj_b",
306
+ "model.language_model.layers.26.linear_attn.in_proj_a",
307
+ "model.language_model.layers.28.linear_attn",
308
+ "model.language_model.layers.28.linear_attn.norm",
309
+ "model.language_model.layers.28.linear_attn.out_proj",
310
+ "model.language_model.layers.28.linear_attn.in_proj_qkv",
311
+ "model.language_model.layers.28.linear_attn.in_proj_z",
312
+ "model.language_model.layers.28.linear_attn.in_proj_b",
313
+ "model.language_model.layers.28.linear_attn.in_proj_a",
314
+ "model.language_model.layers.29.linear_attn",
315
+ "model.language_model.layers.29.linear_attn.norm",
316
+ "model.language_model.layers.29.linear_attn.out_proj",
317
+ "model.language_model.layers.29.linear_attn.in_proj_qkv",
318
+ "model.language_model.layers.29.linear_attn.in_proj_z",
319
+ "model.language_model.layers.29.linear_attn.in_proj_b",
320
+ "model.language_model.layers.29.linear_attn.in_proj_a",
321
+ "model.language_model.layers.30.linear_attn",
322
+ "model.language_model.layers.30.linear_attn.norm",
323
+ "model.language_model.layers.30.linear_attn.out_proj",
324
+ "model.language_model.layers.30.linear_attn.in_proj_qkv",
325
+ "model.language_model.layers.30.linear_attn.in_proj_z",
326
+ "model.language_model.layers.30.linear_attn.in_proj_b",
327
+ "model.language_model.layers.30.linear_attn.in_proj_a",
328
+ "model.language_model.layers.32.linear_attn",
329
+ "model.language_model.layers.32.linear_attn.norm",
330
+ "model.language_model.layers.32.linear_attn.out_proj",
331
+ "model.language_model.layers.32.linear_attn.in_proj_qkv",
332
+ "model.language_model.layers.32.linear_attn.in_proj_z",
333
+ "model.language_model.layers.32.linear_attn.in_proj_b",
334
+ "model.language_model.layers.32.linear_attn.in_proj_a",
335
+ "model.language_model.layers.33.linear_attn",
336
+ "model.language_model.layers.33.linear_attn.norm",
337
+ "model.language_model.layers.33.linear_attn.out_proj",
338
+ "model.language_model.layers.33.linear_attn.in_proj_qkv",
339
+ "model.language_model.layers.33.linear_attn.in_proj_z",
340
+ "model.language_model.layers.33.linear_attn.in_proj_b",
341
+ "model.language_model.layers.33.linear_attn.in_proj_a",
342
+ "model.language_model.layers.34.linear_attn",
343
+ "model.language_model.layers.34.linear_attn.norm",
344
+ "model.language_model.layers.34.linear_attn.out_proj",
345
+ "model.language_model.layers.34.linear_attn.in_proj_qkv",
346
+ "model.language_model.layers.34.linear_attn.in_proj_z",
347
+ "model.language_model.layers.34.linear_attn.in_proj_b",
348
+ "model.language_model.layers.34.linear_attn.in_proj_a",
349
+ "model.language_model.layers.36.linear_attn",
350
+ "model.language_model.layers.36.linear_attn.norm",
351
+ "model.language_model.layers.36.linear_attn.out_proj",
352
+ "model.language_model.layers.36.linear_attn.in_proj_qkv",
353
+ "model.language_model.layers.36.linear_attn.in_proj_z",
354
+ "model.language_model.layers.36.linear_attn.in_proj_b",
355
+ "model.language_model.layers.36.linear_attn.in_proj_a",
356
+ "model.language_model.layers.37.linear_attn",
357
+ "model.language_model.layers.37.linear_attn.norm",
358
+ "model.language_model.layers.37.linear_attn.out_proj",
359
+ "model.language_model.layers.37.linear_attn.in_proj_qkv",
360
+ "model.language_model.layers.37.linear_attn.in_proj_z",
361
+ "model.language_model.layers.37.linear_attn.in_proj_b",
362
+ "model.language_model.layers.37.linear_attn.in_proj_a",
363
+ "model.language_model.layers.38.linear_attn",
364
+ "model.language_model.layers.38.linear_attn.norm",
365
+ "model.language_model.layers.38.linear_attn.out_proj",
366
+ "model.language_model.layers.38.linear_attn.in_proj_qkv",
367
+ "model.language_model.layers.38.linear_attn.in_proj_z",
368
+ "model.language_model.layers.38.linear_attn.in_proj_b",
369
+ "model.language_model.layers.38.linear_attn.in_proj_a",
370
+ "model.language_model.layers.40.linear_attn",
371
+ "model.language_model.layers.40.linear_attn.norm",
372
+ "model.language_model.layers.40.linear_attn.out_proj",
373
+ "model.language_model.layers.40.linear_attn.in_proj_qkv",
374
+ "model.language_model.layers.40.linear_attn.in_proj_z",
375
+ "model.language_model.layers.40.linear_attn.in_proj_b",
376
+ "model.language_model.layers.40.linear_attn.in_proj_a",
377
+ "model.language_model.layers.41.linear_attn",
378
+ "model.language_model.layers.41.linear_attn.norm",
379
+ "model.language_model.layers.41.linear_attn.out_proj",
380
+ "model.language_model.layers.41.linear_attn.in_proj_qkv",
381
+ "model.language_model.layers.41.linear_attn.in_proj_z",
382
+ "model.language_model.layers.41.linear_attn.in_proj_b",
383
+ "model.language_model.layers.41.linear_attn.in_proj_a",
384
+ "model.language_model.layers.42.linear_attn",
385
+ "model.language_model.layers.42.linear_attn.norm",
386
+ "model.language_model.layers.42.linear_attn.out_proj",
387
+ "model.language_model.layers.42.linear_attn.in_proj_qkv",
388
+ "model.language_model.layers.42.linear_attn.in_proj_z",
389
+ "model.language_model.layers.42.linear_attn.in_proj_b",
390
+ "model.language_model.layers.42.linear_attn.in_proj_a",
391
+ "model.language_model.layers.44.linear_attn",
392
+ "model.language_model.layers.44.linear_attn.norm",
393
+ "model.language_model.layers.44.linear_attn.out_proj",
394
+ "model.language_model.layers.44.linear_attn.in_proj_qkv",
395
+ "model.language_model.layers.44.linear_attn.in_proj_z",
396
+ "model.language_model.layers.44.linear_attn.in_proj_b",
397
+ "model.language_model.layers.44.linear_attn.in_proj_a",
398
+ "model.language_model.layers.45.linear_attn",
399
+ "model.language_model.layers.45.linear_attn.norm",
400
+ "model.language_model.layers.45.linear_attn.out_proj",
401
+ "model.language_model.layers.45.linear_attn.in_proj_qkv",
402
+ "model.language_model.layers.45.linear_attn.in_proj_z",
403
+ "model.language_model.layers.45.linear_attn.in_proj_b",
404
+ "model.language_model.layers.45.linear_attn.in_proj_a",
405
+ "model.language_model.layers.46.linear_attn",
406
+ "model.language_model.layers.46.linear_attn.norm",
407
+ "model.language_model.layers.46.linear_attn.out_proj",
408
+ "model.language_model.layers.46.linear_attn.in_proj_qkv",
409
+ "model.language_model.layers.46.linear_attn.in_proj_z",
410
+ "model.language_model.layers.46.linear_attn.in_proj_b",
411
+ "model.language_model.layers.46.linear_attn.in_proj_a",
412
+ "model.language_model.layers.48.linear_attn",
413
+ "model.language_model.layers.48.linear_attn.norm",
414
+ "model.language_model.layers.48.linear_attn.out_proj",
415
+ "model.language_model.layers.48.linear_attn.in_proj_qkv",
416
+ "model.language_model.layers.48.linear_attn.in_proj_z",
417
+ "model.language_model.layers.48.linear_attn.in_proj_b",
418
+ "model.language_model.layers.48.linear_attn.in_proj_a",
419
+ "model.language_model.layers.49.linear_attn",
420
+ "model.language_model.layers.49.linear_attn.norm",
421
+ "model.language_model.layers.49.linear_attn.out_proj",
422
+ "model.language_model.layers.49.linear_attn.in_proj_qkv",
423
+ "model.language_model.layers.49.linear_attn.in_proj_z",
424
+ "model.language_model.layers.49.linear_attn.in_proj_b",
425
+ "model.language_model.layers.49.linear_attn.in_proj_a",
426
+ "model.language_model.layers.50.linear_attn",
427
+ "model.language_model.layers.50.linear_attn.norm",
428
+ "model.language_model.layers.50.linear_attn.out_proj",
429
+ "model.language_model.layers.50.linear_attn.in_proj_qkv",
430
+ "model.language_model.layers.50.linear_attn.in_proj_z",
431
+ "model.language_model.layers.50.linear_attn.in_proj_b",
432
+ "model.language_model.layers.50.linear_attn.in_proj_a",
433
+ "model.language_model.layers.52.linear_attn",
434
+ "model.language_model.layers.52.linear_attn.norm",
435
+ "model.language_model.layers.52.linear_attn.out_proj",
436
+ "model.language_model.layers.52.linear_attn.in_proj_qkv",
437
+ "model.language_model.layers.52.linear_attn.in_proj_z",
438
+ "model.language_model.layers.52.linear_attn.in_proj_b",
439
+ "model.language_model.layers.52.linear_attn.in_proj_a",
440
+ "model.language_model.layers.53.linear_attn",
441
+ "model.language_model.layers.53.linear_attn.norm",
442
+ "model.language_model.layers.53.linear_attn.out_proj",
443
+ "model.language_model.layers.53.linear_attn.in_proj_qkv",
444
+ "model.language_model.layers.53.linear_attn.in_proj_z",
445
+ "model.language_model.layers.53.linear_attn.in_proj_b",
446
+ "model.language_model.layers.53.linear_attn.in_proj_a",
447
+ "model.language_model.layers.54.linear_attn",
448
+ "model.language_model.layers.54.linear_attn.norm",
449
+ "model.language_model.layers.54.linear_attn.out_proj",
450
+ "model.language_model.layers.54.linear_attn.in_proj_qkv",
451
+ "model.language_model.layers.54.linear_attn.in_proj_z",
452
+ "model.language_model.layers.54.linear_attn.in_proj_b",
453
+ "model.language_model.layers.54.linear_attn.in_proj_a",
454
+ "model.language_model.layers.56.linear_attn",
455
+ "model.language_model.layers.56.linear_attn.norm",
456
+ "model.language_model.layers.56.linear_attn.out_proj",
457
+ "model.language_model.layers.56.linear_attn.in_proj_qkv",
458
+ "model.language_model.layers.56.linear_attn.in_proj_z",
459
+ "model.language_model.layers.56.linear_attn.in_proj_b",
460
+ "model.language_model.layers.56.linear_attn.in_proj_a",
461
+ "model.language_model.layers.57.linear_attn",
462
+ "model.language_model.layers.57.linear_attn.norm",
463
+ "model.language_model.layers.57.linear_attn.out_proj",
464
+ "model.language_model.layers.57.linear_attn.in_proj_qkv",
465
+ "model.language_model.layers.57.linear_attn.in_proj_z",
466
+ "model.language_model.layers.57.linear_attn.in_proj_b",
467
+ "model.language_model.layers.57.linear_attn.in_proj_a",
468
+ "model.language_model.layers.58.linear_attn",
469
+ "model.language_model.layers.58.linear_attn.norm",
470
+ "model.language_model.layers.58.linear_attn.out_proj",
471
+ "model.language_model.layers.58.linear_attn.in_proj_qkv",
472
+ "model.language_model.layers.58.linear_attn.in_proj_z",
473
+ "model.language_model.layers.58.linear_attn.in_proj_b",
474
+ "model.language_model.layers.58.linear_attn.in_proj_a",
475
+ "model.language_model.layers.60.linear_attn",
476
+ "model.language_model.layers.60.linear_attn.norm",
477
+ "model.language_model.layers.60.linear_attn.out_proj",
478
+ "model.language_model.layers.60.linear_attn.in_proj_qkv",
479
+ "model.language_model.layers.60.linear_attn.in_proj_z",
480
+ "model.language_model.layers.60.linear_attn.in_proj_b",
481
+ "model.language_model.layers.60.linear_attn.in_proj_a",
482
+ "model.language_model.layers.61.linear_attn",
483
+ "model.language_model.layers.61.linear_attn.norm",
484
+ "model.language_model.layers.61.linear_attn.out_proj",
485
+ "model.language_model.layers.61.linear_attn.in_proj_qkv",
486
+ "model.language_model.layers.61.linear_attn.in_proj_z",
487
+ "model.language_model.layers.61.linear_attn.in_proj_b",
488
+ "model.language_model.layers.61.linear_attn.in_proj_a",
489
+ "model.language_model.layers.62.linear_attn",
490
+ "model.language_model.layers.62.linear_attn.norm",
491
+ "model.language_model.layers.62.linear_attn.out_proj",
492
+ "model.language_model.layers.62.linear_attn.in_proj_qkv",
493
+ "model.language_model.layers.62.linear_attn.in_proj_z",
494
+ "model.language_model.layers.62.linear_attn.in_proj_b",
495
+ "model.language_model.layers.62.linear_attn.in_proj_a",
496
+ "lm_head"
497
+ ],
498
+ "kv_cache_scheme": null,
499
+ "quant_method": "compressed-tensors",
500
+ "quantization_status": "compressed",
501
+ "sparsity_config": {},
502
+ "transform_config": {},
503
+ "version": "0.18.0"
504
+ },
505
+ "text_config": {
506
+ "attention_bias": false,
507
+ "attention_dropout": 0.0,
508
+ "attn_output_gate": true,
509
+ "bos_token_id": 248044,
510
+ "dtype": "bfloat16",
511
+ "eos_token_id": 248044,
512
+ "full_attention_interval": 4,
513
+ "head_dim": 256,
514
+ "hidden_act": "silu",
515
+ "hidden_size": 5120,
516
+ "initializer_range": 0.02,
517
+ "intermediate_size": 17408,
518
+ "layer_types": [
519
+ "linear_attention",
520
+ "linear_attention",
521
+ "linear_attention",
522
+ "full_attention",
523
+ "linear_attention",
524
+ "linear_attention",
525
+ "linear_attention",
526
+ "full_attention",
527
+ "linear_attention",
528
+ "linear_attention",
529
+ "linear_attention",
530
+ "full_attention",
531
+ "linear_attention",
532
+ "linear_attention",
533
+ "linear_attention",
534
+ "full_attention",
535
+ "linear_attention",
536
+ "linear_attention",
537
+ "linear_attention",
538
+ "full_attention",
539
+ "linear_attention",
540
+ "linear_attention",
541
+ "linear_attention",
542
+ "full_attention",
543
+ "linear_attention",
544
+ "linear_attention",
545
+ "linear_attention",
546
+ "full_attention",
547
+ "linear_attention",
548
+ "linear_attention",
549
+ "linear_attention",
550
+ "full_attention",
551
+ "linear_attention",
552
+ "linear_attention",
553
+ "linear_attention",
554
+ "full_attention",
555
+ "linear_attention",
556
+ "linear_attention",
557
+ "linear_attention",
558
+ "full_attention",
559
+ "linear_attention",
560
+ "linear_attention",
561
+ "linear_attention",
562
+ "full_attention",
563
+ "linear_attention",
564
+ "linear_attention",
565
+ "linear_attention",
566
+ "full_attention",
567
+ "linear_attention",
568
+ "linear_attention",
569
+ "linear_attention",
570
+ "full_attention",
571
+ "linear_attention",
572
+ "linear_attention",
573
+ "linear_attention",
574
+ "full_attention",
575
+ "linear_attention",
576
+ "linear_attention",
577
+ "linear_attention",
578
+ "full_attention",
579
+ "linear_attention",
580
+ "linear_attention",
581
+ "linear_attention",
582
+ "full_attention"
583
+ ],
584
+ "linear_conv_kernel_dim": 4,
585
+ "linear_key_head_dim": 128,
586
+ "linear_num_key_heads": 16,
587
+ "linear_num_value_heads": 48,
588
+ "linear_value_head_dim": 128,
589
+ "mamba_ssm_dtype": "float32",
590
+ "max_position_embeddings": 262144,
591
+ "model_type": "qwen3_5_text",
592
+ "mtp_num_hidden_layers": 1,
593
+ "mtp_use_dedicated_embeddings": false,
594
+ "num_attention_heads": 24,
595
+ "num_hidden_layers": 64,
596
+ "num_key_value_heads": 4,
597
+ "output_gate_type": "swish",
598
+ "pad_token_id": null,
599
+ "partial_rotary_factor": 0.25,
600
+ "rms_norm_eps": 1e-06,
601
+ "rope_parameters": {
602
+ "mrope_interleaved": true,
603
+ "mrope_section": [
604
+ 11,
605
+ 11,
606
+ 10
607
+ ],
608
+ "partial_rotary_factor": 0.25,
609
+ "rope_theta": 10000000,
610
+ "rope_type": "default"
611
+ },
612
+ "tie_word_embeddings": false,
613
+ "use_cache": true,
614
+ "vocab_size": 248320
615
+ },
616
+ "tie_word_embeddings": false,
617
+ "transformers_version": "5.14.1",
618
+ "video_token_id": 248057,
619
+ "vision_config": {
620
+ "deepstack_visual_indexes": [],
621
+ "depth": 27,
622
+ "dtype": "bfloat16",
623
+ "hidden_act": "gelu_pytorch_tanh",
624
+ "hidden_size": 1152,
625
+ "in_channels": 3,
626
+ "initializer_range": 0.02,
627
+ "intermediate_size": 4304,
628
+ "model_type": "qwen3_5_vision",
629
+ "num_heads": 16,
630
+ "num_position_embeddings": 2304,
631
+ "out_hidden_size": 5120,
632
+ "patch_size": 16,
633
+ "spatial_merge_size": 2,
634
+ "temporal_patch_size": 2
635
+ },
636
+ "vision_end_token_id": 248054,
637
+ "vision_start_token_id": 248053
638
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 248044,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 248046,
6
+ 248044
7
+ ],
8
+ "pad_token_id": 248044,
9
+ "temperature": 1.0,
10
+ "top_k": 20,
11
+ "top_p": 0.95,
12
+ "transformers_version": "5.14.1"
13
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a170e5d5abec4e0fda01aa75e56fff67186de9df1aa2eda67a8f0a65e4be974a
3
+ size 19996356160
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8adf328092aac8de263b9cc6c9ff8a71e6fb732da513190137db24864ea01f6c
3
+ size 15932538536
model-auxiliary.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90fa0e3eed5a647c035c6df9ecabc416c0f8d573ff84ac12485b085f00a7cdf2
3
+ size 849400424
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
processor_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 16,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 16777216,
24
+ "shortest_edge": 65536
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen3VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": true,
35
+ "fps": 2,
36
+ "image_mean": [
37
+ 0.5,
38
+ 0.5,
39
+ 0.5
40
+ ],
41
+ "image_std": [
42
+ 0.5,
43
+ 0.5,
44
+ 0.5
45
+ ],
46
+ "max_frames": 768,
47
+ "merge_size": 2,
48
+ "min_frames": 4,
49
+ "patch_size": 16,
50
+ "resample": 3,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "return_metadata": false,
53
+ "size": {
54
+ "longest_edge": 25165824,
55
+ "shortest_edge": 4096
56
+ },
57
+ "temporal_patch_size": 2,
58
+ "video_processor_type": "Qwen3VLVideoProcessor"
59
+ }
60
+ }
recipe.yaml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ default_stage:
2
+ default_modifiers:
3
+ QuantizationModifier:
4
+ targets: [Linear]
5
+ ignore: [lm_head, 're:.*embed_tokens$', 're:.*visual.*', 're:.*linear_attn.*', 're:.*mtp.*']
6
+ scheme: FP8_DYNAMIC
7
+ bypass_divisibility_checks: false
8
+ requires_calibration_data: false
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": true,
13
+ "local_files_only": false,
14
+ "model_max_length": 262144,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
26
+ "processor_class": "Qwen3VLProcessor",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null,
30
+ "video_token": "<|video_pad|>",
31
+ "vision_bos_token": "<|vision_start|>",
32
+ "vision_eos_token": "<|vision_end|>"
33
+ }