mitslabo commited on
Commit
49a80ca
·
verified ·
1 Parent(s): fc92171

Upload Qwen3.6-27B-V-oQ4-fp16 via oMLX

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
README.md ADDED
@@ -0,0 +1,1010 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ license_link: https://huggingface.co/Qwen/Qwen3.6-27B/blob/main/LICENSE
5
+ pipeline_tag: image-text-to-text
6
+ ---
7
+
8
+ # Qwen3.6-27B
9
+
10
+ <img width="400px" src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.6/logo.png">
11
+
12
+ [![Qwen Chat](https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5)](https://chat.qwen.ai)
13
+
14
+ > [!Note]
15
+ > This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format.
16
+ >
17
+ > These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, KTransformers, etc.
18
+
19
+ Following the February release of the Qwen3.5 series, we're pleased to share the first open-weight variant of Qwen3.6. Built on direct feedback from the community, Qwen3.6 prioritizes stability and real-world utility, offering developers a more intuitive, responsive, and genuinely productive coding experience.
20
+
21
+ ## Qwen3.6 Highlights
22
+
23
+ This release delivers substantial upgrades, particularly in
24
+
25
+ - **Agentic Coding:** the model now handles frontend workflows and repository-level reasoning with greater fluency and precision.
26
+ - **Thinking Preservation:** we've introduced a new option to retain reasoning context from historical messages, streamlining iterative development and reducing overhead.
27
+
28
+ ![Benchmark Results](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3.6/Figures/qwen3.6_27b_score.png)
29
+
30
+ For more details, please refer to our blog post [Qwen3.6-27B](https://qwen.ai/blog?id=qwen3.6-27b).
31
+
32
+ ## Model Overview
33
+
34
+ - Type: Causal Language Model with Vision Encoder
35
+ - Training Stage: Pre-training & Post-training
36
+ - Language Model
37
+ - Number of Parameters: 27B
38
+ - Hidden Dimension: 5120
39
+ - Token Embedding: 248320 (Padded)
40
+ - Number of Layers: 64
41
+ - Hidden Layout: 16 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN))
42
+ - Gated DeltaNet:
43
+ - Number of Linear Attention Heads: 48 for V and 16 for QK
44
+ - Head Dimension: 128
45
+ - Gated Attention:
46
+ - Number of Attention Heads: 24 for Q and 4 for KV
47
+ - Head Dimension: 256
48
+ - Rotary Position Embedding Dimension: 64
49
+ - Feed Forward Network:
50
+ - Intermediate Dimension: 17408
51
+ - LM Output: 248320 (Padded)
52
+ - MTP: trained with multi-steps
53
+ - Context Length: 262,144 natively and extensible up to 1,010,000 tokens.
54
+
55
+
56
+ ## Benchmark Results
57
+
58
+ ### Language
59
+
60
+ <div style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;max-width:1000px;margin:0 auto;padding:16px 0">
61
+ <table style="width:100%;border-collapse:collapse;font-size:13px">
62
+ <thead><tr>
63
+ <th style="padding:10px 7px;text-align:left;font-weight:600;border-bottom:2px solid #7c3aed;color:#7c3aed"></th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.5-27B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.5-397B-A17B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Gemma4-31B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Claude 4.5 Opus</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.6-35B-A3B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.6-27B</th></tr></thead>
64
+ <tbody>
65
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">Coding Agent</td></tr>
66
+ <tr>
67
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE-bench Verified</td>
68
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">75.0</td>
69
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">76.2</td>
70
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52.0</td>
71
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.9</td>
72
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">73.4</td>
73
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">77.2</td>
74
+ </tr>
75
+ <tr>
76
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE-bench Pro</td>
77
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">51.2</td>
78
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">50.9</td>
79
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">35.7</td>
80
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">57.1</td>
81
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">49.5</td>
82
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">53.5</td>
83
+ </tr>
84
+ <tr>
85
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE-bench Multilingual</td>
86
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">69.3</td>
87
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">69.3</td>
88
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">51.7</td>
89
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">77.5</td>
90
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.2</td>
91
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">71.3</td>
92
+ </tr>
93
+ <tr>
94
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">Terminal-Bench 2.0</td>
95
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">41.6</td>
96
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52.5</td>
97
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">42.9</td>
98
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">59.3</td>
99
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">51.5</td>
100
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">59.3</td>
101
+ </tr>
102
+ <tr>
103
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SkillsBench <sub><small>Avg5</small></sub></td>
104
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">27.2</td>
105
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">30.0</td>
106
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">23.6</td>
107
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">45.3</td>
108
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">28.7</td>
109
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">48.2</td>
110
+ </tr>
111
+ <tr>
112
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">QwenWebBench</td>
113
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">1068</td>
114
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">1186</td>
115
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">1197</td>
116
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">1536</td>
117
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">1397</td>
118
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">1487</td>
119
+ </tr>
120
+ <tr>
121
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">NL2Repo</td>
122
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">27.3</td>
123
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">32.2</td>
124
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">15.5</td>
125
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">43.2</td>
126
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">29.4</td>
127
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">36.2</td>
128
+ </tr>
129
+ <tr>
130
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">Claw-Eval <sub><small>Avg</small></sub></td>
131
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">64.3</td>
132
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70.7</td>
133
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">48.5</td>
134
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">76.6</td>
135
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">68.7</td>
136
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">72.4</td>
137
+ </tr>
138
+ <tr>
139
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">Claw-Eval <sub><small>Pass^3</small></sub></td>
140
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">46.2</td>
141
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">48.1</td>
142
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">25.0</td>
143
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">59.6</td>
144
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">50.0</td>
145
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">60.6</td>
146
+ </tr>
147
+ <tr>
148
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">QwenClawBench</td>
149
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52.2</td>
150
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">51.8</td>
151
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">41.7</td>
152
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52.3</td>
153
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52.6</td>
154
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">53.4</td>
155
+ </tr>
156
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">Knowledge</td></tr>
157
+ <tr>
158
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MMLU-Pro</td>
159
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.1</td>
160
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.8</td>
161
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.2</td>
162
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">89.5</td>
163
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.2</td>
164
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.2</td>
165
+ </tr>
166
+ <tr>
167
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MMLU-Redux</td>
168
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.2</td>
169
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">94.9</td>
170
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.7</td>
171
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">95.6</td>
172
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.3</td>
173
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.5</td>
174
+ </tr>
175
+ <tr>
176
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SuperGPQA</td>
177
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">65.6</td>
178
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70.4</td>
179
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">65.7</td>
180
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70.6</td>
181
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">64.7</td>
182
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">66.0</td>
183
+ </tr>
184
+ <tr>
185
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">C-Eval</td>
186
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.5</td>
187
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.0</td>
188
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">82.6</td>
189
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.2</td>
190
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.0</td>
191
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">91.4</td>
192
+ </tr>
193
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">STEM & Reasoning</td></tr>
194
+ <tr>
195
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">GPQA Diamond</td>
196
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.5</td>
197
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">88.4</td>
198
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.3</td>
199
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.0</td>
200
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.0</td>
201
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.8</td>
202
+ </tr>
203
+ <tr>
204
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">HLE</td>
205
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">24.3</td>
206
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">28.7</td>
207
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">19.5</td>
208
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">30.8</td>
209
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">21.4</td>
210
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">24.0</td>
211
+ </tr>
212
+ <tr>
213
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">LiveCodeBench v6</td>
214
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.7</td>
215
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">83.6</td>
216
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.0</td>
217
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.8</td>
218
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.4</td>
219
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">83.9</td>
220
+ </tr>
221
+ <tr>
222
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">HMMT Feb 25</td>
223
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.0</td>
224
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">94.8</td>
225
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">88.7</td>
226
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.9</td>
227
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.7</td>
228
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.8</td>
229
+ </tr>
230
+ <tr>
231
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">HMMT Nov 25</td>
232
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">89.8</td>
233
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.7</td>
234
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.5</td>
235
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.3</td>
236
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">89.1</td>
237
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.7</td>
238
+ </tr>
239
+ <tr>
240
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">HMMT Feb 26</td>
241
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.3</td>
242
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.9</td>
243
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">77.2</td>
244
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.3</td>
245
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">83.6</td>
246
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.3</td>
247
+ </tr>
248
+ <tr>
249
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">IMOAnswerBench</td>
250
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">79.9</td>
251
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.9</td>
252
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">74.5</td>
253
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.0</td>
254
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">78.9</td>
255
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.8</td>
256
+ </tr>
257
+ <tr>
258
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">AIME26</td>
259
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.6</td>
260
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.3</td>
261
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">89.2</td>
262
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">95.1</td>
263
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.7</td>
264
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">94.1</td>
265
+ </tr>
266
+ </tbody>
267
+ </table>
268
+
269
+ <p style="margin-top:12px;font-size:10px;opacity:0.7">
270
+ * SWE-Bench Series: Internal agent scaffold (bash + file-edit tools); temp=1.0, top_p=0.95, 200K context window. We correct some problematic tasks in the public set of SWE-bench Pro and evaluate all baselines on the refined benchmark.<br/>
271
+ * Terminal-Bench 2.0: Harbor/Terminus-2 harness; 3h timeout, 32 CPU/48 GB RAM; temp=1.0, top_p=0.95, top_k=20, max_tokens=80K, 256K ctx; avg of 5 runs.<br/>
272
+ * SkillsBench: Evaluated via OpenCode on 78 tasks (self-contained subset, excluding API-dependent tasks); avg of 5 runs.<br/>
273
+ * NL2Repo: Others are evaluated via Claude Code (temp=1.0, top_p=0.95, max_turns=900).<br/>
274
+ * QwenClawBench: A real-user-distribution Claw agent benchmark; temp=0.6, 256K ctx.<br/>
275
+ * QwenWebBench: An internal front-end code generation benchmark; bilingual (EN/CN), 7 categories (Web Design, Web Apps, Games, SVG, Data Visualization, Animation, and 3D); auto-render + multimodal judge (code/visual correctness); BT/Elo rating system.<br/>
276
+ * AIME 26: We use the full AIME 2026 (I & II), where the scores may differ from Qwen 3.5 notes.
277
+ </p>
278
+
279
+ </div>
280
+
281
+
282
+ ### Vision Language
283
+
284
+ <div style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;max-width:1000px;margin:0 auto;padding:16px 0">
285
+ <table style="width:100%;border-collapse:collapse;font-size:13px">
286
+ <thead><tr>
287
+ <th style="padding:10px 7px;text-align:left;font-weight:600;border-bottom:2px solid #7c3aed;color:#7c3aed"></th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.5-27B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.5-397B-A17B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Gemma4-31B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Claude 4.5 Opus</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.6-35B-A3B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #7c3aed;color:#7c3aed;font-size: 14px;">Qwen3.6-27B</th></tr></thead>
288
+ <tbody>
289
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">STEM & Puzzle</td></tr>
290
+ <tr>
291
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MMMU</td>
292
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">82.3</td>
293
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.0</td>
294
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.4</td>
295
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.7</td>
296
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.7</td>
297
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">82.9</td>
298
+ </tr>
299
+ <tr>
300
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MMMU-Pro</td>
301
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">75.0</td>
302
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">79.0</td>
303
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">76.9</td>
304
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70.6</td>
305
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">75.3</td>
306
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">75.8</td>
307
+ </tr>
308
+ <tr>
309
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MathVista <sub><small>mini</small></sub></td>
310
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.8</td>
311
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
312
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">79.3</td>
313
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
314
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.4</td>
315
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.4</td>
316
+ </tr>
317
+ <tr>
318
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">DynaMath</td>
319
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.7</td>
320
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.3</td>
321
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">79.5</td>
322
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">79.7</td>
323
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">82.8</td>
324
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.6</td>
325
+ </tr>
326
+ <tr>
327
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">VlmsAreBlind</td>
328
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">96.9</td>
329
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
330
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.2</td>
331
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
332
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">96.6</td>
333
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">97.0</td>
334
+ </tr>
335
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">General VQA</td></tr>
336
+ <tr>
337
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">RealWorldQA</td>
338
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">83.7</td>
339
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">83.9</td>
340
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">72.3</td>
341
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">77.0</td>
342
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.3</td>
343
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.1</td>
344
+ </tr>
345
+ <tr>
346
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MMStar</td>
347
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.0</td>
348
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">83.8</td>
349
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">77.3</td>
350
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">73.2</td>
351
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.7</td>
352
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.4</td>
353
+ </tr>
354
+ <tr>
355
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MMBench<sub><small>EN-DEV-v1.1</small></sub></td>
356
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.6</td>
357
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
358
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.9</td>
359
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
360
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.8</td>
361
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.3</td>
362
+ </tr>
363
+ <tr>
364
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SimpleVQA</td>
365
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">56.0</td>
366
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.1</td>
367
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52.9</td>
368
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">65.7</td>
369
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">58.9</td>
370
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">56.1</td>
371
+ </tr>
372
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">Document Understanding</td></tr>
373
+ <tr>
374
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">CharXiv <sub><small>RQ</small></sub></td>
375
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">79.5</td>
376
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">80.8</td>
377
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.9</td>
378
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">68.5</td>
379
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">78.0</td>
380
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">78.4</td>
381
+ </tr>
382
+ <tr>
383
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">CC-OCR</td>
384
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.0</td>
385
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">82.0</td>
386
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">75.7</td>
387
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">76.9</td>
388
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.9</td>
389
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.2</td>
390
+ </tr>
391
+ <tr>
392
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">OCRBench</td>
393
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">89.4</td>
394
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
395
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.1</td>
396
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
397
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.0</td>
398
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">89.4</td>
399
+ </tr>
400
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">Spatial Intelligence</td></tr>
401
+ <tr>
402
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">ERQA</td>
403
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">60.5</td>
404
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.5</td>
405
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">57.5</td>
406
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">46.8</td>
407
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">61.8</td>
408
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">62.5</td>
409
+ </tr>
410
+ <tr>
411
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">CountBench</td>
412
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">97.8</td>
413
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">97.2</td>
414
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">96.1</td>
415
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.6</td>
416
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">96.1</td>
417
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">97.8</td>
418
+ </tr>
419
+ <tr>
420
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">RefCOCO <sub><small>avg</small></sub></td>
421
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.9</td>
422
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.3</td>
423
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
424
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
425
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.0</td>
426
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">92.5</td>
427
+ </tr>
428
+ <tr>
429
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">EmbSpatialBench</td>
430
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.5</td>
431
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
432
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
433
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
434
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.3</td>
435
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.6</td>
436
+ </tr>
437
+ <tr>
438
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">RefSpatialBench</td>
439
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.7</td>
440
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
441
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">4.7</td>
442
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
443
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">64.3</td>
444
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70.0</td>
445
+ </tr>
446
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">Video Understanding</td></tr>
447
+ <tr>
448
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">VideoMME<sub><small>(w sub.)</sub></small></td>
449
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.0</td>
450
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.5</td>
451
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
452
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">77.7</td>
453
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.6</td>
454
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">87.7</td>
455
+ </tr>
456
+ <tr>
457
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">VideoMMMU</td>
458
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">82.3</td>
459
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.7</td>
460
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.6</td>
461
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.4</td>
462
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">83.7</td>
463
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">84.4</td>
464
+ </tr>
465
+ <tr>
466
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MLVU</td>
467
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">85.9</td>
468
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.7</td>
469
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
470
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">81.7</td>
471
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.2</td>
472
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">86.6</td>
473
+ </tr>
474
+ <tr>
475
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">MVBench</td>
476
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">74.6</td>
477
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">77.6</td>
478
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
479
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.2</td>
480
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">74.6</td>
481
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">75.5</td>
482
+ </tr>
483
+ <tr><td colspan="7" style="padding:8px 12px;font-weight:600;color:#7c3aed;border-bottom:1px solid rgba(124, 58, 237, 0.2);background:rgba(124, 58, 237, 0.1)">Visual Agent</td></tr>
484
+ <tr>
485
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">V*</td>
486
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">93.7</td>
487
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">95.8</td>
488
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
489
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.0</td>
490
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">90.1</td>
491
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">94.7</td>
492
+ </tr>
493
+ <tr>
494
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">AndroidWorld</td>
495
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">64.2</td>
496
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
497
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
498
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
499
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">--</td>
500
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70.3</td>
501
+ </tr>
502
+ </tbody>
503
+ </table>
504
+
505
+ <p style="margin-top:12px;font-size:10px;opacity:0.7">
506
+ * Empty cells (--) indicate scores not yet available or not applicable.
507
+ </p>
508
+
509
+ </div>
510
+
511
+
512
+ ## Quickstart
513
+
514
+ For streamlined integration, we recommend using Qwen3.6 via APIs. Below is a guide to use Qwen3.6 via OpenAI-compatible API.
515
+
516
+ ### Serving Qwen3.6
517
+
518
+ Qwen3.6 can be served via APIs with popular inference frameworks.
519
+ In the following, we show example commands to launch OpenAI-Compatible API servers for Qwen3.6 models.
520
+
521
+ > [!Important]
522
+ > Inference efficiency and throughput vary significantly across frameworks.
523
+ > We recommend using the latest framework versions to ensure optimal performance and compatibility.
524
+ > For production workloads or high-throughput scenarios, dedicated serving engines such as SGLang, KTransformers or vLLM are strongly recommended.
525
+
526
+ > [!Important]
527
+ > The model has a default context length of 262,144 tokens.
528
+ > If you encounter out-of-memory (OOM) errors, consider reducing the context window.
529
+ > However, because Qwen3.6 leverages extended context for complex tasks, we advise maintaining a context length of at least 128K tokens to preserve thinking capabilities.
530
+
531
+ #### SGLang
532
+
533
+ [SGLang](https://github.com/sgl-project/sglang) is a fast serving framework for large language models and vision language models.
534
+ `sglang>=0.5.10` is recommended for Qwen3.6, which can be installed using the following command in a fresh environment:
535
+ ```shell
536
+ uv pip install sglang[all]
537
+ ```
538
+ See [its documentation](https://docs.sglang.ai/get_started/install.html) for more details.
539
+
540
+ The following will create API endpoints at `http://localhost:8000/v1`:
541
+
542
+ - **Standard Version**: The following command can be used to create an API endpoint with maximum context length 262,144 tokens using tensor parallel on 8 GPUs.
543
+
544
+ ```shell
545
+ python -m sglang.launch_server --model-path Qwen/Qwen3.6-27B --port 8000 --tp-size 8 --mem-fraction-static 0.8 --context-length 262144 --reasoning-parser qwen3
546
+ ```
547
+
548
+ - **Tool Use**: To support tool use, you can use the following command.
549
+
550
+ ```shell
551
+ python -m sglang.launch_server --model-path Qwen/Qwen3.6-27B --port 8000 --tp-size 8 --mem-fraction-static 0.8 --context-length 262144 --reasoning-parser qwen3 --tool-call-parser qwen3_coder
552
+ ```
553
+
554
+ - **Multi-Token Prediction (MTP)**: The following command is recommended for MTP:
555
+
556
+ ```shell
557
+ python -m sglang.launch_server --model-path Qwen/Qwen3.6-27B --port 8000 --tp-size 8 --mem-fraction-static 0.8 --context-length 262144 --reasoning-parser qwen3 --speculative-algo NEXTN --speculative-num-steps 3 --speculative-eagle-topk 1 --speculative-num-draft-tokens 4
558
+ ```
559
+
560
+ For detailed deployment guide, see the [SGLang Qwen3.5 Cookbook](https://lmsysorg.mintlify.app/cookbook/llm/Qwen/Qwen3.5).
561
+
562
+ #### vLLM
563
+
564
+ [vLLM](https://github.com/vllm-project/vllm) is a high-throughput and memory-efficient inference and serving engine for LLMs.
565
+ `vllm>=0.19.0` is recommended for Qwen3.6, which can be installed using the following command in a fresh environment:
566
+ ```shell
567
+ uv pip install vllm --torch-backend=auto
568
+ ```
569
+ See [its documentation](https://docs.vllm.ai/en/stable/getting_started/installation/index.html) for more details.
570
+
571
+
572
+ The following will create API endpoints at `http://localhost:8000/v1`:
573
+
574
+ - **Standard Version**: The following command can be used to create an API endpoint with maximum context length 262,144 tokens using tensor parallel on 8 GPUs.
575
+
576
+ ```shell
577
+ vllm serve Qwen/Qwen3.6-27B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3
578
+ ```
579
+
580
+ - **Tool Call**: To support tool use, you can use the following command.
581
+
582
+ ```shell
583
+ vllm serve Qwen/Qwen3.6-27B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder
584
+ ```
585
+
586
+ - **Multi-Token Prediction (MTP)**: The following command is recommended for MTP:
587
+
588
+ ```shell
589
+ vllm serve Qwen/Qwen3.6-27B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3 --speculative-config '{"method":"qwen3_next_mtp","num_speculative_tokens":2}'
590
+ ```
591
+
592
+ - **Text-Only**: The following command skips the vision encoder and multimodal profiling to free up memory for additional KV cache:
593
+
594
+ ```shell
595
+ vllm serve Qwen/Qwen3.6-27B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3 --language-model-only
596
+ ```
597
+
598
+ For detailed deployment guide, see the [vLLM Qwen3.5 Recipe](https://docs.vllm.ai/projects/recipes/en/latest/Qwen/Qwen3.5.html).
599
+
600
+ #### KTransformers
601
+
602
+ [KTransformers](https://github.com/kvcache-ai/ktransformers) is a flexible framework for experiencing cutting-edge LLM inference optimizations with CPU-GPU heterogeneous computing.
603
+ For running Qwen3.6 with KTransformers, see the [KTransformers Deployment Guide](https://github.com/kvcache-ai/ktransformers/blob/main/doc/en/Qwen3.5.md).
604
+
605
+ #### Hugging Face Transformers
606
+
607
+ Hugging Face Transformers contains a _lightweight_ server which can be used for quick testing and moderate load deployment.
608
+ The latest `transformers` is required for Qwen3.6:
609
+ ```shell
610
+ pip install "transformers[serving]"
611
+ ```
612
+ See [its documentation](https://huggingface.co/docs/transformers/main/serving) for more details. Please also make sure torchvision and pillow are installed.
613
+
614
+ Then, run `transformers serve` to launch a server with API endpoints at `http://localhost:8000/v1`; it will place the model on accelerators if available:
615
+ ```shell
616
+ transformers serve Qwen/Qwen3.6-27B --port 8000 --continuous-batching
617
+ ```
618
+
619
+ ### Using Qwen3.6 via the Chat Completions API
620
+
621
+ The chat completions API is accessible via standard HTTP requests or OpenAI SDKs.
622
+ Here, we show examples using the OpenAI Python SDK.
623
+
624
+ Before starting, make sure it is installed and the API key and the API base URL is configured, e.g.:
625
+ ```shell
626
+ pip install -U openai
627
+
628
+ # Set the following accordingly
629
+ export OPENAI_BASE_URL="http://localhost:8000/v1"
630
+ export OPENAI_API_KEY="EMPTY"
631
+ ```
632
+
633
+ > [!Tip]
634
+ > We recommend using the following set of sampling parameters for generation
635
+ > - Thinking mode for general tasks: `temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0`
636
+ > - Thinking mode for precise coding tasks (e.g. WebDev): `temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0`
637
+ > - Instruct (or non-thinking) mode: `temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0`
638
+ >
639
+ > Please note that the support for sampling parameters varies according to inference frameworks.
640
+
641
+ > [!Important]
642
+ > Qwen3.6 models operate in thinking mode by default, generating thinking content signified by `<think>\n...</think>\n\n` before producing the final responses.
643
+ > To disable thinking content and obtain direct response, refer to the examples [here](#instruct-or-non-thinking-mode).
644
+
645
+
646
+ #### Text-Only Input
647
+
648
+ ```python
649
+ from openai import OpenAI
650
+ # Configured by environment variables
651
+ client = OpenAI()
652
+
653
+ messages = [
654
+ {"role": "user", "content": "Type \"I love Qwen3.6\" backwards"},
655
+ ]
656
+
657
+ chat_response = client.chat.completions.create(
658
+ model="Qwen/Qwen3.6-27B",
659
+ messages=messages,
660
+ max_tokens=81920,
661
+ temperature=1.0,
662
+ top_p=0.95,
663
+ presence_penalty=0.0,
664
+ extra_body={
665
+ "top_k": 20,
666
+ },
667
+ )
668
+ print("Chat response:", chat_response)
669
+ ```
670
+
671
+
672
+ #### Image Input
673
+
674
+ ```python
675
+ from openai import OpenAI
676
+ # Configured by environment variables
677
+ client = OpenAI()
678
+
679
+ messages = [
680
+ {
681
+ "role": "user",
682
+ "content": [
683
+ {
684
+ "type": "image_url",
685
+ "image_url": {
686
+ "url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.5/demo/CI_Demo/mathv-1327.jpg"
687
+ }
688
+ },
689
+ {
690
+ "type": "text",
691
+ "text": "The centres of the four illustrated circles are in the corners of the square. The two big circles touch each other and also the two little circles. With which factor do you have to multiply the radii of the little circles to obtain the radius of the big circles?\nChoices:\n(A) $\\frac{2}{9}$\n(B) $\\sqrt{5}$\n(C) $0.8 \\cdot \\pi$\n(D) 2.5\n(E) $1+\\sqrt{2}$"
692
+ }
693
+ ]
694
+ }
695
+ ]
696
+
697
+ chat_response = client.chat.completions.create(
698
+ model="Qwen/Qwen3.6-27B",
699
+ messages=messages,
700
+ max_tokens=81920,
701
+ temperature=1.0,
702
+ top_p=0.95,
703
+ presence_penalty=0.0,
704
+ extra_body={
705
+ "top_k": 20,
706
+ },
707
+ )
708
+ print("Chat response:", chat_response)
709
+ ```
710
+
711
+ #### Video Input
712
+
713
+ ```python
714
+ from openai import OpenAI
715
+ # Configured by environment variables
716
+ client = OpenAI()
717
+
718
+ messages = [
719
+ {
720
+ "role": "user",
721
+ "content": [
722
+ {
723
+ "type": "video_url",
724
+ "video_url": {
725
+ "url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.5/demo/video/N1cdUjctpG8.mp4"
726
+ }
727
+ },
728
+ {
729
+ "type": "text",
730
+ "text": "How many porcelain jars were discovered in the niches located in the primary chamber of the tomb?"
731
+ }
732
+ ]
733
+ }
734
+ ]
735
+
736
+ # When vLLM is launched with `--media-io-kwargs '{"video": {"num_frames": -1}}'`,
737
+ # video frame sampling can be configured via `extra_body` (e.g., by setting `fps`).
738
+ # This feature is currently supported only in vLLM.
739
+ #
740
+ # By default, `fps=2` and `do_sample_frames=True`.
741
+ # With `do_sample_frames=True`, you can customize the `fps` value to set your desired video sampling rate.
742
+ chat_response = client.chat.completions.create(
743
+ model="Qwen/Qwen3.6-27B",
744
+ messages=messages,
745
+ max_tokens=81920,
746
+ temperature=1.0,
747
+ top_p=0.95,
748
+ presence_penalty=0.0,
749
+ extra_body={
750
+ "top_k": 20,
751
+ "mm_processor_kwargs": {"fps": 2, "do_sample_frames": True},
752
+ },
753
+ )
754
+
755
+ print("Chat response:", chat_response)
756
+ ```
757
+
758
+
759
+ #### Instruct (or Non-Thinking) Mode
760
+
761
+ > [!Important]
762
+ > Qwen3.6 does not officially support the soft switch of Qwen3, i.e., `/think` and `/nothink`.
763
+
764
+ Qwen3.6 will think by default before response.
765
+ You can obtain direct response from the model without thinking by configuring the API parameters.
766
+ For example,
767
+ ```python
768
+ from openai import OpenAI
769
+ # Configured by environment variables
770
+ client = OpenAI()
771
+
772
+ messages = [
773
+ {
774
+ "role": "user",
775
+ "content": [
776
+ {
777
+ "type": "image_url",
778
+ "image_url": {
779
+ "url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.6/demo/RealWorld/RealWorld-04.png"
780
+ }
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "Where is this?"
785
+ }
786
+ ]
787
+ }
788
+ ]
789
+
790
+ chat_response = client.chat.completions.create(
791
+ model="Qwen/Qwen3.6-27B",
792
+ messages=messages,
793
+ max_tokens=32768,
794
+ temperature=0.7,
795
+ top_p=0.8,
796
+ presence_penalty=1.5,
797
+ extra_body={
798
+ "top_k": 20,
799
+ "chat_template_kwargs": {"enable_thinking": False},
800
+ },
801
+ )
802
+ print("Chat response:", chat_response)
803
+ ```
804
+
805
+ > [!Note]
806
+ > If you are using APIs from Alibaba Cloud Model Studio, in addition to changing `model`, please use `"enable_thinking": False` instead of `"chat_template_kwargs": {"enable_thinking": False}`.
807
+
808
+ #### Preserve Thinking
809
+
810
+ By default, only the thinking blocks generated in handling the latest user message is retained, resulting in a pattern commonly as interleaved thinking.
811
+ Qwen3.6 has been additionally trained to preserve and leverage thinking traces from historical messages.
812
+ You can enable this behavior by setting the `preserve_thinking` option:
813
+ ```python
814
+ from openai import OpenAI
815
+ # Configured by environment variables
816
+ client = OpenAI()
817
+
818
+ messages = [...]
819
+
820
+ chat_response = client.chat.completions.create(
821
+ model="Qwen/Qwen3.6-27B",
822
+ messages=messages,
823
+ max_tokens=32768,
824
+ temperature=0.6,
825
+ top_p=0.95,
826
+ presence_penalty=0.0,
827
+ extra_body={
828
+ "top_k": 20,
829
+ "chat_template_kwargs": {"preserve_thinking": True},
830
+ },
831
+ )
832
+ print("Chat response:", chat_response)
833
+ ```
834
+
835
+ > [!Note]
836
+ > If you are using APIs from Alibaba Cloud Model Studio, in addition to changing `model`, please use `"preserve_thinking": True` instead of `"chat_template_kwargs": {"preserve_thinking": False}`.
837
+
838
+
839
+ This capability is particularly beneficial for agent scenarios, where maintaining full reasoning context can enhance decision consistency and, in many cases, reduce overall token consumption by minimizing redundant reasoning. Additionally, it can improve KV cache utilization, optimizing inference efficiency in both thinking and non-thinking modes.
840
+
841
+
842
+ ## Agentic Usage
843
+
844
+ Qwen3.6 excels in tool calling capabilities.
845
+
846
+ ### Qwen-Agent
847
+
848
+ We recommend using [Qwen-Agent](https://github.com/QwenLM/Qwen-Agent) to quickly build Agent applications with Qwen3.6.
849
+
850
+ To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.
851
+ ```python
852
+ import os
853
+ from qwen_agent.agents import Assistant
854
+
855
+ # Define LLM
856
+ # Using Alibaba Cloud Model Studio
857
+ llm_cfg = {
858
+ # Use the OpenAI-compatible model service provided by DashScope:
859
+ 'model': 'qwen3.6-27b',
860
+ 'model_type': 'qwenvl_oai',
861
+ 'model_server': 'https://dashscope.aliyuncs.com/compatible-mode/v1',
862
+ 'api_key': os.getenv('DASHSCOPE_API_KEY'),
863
+
864
+ 'generate_cfg': {
865
+ 'use_raw_api': True,
866
+ # When using Dash Scope OAI API, pass the parameter of whether to enable thinking mode in this way
867
+ 'extra_body': {
868
+ 'enable_thinking': True,
869
+ 'preserve_thinking': True,
870
+ },
871
+ },
872
+ }
873
+
874
+ # Using OpenAI-compatible API endpoint.
875
+ # functionality of the deployment frameworks and let Qwen-Agent automate the related operations.
876
+ #
877
+ # llm_cfg = {
878
+ # # Use your own model service compatible with OpenAI API by vLLM/SGLang:
879
+ # 'model': 'Qwen/Qwen3.6-27B',
880
+ # 'model_type': 'qwenvl_oai',
881
+ # 'model_server': 'http://localhost:8000/v1', # api_base
882
+ # 'api_key': 'EMPTY',
883
+ #
884
+ # 'generate_cfg': {
885
+ # 'use_raw_api': True,
886
+ # # When using vLLM/SGLang OAI API, pass the parameter of whether to enable thinking mode in this way
887
+ # 'extra_body': {
888
+ # 'chat_template_kwargs': {'enable_thinking': True, 'preserve_thinking': True}
889
+ # },
890
+ # },
891
+ # }
892
+
893
+ # Define Tools
894
+ tools = [
895
+ {'mcpServers': { # You can specify the MCP configuration file
896
+ "filesystem": {
897
+ "command": "npx",
898
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/xxxx/Desktop"]
899
+ }
900
+ }
901
+ }
902
+ ]
903
+
904
+ # Define Agent
905
+ bot = Assistant(llm=llm_cfg, function_list=tools)
906
+
907
+ # Streaming generation
908
+ messages = [{'role': 'user', 'content': 'Help me organize my desktop.'}]
909
+ for responses in bot.run(messages=messages):
910
+ pass
911
+ print(responses)
912
+
913
+ # Streaming generation
914
+ messages = [{'role': 'user', 'content': 'Develop a dog website and save it on the desktop'}]
915
+ for responses in bot.run(messages=messages):
916
+ pass
917
+ print(responses)
918
+ ```
919
+
920
+ ### Qwen Code
921
+
922
+
923
+ [Qwen Code](https://github.com/QwenLM/qwen-code) is an open-source AI agent for the terminal, optimized for Qwen models. It helps you understand large codebases, automate tedious work, and ship faster.
924
+
925
+ For more information, please refer to [Qwen Code](https://qwenlm.github.io/qwen-code-docs/).
926
+
927
+ ## Processing Ultra-Long Texts
928
+
929
+ Qwen3.6 natively supports context lengths of up to 262,144 tokens.
930
+ For long-horizon tasks where the total length (including both input and output) exceeds this limit, we recommend using RoPE scaling techniques to handle long texts effectively., e.g., YaRN.
931
+
932
+ YaRN is currently supported by several inference frameworks, e.g., `transformers`, `vllm`, `ktransformers` and `sglang`.
933
+ In general, there are two approaches to enabling YaRN for supported frameworks:
934
+
935
+ - Modifying the model configuration file:
936
+ In the `config.json` file, change the `rope_parameters` fields in `text_config` to:
937
+ ```json
938
+ {
939
+ "mrope_interleaved": true,
940
+ "mrope_section": [
941
+ 11,
942
+ 11,
943
+ 10
944
+ ],
945
+ "rope_type": "yarn",
946
+ "rope_theta": 10000000,
947
+ "partial_rotary_factor": 0.25,
948
+ "factor": 4.0,
949
+ "original_max_position_embeddings": 262144,
950
+ }
951
+ ```
952
+
953
+ - Passing command line arguments:
954
+
955
+ For `vllm`, you can use
956
+ ```shell
957
+ VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 vllm serve ... --hf-overrides '{"text_config": {"rope_parameters": {"mrope_interleaved": true, "mrope_section": [11, 11, 10], "rope_type": "yarn", "rope_theta": 10000000, "partial_rotary_factor": 0.25, "factor": 4.0, "original_max_position_embeddings": 262144}}}' --max-model-len 1010000
958
+ ```
959
+
960
+ For `sglang` and `ktransformers`, you can use
961
+ ```shell
962
+ SGLANG_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN=1 python -m sglang.launch_server ... --json-model-override-args '{"text_config": {"rope_parameters": {"mrope_interleaved": true, "mrope_section": [11, 11, 10], "rope_type": "yarn", "rope_theta": 10000000, "partial_rotary_factor": 0.25, "factor": 4.0, "original_max_position_embeddings": 262144}}}' --context-length 1010000
963
+ ```
964
+
965
+ > [!NOTE]
966
+ > All the notable open-source frameworks implement static YaRN, which means the scaling factor remains constant regardless of input length, **potentially impacting performance on shorter texts.**
967
+ > We advise modifying the `rope_parameters` configuration only when processing long contexts is required.
968
+ > It is also recommended to modify the `factor` as needed. For example, if the typical context length for your application is 524,288 tokens, it would be better to set `factor` as 2.0.
969
+
970
+ ## Best Practices
971
+
972
+ To achieve optimal performance, we recommend the following settings:
973
+
974
+ 1. **Sampling Parameters**:
975
+ - We suggest using the following sets of sampling parameters depending on the mode and task type:
976
+ - **Thinking mode for general tasks**:
977
+ `temperature=1.0`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`
978
+ - **Thinking mode for precise coding tasks (e.g., WebDev)**:
979
+ `temperature=0.6`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`
980
+ - **Instruct (or non-thinking) mode**:
981
+ `temperature=0.7`, `top_p=0.80`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`
982
+ - For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
983
+
984
+ 2. **Adequate Output Length**: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 81,920 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
985
+
986
+ 3. **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.
987
+ - **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
988
+ - **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the `answer` field with only the choice letter, e.g., `"answer": "C"`."
989
+
990
+ 4. **Long Video Understanding**: To optimize inference efficiency for plain text and images, the `size` parameter in the released `video_preprocessor_config.json` is conservatively configured. It is recommended to set the `longest_edge` parameter in the video_preprocessor_config file to 469,762,048 (corresponding to 224k video tokens) to enable higher frame-rate sampling for hour-scale videos and thereby achieve superior performance. For example,
991
+ ```json
992
+ {"longest_edge": 469762048, "shortest_edge": 4096}
993
+ ```
994
+
995
+ Alternatively, override the default values via engine startup parameters. For implementation details, refer to: [vLLM](https://github.com/vllm-project/vllm/pull/34330) / [SGLang](https://github.com/sgl-project/sglang/pull/18467).
996
+
997
+
998
+ ### Citation
999
+
1000
+ If you find our work helpful, feel free to give us a cite.
1001
+
1002
+ ```bibtex
1003
+ @misc{qwen3.6-27b,
1004
+ title = {{Qwen3.6-27B}: Flagship-Level Coding in a {27B} Dense Model},
1005
+ author = {{Qwen Team}},
1006
+ month = {April},
1007
+ year = {2026},
1008
+ url = {https://qwen.ai/blog?id=qwen3.6-27b}
1009
+ }
1010
+ ```
chat_template.jinja ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {%- if tools and tools is iterable and tools is not mapping %}
46
+ {{- '<|im_start|>system\n' }}
47
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
48
+ {%- for tool in tools %}
49
+ {{- "\n" }}
50
+ {{- tool | tojson }}
51
+ {%- endfor %}
52
+ {{- "\n</tools>" }}
53
+ {{- '\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>' }}
54
+ {%- if messages[0].role == 'system' %}
55
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
56
+ {%- if content %}
57
+ {{- '\n\n' + content }}
58
+ {%- endif %}
59
+ {%- endif %}
60
+ {{- '<|im_end|>\n' }}
61
+ {%- else %}
62
+ {%- if messages[0].role == 'system' %}
63
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
64
+ {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
65
+ {%- endif %}
66
+ {%- endif %}
67
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
68
+ {%- for message in messages[::-1] %}
69
+ {%- set index = (messages|length - 1) - loop.index0 %}
70
+ {%- if ns.multi_step_tool and message.role == "user" %}
71
+ {%- set content = render_content(message.content, false)|trim %}
72
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
73
+ {%- set ns.multi_step_tool = false %}
74
+ {%- set ns.last_query_index = index %}
75
+ {%- endif %}
76
+ {%- endif %}
77
+ {%- endfor %}
78
+ {%- if ns.multi_step_tool %}
79
+ {{- raise_exception('No user query found in messages.') }}
80
+ {%- endif %}
81
+ {%- for message in messages %}
82
+ {%- set content = render_content(message.content, true)|trim %}
83
+ {%- if message.role == "system" %}
84
+ {%- if not loop.first %}
85
+ {{- raise_exception('System message must be at the beginning.') }}
86
+ {%- endif %}
87
+ {%- elif message.role == "user" %}
88
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
89
+ {%- elif message.role == "assistant" %}
90
+ {%- set reasoning_content = '' %}
91
+ {%- if message.reasoning_content is string %}
92
+ {%- set reasoning_content = message.reasoning_content %}
93
+ {%- else %}
94
+ {%- if '</think>' in content %}
95
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
96
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
97
+ {%- endif %}
98
+ {%- endif %}
99
+ {%- set reasoning_content = reasoning_content|trim %}
100
+ {%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}
101
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
102
+ {%- else %}
103
+ {{- '<|im_start|>' + message.role + '\n' + content }}
104
+ {%- endif %}
105
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
106
+ {%- for tool_call in message.tool_calls %}
107
+ {%- if tool_call.function is defined %}
108
+ {%- set tool_call = tool_call.function %}
109
+ {%- endif %}
110
+ {%- if loop.first %}
111
+ {%- if content|trim %}
112
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
113
+ {%- else %}
114
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
115
+ {%- endif %}
116
+ {%- else %}
117
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- if tool_call.arguments is defined %}
120
+ {%- for args_name, args_value in tool_call.arguments|items %}
121
+ {{- '<parameter=' + args_name + '>\n' }}
122
+ {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
123
+ {{- args_value }}
124
+ {{- '\n</parameter>\n' }}
125
+ {%- endfor %}
126
+ {%- endif %}
127
+ {{- '</function>\n</tool_call>' }}
128
+ {%- endfor %}
129
+ {%- endif %}
130
+ {{- '<|im_end|>\n' }}
131
+ {%- elif message.role == "tool" %}
132
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
133
+ {{- '<|im_start|>user' }}
134
+ {%- endif %}
135
+ {{- '\n<tool_response>\n' }}
136
+ {{- content }}
137
+ {{- '\n</tool_response>' }}
138
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
139
+ {{- '<|im_end|>\n' }}
140
+ {%- elif loop.last %}
141
+ {{- '<|im_end|>\n' }}
142
+ {%- endif %}
143
+ {%- else %}
144
+ {{- raise_exception('Unexpected message role.') }}
145
+ {%- endif %}
146
+ {%- endfor %}
147
+ {%- if add_generation_prompt %}
148
+ {{- '<|im_start|>assistant\n' }}
149
+ {%- if enable_thinking is defined and enable_thinking is false %}
150
+ {{- '<think>\n\n</think>\n\n' }}
151
+ {%- else %}
152
+ {{- '<think>\n' }}
153
+ {%- endif %}
154
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,2104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "image_token_id": 248056,
6
+ "language_model_only": false,
7
+ "model_type": "qwen3_5",
8
+ "text_config": {
9
+ "attention_bias": false,
10
+ "attention_dropout": 0.0,
11
+ "attn_output_gate": true,
12
+ "bos_token_id": 248044,
13
+ "dtype": "bfloat16",
14
+ "eos_token_id": 248044,
15
+ "full_attention_interval": 4,
16
+ "head_dim": 256,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 5120,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 17408,
21
+ "layer_types": [
22
+ "linear_attention",
23
+ "linear_attention",
24
+ "linear_attention",
25
+ "full_attention",
26
+ "linear_attention",
27
+ "linear_attention",
28
+ "linear_attention",
29
+ "full_attention",
30
+ "linear_attention",
31
+ "linear_attention",
32
+ "linear_attention",
33
+ "full_attention",
34
+ "linear_attention",
35
+ "linear_attention",
36
+ "linear_attention",
37
+ "full_attention",
38
+ "linear_attention",
39
+ "linear_attention",
40
+ "linear_attention",
41
+ "full_attention",
42
+ "linear_attention",
43
+ "linear_attention",
44
+ "linear_attention",
45
+ "full_attention",
46
+ "linear_attention",
47
+ "linear_attention",
48
+ "linear_attention",
49
+ "full_attention",
50
+ "linear_attention",
51
+ "linear_attention",
52
+ "linear_attention",
53
+ "full_attention",
54
+ "linear_attention",
55
+ "linear_attention",
56
+ "linear_attention",
57
+ "full_attention",
58
+ "linear_attention",
59
+ "linear_attention",
60
+ "linear_attention",
61
+ "full_attention",
62
+ "linear_attention",
63
+ "linear_attention",
64
+ "linear_attention",
65
+ "full_attention",
66
+ "linear_attention",
67
+ "linear_attention",
68
+ "linear_attention",
69
+ "full_attention",
70
+ "linear_attention",
71
+ "linear_attention",
72
+ "linear_attention",
73
+ "full_attention",
74
+ "linear_attention",
75
+ "linear_attention",
76
+ "linear_attention",
77
+ "full_attention",
78
+ "linear_attention",
79
+ "linear_attention",
80
+ "linear_attention",
81
+ "full_attention",
82
+ "linear_attention",
83
+ "linear_attention",
84
+ "linear_attention",
85
+ "full_attention"
86
+ ],
87
+ "linear_conv_kernel_dim": 4,
88
+ "linear_key_head_dim": 128,
89
+ "linear_num_key_heads": 16,
90
+ "linear_num_value_heads": 48,
91
+ "linear_value_head_dim": 128,
92
+ "mamba_ssm_dtype": "float32",
93
+ "max_position_embeddings": 262144,
94
+ "model_type": "qwen3_5_text",
95
+ "mtp_num_hidden_layers": 1,
96
+ "mtp_use_dedicated_embeddings": false,
97
+ "num_attention_heads": 24,
98
+ "num_hidden_layers": 64,
99
+ "num_key_value_heads": 4,
100
+ "output_gate_type": "swish",
101
+ "pad_token_id": null,
102
+ "partial_rotary_factor": 0.25,
103
+ "rms_norm_eps": 1e-06,
104
+ "rope_parameters": {
105
+ "mrope_interleaved": true,
106
+ "mrope_section": [
107
+ 11,
108
+ 11,
109
+ 10
110
+ ],
111
+ "partial_rotary_factor": 0.25,
112
+ "rope_theta": 10000000,
113
+ "type": "default"
114
+ },
115
+ "tie_word_embeddings": false,
116
+ "use_cache": true,
117
+ "vocab_size": 248320
118
+ },
119
+ "tie_word_embeddings": false,
120
+ "transformers_version": "4.57.1",
121
+ "video_token_id": 248057,
122
+ "vision_config": {
123
+ "deepstack_visual_indexes": [],
124
+ "depth": 27,
125
+ "hidden_act": "gelu_pytorch_tanh",
126
+ "hidden_size": 1152,
127
+ "in_channels": 3,
128
+ "initializer_range": 0.02,
129
+ "intermediate_size": 4304,
130
+ "model_type": "qwen3_5",
131
+ "num_heads": 16,
132
+ "num_position_embeddings": 2304,
133
+ "out_hidden_size": 5120,
134
+ "patch_size": 16,
135
+ "spatial_merge_size": 2,
136
+ "temporal_patch_size": 2
137
+ },
138
+ "vision_end_token_id": 248054,
139
+ "vision_start_token_id": 248053,
140
+ "eos_token_id": [
141
+ 248046,
142
+ 248044
143
+ ],
144
+ "quantization": {
145
+ "group_size": 64,
146
+ "bits": 4,
147
+ "mode": "affine",
148
+ "language_model.model.layers.0.mlp.down_proj": {
149
+ "bits": 5,
150
+ "group_size": 64,
151
+ "mode": "affine"
152
+ },
153
+ "language_model.model.layers.1.mlp.down_proj": {
154
+ "bits": 5,
155
+ "group_size": 64,
156
+ "mode": "affine"
157
+ },
158
+ "language_model.model.layers.10.mlp.down_proj": {
159
+ "bits": 5,
160
+ "group_size": 64,
161
+ "mode": "affine"
162
+ },
163
+ "language_model.model.layers.11.mlp.down_proj": {
164
+ "bits": 5,
165
+ "group_size": 64,
166
+ "mode": "affine"
167
+ },
168
+ "language_model.model.layers.12.mlp.down_proj": {
169
+ "bits": 5,
170
+ "group_size": 64,
171
+ "mode": "affine"
172
+ },
173
+ "language_model.model.layers.13.mlp.down_proj": {
174
+ "bits": 5,
175
+ "group_size": 64,
176
+ "mode": "affine"
177
+ },
178
+ "language_model.model.layers.14.mlp.down_proj": {
179
+ "bits": 5,
180
+ "group_size": 64,
181
+ "mode": "affine"
182
+ },
183
+ "language_model.model.layers.15.mlp.down_proj": {
184
+ "bits": 5,
185
+ "group_size": 64,
186
+ "mode": "affine"
187
+ },
188
+ "language_model.model.layers.16.mlp.down_proj": {
189
+ "bits": 5,
190
+ "group_size": 64,
191
+ "mode": "affine"
192
+ },
193
+ "language_model.model.layers.17.mlp.down_proj": {
194
+ "bits": 5,
195
+ "group_size": 64,
196
+ "mode": "affine"
197
+ },
198
+ "language_model.model.layers.18.mlp.down_proj": {
199
+ "bits": 5,
200
+ "group_size": 64,
201
+ "mode": "affine"
202
+ },
203
+ "language_model.model.layers.19.mlp.down_proj": {
204
+ "bits": 5,
205
+ "group_size": 64,
206
+ "mode": "affine"
207
+ },
208
+ "language_model.model.layers.2.mlp.down_proj": {
209
+ "bits": 5,
210
+ "group_size": 64,
211
+ "mode": "affine"
212
+ },
213
+ "language_model.model.layers.20.mlp.down_proj": {
214
+ "bits": 5,
215
+ "group_size": 64,
216
+ "mode": "affine"
217
+ },
218
+ "language_model.model.layers.21.mlp.down_proj": {
219
+ "bits": 5,
220
+ "group_size": 64,
221
+ "mode": "affine"
222
+ },
223
+ "language_model.model.layers.22.mlp.down_proj": {
224
+ "bits": 5,
225
+ "group_size": 64,
226
+ "mode": "affine"
227
+ },
228
+ "language_model.model.layers.23.mlp.down_proj": {
229
+ "bits": 5,
230
+ "group_size": 64,
231
+ "mode": "affine"
232
+ },
233
+ "language_model.model.layers.24.mlp.down_proj": {
234
+ "bits": 5,
235
+ "group_size": 64,
236
+ "mode": "affine"
237
+ },
238
+ "language_model.model.layers.25.mlp.down_proj": {
239
+ "bits": 5,
240
+ "group_size": 64,
241
+ "mode": "affine"
242
+ },
243
+ "language_model.model.layers.26.mlp.down_proj": {
244
+ "bits": 5,
245
+ "group_size": 64,
246
+ "mode": "affine"
247
+ },
248
+ "language_model.model.layers.27.mlp.down_proj": {
249
+ "bits": 5,
250
+ "group_size": 64,
251
+ "mode": "affine"
252
+ },
253
+ "language_model.model.layers.28.mlp.down_proj": {
254
+ "bits": 5,
255
+ "group_size": 64,
256
+ "mode": "affine"
257
+ },
258
+ "language_model.model.layers.29.mlp.down_proj": {
259
+ "bits": 5,
260
+ "group_size": 64,
261
+ "mode": "affine"
262
+ },
263
+ "language_model.model.layers.3.mlp.down_proj": {
264
+ "bits": 5,
265
+ "group_size": 64,
266
+ "mode": "affine"
267
+ },
268
+ "language_model.model.layers.30.mlp.down_proj": {
269
+ "bits": 5,
270
+ "group_size": 64,
271
+ "mode": "affine"
272
+ },
273
+ "language_model.model.layers.31.mlp.down_proj": {
274
+ "bits": 5,
275
+ "group_size": 64,
276
+ "mode": "affine"
277
+ },
278
+ "language_model.model.layers.4.mlp.down_proj": {
279
+ "bits": 5,
280
+ "group_size": 64,
281
+ "mode": "affine"
282
+ },
283
+ "language_model.model.layers.5.mlp.down_proj": {
284
+ "bits": 5,
285
+ "group_size": 64,
286
+ "mode": "affine"
287
+ },
288
+ "language_model.model.layers.6.mlp.down_proj": {
289
+ "bits": 5,
290
+ "group_size": 64,
291
+ "mode": "affine"
292
+ },
293
+ "language_model.model.layers.7.mlp.down_proj": {
294
+ "bits": 5,
295
+ "group_size": 64,
296
+ "mode": "affine"
297
+ },
298
+ "language_model.model.layers.8.mlp.down_proj": {
299
+ "bits": 5,
300
+ "group_size": 64,
301
+ "mode": "affine"
302
+ },
303
+ "language_model.model.layers.9.mlp.down_proj": {
304
+ "bits": 5,
305
+ "group_size": 64,
306
+ "mode": "affine"
307
+ },
308
+ "language_model.model.layers.0.linear_attn.in_proj_z": {
309
+ "bits": 5,
310
+ "group_size": 64,
311
+ "mode": "affine"
312
+ },
313
+ "language_model.model.layers.0.linear_attn.out_proj": {
314
+ "bits": 5,
315
+ "group_size": 64,
316
+ "mode": "affine"
317
+ },
318
+ "language_model.model.layers.1.linear_attn.in_proj_z": {
319
+ "bits": 5,
320
+ "group_size": 64,
321
+ "mode": "affine"
322
+ },
323
+ "language_model.model.layers.1.linear_attn.out_proj": {
324
+ "bits": 5,
325
+ "group_size": 64,
326
+ "mode": "affine"
327
+ },
328
+ "language_model.model.layers.10.linear_attn.in_proj_z": {
329
+ "bits": 5,
330
+ "group_size": 64,
331
+ "mode": "affine"
332
+ },
333
+ "language_model.model.layers.10.linear_attn.out_proj": {
334
+ "bits": 5,
335
+ "group_size": 64,
336
+ "mode": "affine"
337
+ },
338
+ "language_model.model.layers.11.self_attn.k_proj": {
339
+ "bits": 5,
340
+ "group_size": 64,
341
+ "mode": "affine"
342
+ },
343
+ "language_model.model.layers.11.self_attn.o_proj": {
344
+ "bits": 5,
345
+ "group_size": 64,
346
+ "mode": "affine"
347
+ },
348
+ "language_model.model.layers.12.linear_attn.in_proj_z": {
349
+ "bits": 5,
350
+ "group_size": 64,
351
+ "mode": "affine"
352
+ },
353
+ "language_model.model.layers.12.linear_attn.out_proj": {
354
+ "bits": 5,
355
+ "group_size": 64,
356
+ "mode": "affine"
357
+ },
358
+ "language_model.model.layers.13.linear_attn.in_proj_z": {
359
+ "bits": 5,
360
+ "group_size": 64,
361
+ "mode": "affine"
362
+ },
363
+ "language_model.model.layers.13.linear_attn.out_proj": {
364
+ "bits": 5,
365
+ "group_size": 64,
366
+ "mode": "affine"
367
+ },
368
+ "language_model.model.layers.14.linear_attn.in_proj_z": {
369
+ "bits": 5,
370
+ "group_size": 64,
371
+ "mode": "affine"
372
+ },
373
+ "language_model.model.layers.14.linear_attn.out_proj": {
374
+ "bits": 5,
375
+ "group_size": 64,
376
+ "mode": "affine"
377
+ },
378
+ "language_model.model.layers.15.self_attn.o_proj": {
379
+ "bits": 5,
380
+ "group_size": 64,
381
+ "mode": "affine"
382
+ },
383
+ "language_model.model.layers.16.linear_attn.in_proj_z": {
384
+ "bits": 5,
385
+ "group_size": 64,
386
+ "mode": "affine"
387
+ },
388
+ "language_model.model.layers.16.linear_attn.out_proj": {
389
+ "bits": 5,
390
+ "group_size": 64,
391
+ "mode": "affine"
392
+ },
393
+ "language_model.model.layers.17.linear_attn.in_proj_z": {
394
+ "bits": 5,
395
+ "group_size": 64,
396
+ "mode": "affine"
397
+ },
398
+ "language_model.model.layers.17.linear_attn.out_proj": {
399
+ "bits": 5,
400
+ "group_size": 64,
401
+ "mode": "affine"
402
+ },
403
+ "language_model.model.layers.18.linear_attn.in_proj_z": {
404
+ "bits": 5,
405
+ "group_size": 64,
406
+ "mode": "affine"
407
+ },
408
+ "language_model.model.layers.18.linear_attn.out_proj": {
409
+ "bits": 5,
410
+ "group_size": 64,
411
+ "mode": "affine"
412
+ },
413
+ "language_model.model.layers.19.self_attn.o_proj": {
414
+ "bits": 5,
415
+ "group_size": 64,
416
+ "mode": "affine"
417
+ },
418
+ "language_model.model.layers.2.linear_attn.in_proj_z": {
419
+ "bits": 5,
420
+ "group_size": 64,
421
+ "mode": "affine"
422
+ },
423
+ "language_model.model.layers.2.linear_attn.out_proj": {
424
+ "bits": 5,
425
+ "group_size": 64,
426
+ "mode": "affine"
427
+ },
428
+ "language_model.model.layers.20.linear_attn.in_proj_z": {
429
+ "bits": 5,
430
+ "group_size": 64,
431
+ "mode": "affine"
432
+ },
433
+ "language_model.model.layers.20.linear_attn.out_proj": {
434
+ "bits": 5,
435
+ "group_size": 64,
436
+ "mode": "affine"
437
+ },
438
+ "language_model.model.layers.21.linear_attn.in_proj_z": {
439
+ "bits": 5,
440
+ "group_size": 64,
441
+ "mode": "affine"
442
+ },
443
+ "language_model.model.layers.21.linear_attn.out_proj": {
444
+ "bits": 5,
445
+ "group_size": 64,
446
+ "mode": "affine"
447
+ },
448
+ "language_model.model.layers.22.linear_attn.in_proj_z": {
449
+ "bits": 5,
450
+ "group_size": 64,
451
+ "mode": "affine"
452
+ },
453
+ "language_model.model.layers.22.linear_attn.out_proj": {
454
+ "bits": 5,
455
+ "group_size": 64,
456
+ "mode": "affine"
457
+ },
458
+ "language_model.model.layers.23.self_attn.o_proj": {
459
+ "bits": 5,
460
+ "group_size": 64,
461
+ "mode": "affine"
462
+ },
463
+ "language_model.model.layers.24.linear_attn.in_proj_z": {
464
+ "bits": 5,
465
+ "group_size": 64,
466
+ "mode": "affine"
467
+ },
468
+ "language_model.model.layers.24.linear_attn.out_proj": {
469
+ "bits": 5,
470
+ "group_size": 64,
471
+ "mode": "affine"
472
+ },
473
+ "language_model.model.layers.25.linear_attn.out_proj": {
474
+ "bits": 5,
475
+ "group_size": 64,
476
+ "mode": "affine"
477
+ },
478
+ "language_model.model.layers.26.linear_attn.out_proj": {
479
+ "bits": 5,
480
+ "group_size": 64,
481
+ "mode": "affine"
482
+ },
483
+ "language_model.model.layers.28.linear_attn.out_proj": {
484
+ "bits": 5,
485
+ "group_size": 64,
486
+ "mode": "affine"
487
+ },
488
+ "language_model.model.layers.29.linear_attn.out_proj": {
489
+ "bits": 5,
490
+ "group_size": 64,
491
+ "mode": "affine"
492
+ },
493
+ "language_model.model.layers.30.linear_attn.out_proj": {
494
+ "bits": 5,
495
+ "group_size": 64,
496
+ "mode": "affine"
497
+ },
498
+ "language_model.model.layers.4.linear_attn.out_proj": {
499
+ "bits": 5,
500
+ "group_size": 64,
501
+ "mode": "affine"
502
+ },
503
+ "language_model.model.layers.5.linear_attn.out_proj": {
504
+ "bits": 5,
505
+ "group_size": 64,
506
+ "mode": "affine"
507
+ },
508
+ "language_model.model.layers.6.linear_attn.out_proj": {
509
+ "bits": 5,
510
+ "group_size": 64,
511
+ "mode": "affine"
512
+ },
513
+ "language_model.model.layers.8.linear_attn.out_proj": {
514
+ "bits": 5,
515
+ "group_size": 64,
516
+ "mode": "affine"
517
+ },
518
+ "language_model.model.layers.9.linear_attn.out_proj": {
519
+ "bits": 5,
520
+ "group_size": 64,
521
+ "mode": "affine"
522
+ },
523
+ "language_model.model.layers.0.linear_attn.in_proj_a": {
524
+ "bits": 6,
525
+ "group_size": 64,
526
+ "mode": "affine"
527
+ },
528
+ "language_model.model.layers.0.linear_attn.in_proj_b": {
529
+ "bits": 6,
530
+ "group_size": 64,
531
+ "mode": "affine"
532
+ },
533
+ "language_model.model.layers.1.linear_attn.in_proj_a": {
534
+ "bits": 6,
535
+ "group_size": 64,
536
+ "mode": "affine"
537
+ },
538
+ "language_model.model.layers.1.linear_attn.in_proj_b": {
539
+ "bits": 6,
540
+ "group_size": 64,
541
+ "mode": "affine"
542
+ },
543
+ "language_model.model.layers.10.linear_attn.in_proj_a": {
544
+ "bits": 5,
545
+ "group_size": 64,
546
+ "mode": "affine"
547
+ },
548
+ "language_model.model.layers.10.linear_attn.in_proj_b": {
549
+ "bits": 5,
550
+ "group_size": 64,
551
+ "mode": "affine"
552
+ },
553
+ "language_model.model.layers.12.linear_attn.in_proj_a": {
554
+ "bits": 5,
555
+ "group_size": 64,
556
+ "mode": "affine"
557
+ },
558
+ "language_model.model.layers.12.linear_attn.in_proj_b": {
559
+ "bits": 5,
560
+ "group_size": 64,
561
+ "mode": "affine"
562
+ },
563
+ "language_model.model.layers.13.linear_attn.in_proj_a": {
564
+ "bits": 5,
565
+ "group_size": 64,
566
+ "mode": "affine"
567
+ },
568
+ "language_model.model.layers.13.linear_attn.in_proj_b": {
569
+ "bits": 5,
570
+ "group_size": 64,
571
+ "mode": "affine"
572
+ },
573
+ "language_model.model.layers.14.linear_attn.in_proj_a": {
574
+ "bits": 5,
575
+ "group_size": 64,
576
+ "mode": "affine"
577
+ },
578
+ "language_model.model.layers.14.linear_attn.in_proj_b": {
579
+ "bits": 5,
580
+ "group_size": 64,
581
+ "mode": "affine"
582
+ },
583
+ "language_model.model.layers.16.linear_attn.in_proj_a": {
584
+ "bits": 5,
585
+ "group_size": 64,
586
+ "mode": "affine"
587
+ },
588
+ "language_model.model.layers.16.linear_attn.in_proj_b": {
589
+ "bits": 5,
590
+ "group_size": 64,
591
+ "mode": "affine"
592
+ },
593
+ "language_model.model.layers.17.linear_attn.in_proj_a": {
594
+ "bits": 5,
595
+ "group_size": 64,
596
+ "mode": "affine"
597
+ },
598
+ "language_model.model.layers.17.linear_attn.in_proj_b": {
599
+ "bits": 5,
600
+ "group_size": 64,
601
+ "mode": "affine"
602
+ },
603
+ "language_model.model.layers.18.linear_attn.in_proj_a": {
604
+ "bits": 5,
605
+ "group_size": 64,
606
+ "mode": "affine"
607
+ },
608
+ "language_model.model.layers.18.linear_attn.in_proj_b": {
609
+ "bits": 5,
610
+ "group_size": 64,
611
+ "mode": "affine"
612
+ },
613
+ "language_model.model.layers.2.linear_attn.in_proj_a": {
614
+ "bits": 5,
615
+ "group_size": 64,
616
+ "mode": "affine"
617
+ },
618
+ "language_model.model.layers.2.linear_attn.in_proj_b": {
619
+ "bits": 5,
620
+ "group_size": 64,
621
+ "mode": "affine"
622
+ },
623
+ "language_model.model.layers.20.linear_attn.in_proj_a": {
624
+ "bits": 5,
625
+ "group_size": 64,
626
+ "mode": "affine"
627
+ },
628
+ "language_model.model.layers.20.linear_attn.in_proj_b": {
629
+ "bits": 5,
630
+ "group_size": 64,
631
+ "mode": "affine"
632
+ },
633
+ "language_model.model.layers.21.linear_attn.in_proj_a": {
634
+ "bits": 5,
635
+ "group_size": 64,
636
+ "mode": "affine"
637
+ },
638
+ "language_model.model.layers.21.linear_attn.in_proj_b": {
639
+ "bits": 5,
640
+ "group_size": 64,
641
+ "mode": "affine"
642
+ },
643
+ "language_model.model.layers.22.linear_attn.in_proj_a": {
644
+ "bits": 5,
645
+ "group_size": 64,
646
+ "mode": "affine"
647
+ },
648
+ "language_model.model.layers.22.linear_attn.in_proj_b": {
649
+ "bits": 5,
650
+ "group_size": 64,
651
+ "mode": "affine"
652
+ },
653
+ "language_model.model.layers.24.linear_attn.in_proj_a": {
654
+ "bits": 5,
655
+ "group_size": 64,
656
+ "mode": "affine"
657
+ },
658
+ "language_model.model.layers.24.linear_attn.in_proj_b": {
659
+ "bits": 5,
660
+ "group_size": 64,
661
+ "mode": "affine"
662
+ },
663
+ "language_model.model.layers.25.linear_attn.in_proj_a": {
664
+ "bits": 5,
665
+ "group_size": 64,
666
+ "mode": "affine"
667
+ },
668
+ "language_model.model.layers.25.linear_attn.in_proj_b": {
669
+ "bits": 5,
670
+ "group_size": 64,
671
+ "mode": "affine"
672
+ },
673
+ "language_model.model.layers.26.linear_attn.in_proj_a": {
674
+ "bits": 5,
675
+ "group_size": 64,
676
+ "mode": "affine"
677
+ },
678
+ "language_model.model.layers.26.linear_attn.in_proj_b": {
679
+ "bits": 5,
680
+ "group_size": 64,
681
+ "mode": "affine"
682
+ },
683
+ "language_model.model.layers.28.linear_attn.in_proj_a": {
684
+ "bits": 5,
685
+ "group_size": 64,
686
+ "mode": "affine"
687
+ },
688
+ "language_model.model.layers.28.linear_attn.in_proj_b": {
689
+ "bits": 5,
690
+ "group_size": 64,
691
+ "mode": "affine"
692
+ },
693
+ "language_model.model.layers.29.linear_attn.in_proj_a": {
694
+ "bits": 5,
695
+ "group_size": 64,
696
+ "mode": "affine"
697
+ },
698
+ "language_model.model.layers.29.linear_attn.in_proj_b": {
699
+ "bits": 5,
700
+ "group_size": 64,
701
+ "mode": "affine"
702
+ },
703
+ "language_model.model.layers.30.linear_attn.in_proj_a": {
704
+ "bits": 5,
705
+ "group_size": 64,
706
+ "mode": "affine"
707
+ },
708
+ "language_model.model.layers.30.linear_attn.in_proj_b": {
709
+ "bits": 5,
710
+ "group_size": 64,
711
+ "mode": "affine"
712
+ },
713
+ "language_model.model.layers.4.linear_attn.in_proj_a": {
714
+ "bits": 5,
715
+ "group_size": 64,
716
+ "mode": "affine"
717
+ },
718
+ "language_model.model.layers.4.linear_attn.in_proj_b": {
719
+ "bits": 5,
720
+ "group_size": 64,
721
+ "mode": "affine"
722
+ },
723
+ "language_model.model.layers.5.linear_attn.in_proj_a": {
724
+ "bits": 5,
725
+ "group_size": 64,
726
+ "mode": "affine"
727
+ },
728
+ "language_model.model.layers.5.linear_attn.in_proj_b": {
729
+ "bits": 5,
730
+ "group_size": 64,
731
+ "mode": "affine"
732
+ },
733
+ "language_model.model.layers.6.linear_attn.in_proj_a": {
734
+ "bits": 5,
735
+ "group_size": 64,
736
+ "mode": "affine"
737
+ },
738
+ "language_model.model.layers.6.linear_attn.in_proj_b": {
739
+ "bits": 5,
740
+ "group_size": 64,
741
+ "mode": "affine"
742
+ },
743
+ "language_model.model.layers.8.linear_attn.in_proj_a": {
744
+ "bits": 5,
745
+ "group_size": 64,
746
+ "mode": "affine"
747
+ },
748
+ "language_model.model.layers.8.linear_attn.in_proj_b": {
749
+ "bits": 5,
750
+ "group_size": 64,
751
+ "mode": "affine"
752
+ },
753
+ "language_model.model.layers.9.linear_attn.in_proj_a": {
754
+ "bits": 5,
755
+ "group_size": 64,
756
+ "mode": "affine"
757
+ },
758
+ "language_model.model.layers.9.linear_attn.in_proj_b": {
759
+ "bits": 5,
760
+ "group_size": 64,
761
+ "mode": "affine"
762
+ },
763
+ "language_model.model.layers.32.linear_attn.out_proj": {
764
+ "bits": 5,
765
+ "group_size": 64,
766
+ "mode": "affine"
767
+ },
768
+ "language_model.model.layers.33.linear_attn.out_proj": {
769
+ "bits": 5,
770
+ "group_size": 64,
771
+ "mode": "affine"
772
+ },
773
+ "language_model.model.layers.34.linear_attn.out_proj": {
774
+ "bits": 5,
775
+ "group_size": 64,
776
+ "mode": "affine"
777
+ },
778
+ "language_model.model.layers.36.linear_attn.out_proj": {
779
+ "bits": 5,
780
+ "group_size": 64,
781
+ "mode": "affine"
782
+ },
783
+ "language_model.model.layers.37.linear_attn.out_proj": {
784
+ "bits": 5,
785
+ "group_size": 64,
786
+ "mode": "affine"
787
+ },
788
+ "language_model.model.layers.38.linear_attn.out_proj": {
789
+ "bits": 5,
790
+ "group_size": 64,
791
+ "mode": "affine"
792
+ },
793
+ "language_model.model.layers.40.linear_attn.out_proj": {
794
+ "bits": 5,
795
+ "group_size": 64,
796
+ "mode": "affine"
797
+ },
798
+ "language_model.model.layers.41.linear_attn.out_proj": {
799
+ "bits": 5,
800
+ "group_size": 64,
801
+ "mode": "affine"
802
+ },
803
+ "language_model.model.layers.42.linear_attn.out_proj": {
804
+ "bits": 5,
805
+ "group_size": 64,
806
+ "mode": "affine"
807
+ },
808
+ "language_model.model.layers.44.linear_attn.out_proj": {
809
+ "bits": 5,
810
+ "group_size": 64,
811
+ "mode": "affine"
812
+ },
813
+ "language_model.model.layers.45.linear_attn.out_proj": {
814
+ "bits": 5,
815
+ "group_size": 64,
816
+ "mode": "affine"
817
+ },
818
+ "language_model.model.layers.46.linear_attn.out_proj": {
819
+ "bits": 5,
820
+ "group_size": 64,
821
+ "mode": "affine"
822
+ },
823
+ "language_model.model.layers.48.linear_attn.out_proj": {
824
+ "bits": 5,
825
+ "group_size": 64,
826
+ "mode": "affine"
827
+ },
828
+ "language_model.model.layers.49.linear_attn.out_proj": {
829
+ "bits": 5,
830
+ "group_size": 64,
831
+ "mode": "affine"
832
+ },
833
+ "language_model.model.layers.50.linear_attn.out_proj": {
834
+ "bits": 5,
835
+ "group_size": 64,
836
+ "mode": "affine"
837
+ },
838
+ "language_model.model.layers.52.linear_attn.out_proj": {
839
+ "bits": 5,
840
+ "group_size": 64,
841
+ "mode": "affine"
842
+ },
843
+ "language_model.model.layers.53.linear_attn.out_proj": {
844
+ "bits": 5,
845
+ "group_size": 64,
846
+ "mode": "affine"
847
+ },
848
+ "language_model.model.layers.54.linear_attn.out_proj": {
849
+ "bits": 5,
850
+ "group_size": 64,
851
+ "mode": "affine"
852
+ },
853
+ "language_model.model.layers.56.linear_attn.out_proj": {
854
+ "bits": 5,
855
+ "group_size": 64,
856
+ "mode": "affine"
857
+ },
858
+ "language_model.model.layers.57.linear_attn.out_proj": {
859
+ "bits": 5,
860
+ "group_size": 64,
861
+ "mode": "affine"
862
+ },
863
+ "language_model.model.layers.58.linear_attn.out_proj": {
864
+ "bits": 5,
865
+ "group_size": 64,
866
+ "mode": "affine"
867
+ },
868
+ "language_model.model.layers.60.linear_attn.out_proj": {
869
+ "bits": 5,
870
+ "group_size": 64,
871
+ "mode": "affine"
872
+ },
873
+ "language_model.model.layers.32.linear_attn.in_proj_a": {
874
+ "bits": 5,
875
+ "group_size": 64,
876
+ "mode": "affine"
877
+ },
878
+ "language_model.model.layers.32.linear_attn.in_proj_b": {
879
+ "bits": 5,
880
+ "group_size": 64,
881
+ "mode": "affine"
882
+ },
883
+ "language_model.model.layers.33.linear_attn.in_proj_a": {
884
+ "bits": 5,
885
+ "group_size": 64,
886
+ "mode": "affine"
887
+ },
888
+ "language_model.model.layers.33.linear_attn.in_proj_b": {
889
+ "bits": 5,
890
+ "group_size": 64,
891
+ "mode": "affine"
892
+ },
893
+ "language_model.model.layers.34.linear_attn.in_proj_a": {
894
+ "bits": 5,
895
+ "group_size": 64,
896
+ "mode": "affine"
897
+ },
898
+ "language_model.model.layers.34.linear_attn.in_proj_b": {
899
+ "bits": 5,
900
+ "group_size": 64,
901
+ "mode": "affine"
902
+ },
903
+ "language_model.model.layers.36.linear_attn.in_proj_a": {
904
+ "bits": 5,
905
+ "group_size": 64,
906
+ "mode": "affine"
907
+ },
908
+ "language_model.model.layers.36.linear_attn.in_proj_b": {
909
+ "bits": 5,
910
+ "group_size": 64,
911
+ "mode": "affine"
912
+ },
913
+ "language_model.model.layers.37.linear_attn.in_proj_a": {
914
+ "bits": 5,
915
+ "group_size": 64,
916
+ "mode": "affine"
917
+ },
918
+ "language_model.model.layers.37.linear_attn.in_proj_b": {
919
+ "bits": 5,
920
+ "group_size": 64,
921
+ "mode": "affine"
922
+ },
923
+ "language_model.model.layers.38.linear_attn.in_proj_a": {
924
+ "bits": 5,
925
+ "group_size": 64,
926
+ "mode": "affine"
927
+ },
928
+ "language_model.model.layers.38.linear_attn.in_proj_b": {
929
+ "bits": 5,
930
+ "group_size": 64,
931
+ "mode": "affine"
932
+ },
933
+ "language_model.model.layers.40.linear_attn.in_proj_a": {
934
+ "bits": 5,
935
+ "group_size": 64,
936
+ "mode": "affine"
937
+ },
938
+ "language_model.model.layers.40.linear_attn.in_proj_b": {
939
+ "bits": 5,
940
+ "group_size": 64,
941
+ "mode": "affine"
942
+ },
943
+ "language_model.model.layers.41.linear_attn.in_proj_a": {
944
+ "bits": 5,
945
+ "group_size": 64,
946
+ "mode": "affine"
947
+ },
948
+ "language_model.model.layers.41.linear_attn.in_proj_b": {
949
+ "bits": 5,
950
+ "group_size": 64,
951
+ "mode": "affine"
952
+ },
953
+ "language_model.model.layers.42.linear_attn.in_proj_a": {
954
+ "bits": 5,
955
+ "group_size": 64,
956
+ "mode": "affine"
957
+ },
958
+ "language_model.model.layers.42.linear_attn.in_proj_b": {
959
+ "bits": 5,
960
+ "group_size": 64,
961
+ "mode": "affine"
962
+ },
963
+ "language_model.model.layers.44.linear_attn.in_proj_a": {
964
+ "bits": 5,
965
+ "group_size": 64,
966
+ "mode": "affine"
967
+ },
968
+ "language_model.model.layers.44.linear_attn.in_proj_b": {
969
+ "bits": 5,
970
+ "group_size": 64,
971
+ "mode": "affine"
972
+ },
973
+ "language_model.model.layers.45.linear_attn.in_proj_a": {
974
+ "bits": 5,
975
+ "group_size": 64,
976
+ "mode": "affine"
977
+ },
978
+ "language_model.model.layers.45.linear_attn.in_proj_b": {
979
+ "bits": 5,
980
+ "group_size": 64,
981
+ "mode": "affine"
982
+ },
983
+ "language_model.model.layers.46.linear_attn.in_proj_a": {
984
+ "bits": 5,
985
+ "group_size": 64,
986
+ "mode": "affine"
987
+ },
988
+ "language_model.model.layers.46.linear_attn.in_proj_b": {
989
+ "bits": 5,
990
+ "group_size": 64,
991
+ "mode": "affine"
992
+ },
993
+ "language_model.model.layers.48.linear_attn.in_proj_a": {
994
+ "bits": 5,
995
+ "group_size": 64,
996
+ "mode": "affine"
997
+ },
998
+ "language_model.model.layers.48.linear_attn.in_proj_b": {
999
+ "bits": 5,
1000
+ "group_size": 64,
1001
+ "mode": "affine"
1002
+ },
1003
+ "language_model.model.layers.49.linear_attn.in_proj_a": {
1004
+ "bits": 5,
1005
+ "group_size": 64,
1006
+ "mode": "affine"
1007
+ },
1008
+ "language_model.model.layers.49.linear_attn.in_proj_b": {
1009
+ "bits": 5,
1010
+ "group_size": 64,
1011
+ "mode": "affine"
1012
+ },
1013
+ "language_model.model.layers.50.linear_attn.in_proj_a": {
1014
+ "bits": 5,
1015
+ "group_size": 64,
1016
+ "mode": "affine"
1017
+ },
1018
+ "language_model.model.layers.50.linear_attn.in_proj_b": {
1019
+ "bits": 5,
1020
+ "group_size": 64,
1021
+ "mode": "affine"
1022
+ },
1023
+ "language_model.model.layers.52.linear_attn.in_proj_a": {
1024
+ "bits": 5,
1025
+ "group_size": 64,
1026
+ "mode": "affine"
1027
+ },
1028
+ "language_model.model.layers.52.linear_attn.in_proj_b": {
1029
+ "bits": 5,
1030
+ "group_size": 64,
1031
+ "mode": "affine"
1032
+ },
1033
+ "language_model.model.layers.53.linear_attn.in_proj_a": {
1034
+ "bits": 5,
1035
+ "group_size": 64,
1036
+ "mode": "affine"
1037
+ },
1038
+ "language_model.model.layers.53.linear_attn.in_proj_b": {
1039
+ "bits": 5,
1040
+ "group_size": 64,
1041
+ "mode": "affine"
1042
+ },
1043
+ "language_model.model.layers.54.linear_attn.in_proj_a": {
1044
+ "bits": 5,
1045
+ "group_size": 64,
1046
+ "mode": "affine"
1047
+ },
1048
+ "language_model.model.layers.54.linear_attn.in_proj_b": {
1049
+ "bits": 5,
1050
+ "group_size": 64,
1051
+ "mode": "affine"
1052
+ },
1053
+ "language_model.model.layers.56.linear_attn.in_proj_a": {
1054
+ "bits": 5,
1055
+ "group_size": 64,
1056
+ "mode": "affine"
1057
+ },
1058
+ "language_model.model.layers.56.linear_attn.in_proj_b": {
1059
+ "bits": 5,
1060
+ "group_size": 64,
1061
+ "mode": "affine"
1062
+ },
1063
+ "language_model.model.layers.57.linear_attn.in_proj_a": {
1064
+ "bits": 5,
1065
+ "group_size": 64,
1066
+ "mode": "affine"
1067
+ },
1068
+ "language_model.model.layers.57.linear_attn.in_proj_b": {
1069
+ "bits": 5,
1070
+ "group_size": 64,
1071
+ "mode": "affine"
1072
+ },
1073
+ "language_model.model.layers.58.linear_attn.in_proj_a": {
1074
+ "bits": 5,
1075
+ "group_size": 64,
1076
+ "mode": "affine"
1077
+ },
1078
+ "language_model.model.layers.58.linear_attn.in_proj_b": {
1079
+ "bits": 5,
1080
+ "group_size": 64,
1081
+ "mode": "affine"
1082
+ },
1083
+ "language_model.model.layers.60.linear_attn.in_proj_a": {
1084
+ "bits": 5,
1085
+ "group_size": 64,
1086
+ "mode": "affine"
1087
+ },
1088
+ "language_model.model.layers.60.linear_attn.in_proj_b": {
1089
+ "bits": 5,
1090
+ "group_size": 64,
1091
+ "mode": "affine"
1092
+ },
1093
+ "language_model.model.layers.61.linear_attn.in_proj_a": {
1094
+ "bits": 5,
1095
+ "group_size": 64,
1096
+ "mode": "affine"
1097
+ },
1098
+ "language_model.model.layers.61.linear_attn.in_proj_b": {
1099
+ "bits": 5,
1100
+ "group_size": 64,
1101
+ "mode": "affine"
1102
+ },
1103
+ "language_model.model.layers.61.linear_attn.out_proj": {
1104
+ "bits": 5,
1105
+ "group_size": 64,
1106
+ "mode": "affine"
1107
+ },
1108
+ "language_model.model.layers.62.linear_attn.in_proj_a": {
1109
+ "bits": 5,
1110
+ "group_size": 64,
1111
+ "mode": "affine"
1112
+ },
1113
+ "language_model.model.layers.62.linear_attn.in_proj_b": {
1114
+ "bits": 5,
1115
+ "group_size": 64,
1116
+ "mode": "affine"
1117
+ },
1118
+ "language_model.model.layers.62.linear_attn.out_proj": {
1119
+ "bits": 5,
1120
+ "group_size": 64,
1121
+ "mode": "affine"
1122
+ }
1123
+ },
1124
+ "quantization_config": {
1125
+ "group_size": 64,
1126
+ "bits": 4,
1127
+ "mode": "affine",
1128
+ "language_model.model.layers.0.mlp.down_proj": {
1129
+ "bits": 5,
1130
+ "group_size": 64,
1131
+ "mode": "affine"
1132
+ },
1133
+ "language_model.model.layers.1.mlp.down_proj": {
1134
+ "bits": 5,
1135
+ "group_size": 64,
1136
+ "mode": "affine"
1137
+ },
1138
+ "language_model.model.layers.10.mlp.down_proj": {
1139
+ "bits": 5,
1140
+ "group_size": 64,
1141
+ "mode": "affine"
1142
+ },
1143
+ "language_model.model.layers.11.mlp.down_proj": {
1144
+ "bits": 5,
1145
+ "group_size": 64,
1146
+ "mode": "affine"
1147
+ },
1148
+ "language_model.model.layers.12.mlp.down_proj": {
1149
+ "bits": 5,
1150
+ "group_size": 64,
1151
+ "mode": "affine"
1152
+ },
1153
+ "language_model.model.layers.13.mlp.down_proj": {
1154
+ "bits": 5,
1155
+ "group_size": 64,
1156
+ "mode": "affine"
1157
+ },
1158
+ "language_model.model.layers.14.mlp.down_proj": {
1159
+ "bits": 5,
1160
+ "group_size": 64,
1161
+ "mode": "affine"
1162
+ },
1163
+ "language_model.model.layers.15.mlp.down_proj": {
1164
+ "bits": 5,
1165
+ "group_size": 64,
1166
+ "mode": "affine"
1167
+ },
1168
+ "language_model.model.layers.16.mlp.down_proj": {
1169
+ "bits": 5,
1170
+ "group_size": 64,
1171
+ "mode": "affine"
1172
+ },
1173
+ "language_model.model.layers.17.mlp.down_proj": {
1174
+ "bits": 5,
1175
+ "group_size": 64,
1176
+ "mode": "affine"
1177
+ },
1178
+ "language_model.model.layers.18.mlp.down_proj": {
1179
+ "bits": 5,
1180
+ "group_size": 64,
1181
+ "mode": "affine"
1182
+ },
1183
+ "language_model.model.layers.19.mlp.down_proj": {
1184
+ "bits": 5,
1185
+ "group_size": 64,
1186
+ "mode": "affine"
1187
+ },
1188
+ "language_model.model.layers.2.mlp.down_proj": {
1189
+ "bits": 5,
1190
+ "group_size": 64,
1191
+ "mode": "affine"
1192
+ },
1193
+ "language_model.model.layers.20.mlp.down_proj": {
1194
+ "bits": 5,
1195
+ "group_size": 64,
1196
+ "mode": "affine"
1197
+ },
1198
+ "language_model.model.layers.21.mlp.down_proj": {
1199
+ "bits": 5,
1200
+ "group_size": 64,
1201
+ "mode": "affine"
1202
+ },
1203
+ "language_model.model.layers.22.mlp.down_proj": {
1204
+ "bits": 5,
1205
+ "group_size": 64,
1206
+ "mode": "affine"
1207
+ },
1208
+ "language_model.model.layers.23.mlp.down_proj": {
1209
+ "bits": 5,
1210
+ "group_size": 64,
1211
+ "mode": "affine"
1212
+ },
1213
+ "language_model.model.layers.24.mlp.down_proj": {
1214
+ "bits": 5,
1215
+ "group_size": 64,
1216
+ "mode": "affine"
1217
+ },
1218
+ "language_model.model.layers.25.mlp.down_proj": {
1219
+ "bits": 5,
1220
+ "group_size": 64,
1221
+ "mode": "affine"
1222
+ },
1223
+ "language_model.model.layers.26.mlp.down_proj": {
1224
+ "bits": 5,
1225
+ "group_size": 64,
1226
+ "mode": "affine"
1227
+ },
1228
+ "language_model.model.layers.27.mlp.down_proj": {
1229
+ "bits": 5,
1230
+ "group_size": 64,
1231
+ "mode": "affine"
1232
+ },
1233
+ "language_model.model.layers.28.mlp.down_proj": {
1234
+ "bits": 5,
1235
+ "group_size": 64,
1236
+ "mode": "affine"
1237
+ },
1238
+ "language_model.model.layers.29.mlp.down_proj": {
1239
+ "bits": 5,
1240
+ "group_size": 64,
1241
+ "mode": "affine"
1242
+ },
1243
+ "language_model.model.layers.3.mlp.down_proj": {
1244
+ "bits": 5,
1245
+ "group_size": 64,
1246
+ "mode": "affine"
1247
+ },
1248
+ "language_model.model.layers.30.mlp.down_proj": {
1249
+ "bits": 5,
1250
+ "group_size": 64,
1251
+ "mode": "affine"
1252
+ },
1253
+ "language_model.model.layers.31.mlp.down_proj": {
1254
+ "bits": 5,
1255
+ "group_size": 64,
1256
+ "mode": "affine"
1257
+ },
1258
+ "language_model.model.layers.4.mlp.down_proj": {
1259
+ "bits": 5,
1260
+ "group_size": 64,
1261
+ "mode": "affine"
1262
+ },
1263
+ "language_model.model.layers.5.mlp.down_proj": {
1264
+ "bits": 5,
1265
+ "group_size": 64,
1266
+ "mode": "affine"
1267
+ },
1268
+ "language_model.model.layers.6.mlp.down_proj": {
1269
+ "bits": 5,
1270
+ "group_size": 64,
1271
+ "mode": "affine"
1272
+ },
1273
+ "language_model.model.layers.7.mlp.down_proj": {
1274
+ "bits": 5,
1275
+ "group_size": 64,
1276
+ "mode": "affine"
1277
+ },
1278
+ "language_model.model.layers.8.mlp.down_proj": {
1279
+ "bits": 5,
1280
+ "group_size": 64,
1281
+ "mode": "affine"
1282
+ },
1283
+ "language_model.model.layers.9.mlp.down_proj": {
1284
+ "bits": 5,
1285
+ "group_size": 64,
1286
+ "mode": "affine"
1287
+ },
1288
+ "language_model.model.layers.0.linear_attn.in_proj_z": {
1289
+ "bits": 5,
1290
+ "group_size": 64,
1291
+ "mode": "affine"
1292
+ },
1293
+ "language_model.model.layers.0.linear_attn.out_proj": {
1294
+ "bits": 5,
1295
+ "group_size": 64,
1296
+ "mode": "affine"
1297
+ },
1298
+ "language_model.model.layers.1.linear_attn.in_proj_z": {
1299
+ "bits": 5,
1300
+ "group_size": 64,
1301
+ "mode": "affine"
1302
+ },
1303
+ "language_model.model.layers.1.linear_attn.out_proj": {
1304
+ "bits": 5,
1305
+ "group_size": 64,
1306
+ "mode": "affine"
1307
+ },
1308
+ "language_model.model.layers.10.linear_attn.in_proj_z": {
1309
+ "bits": 5,
1310
+ "group_size": 64,
1311
+ "mode": "affine"
1312
+ },
1313
+ "language_model.model.layers.10.linear_attn.out_proj": {
1314
+ "bits": 5,
1315
+ "group_size": 64,
1316
+ "mode": "affine"
1317
+ },
1318
+ "language_model.model.layers.11.self_attn.k_proj": {
1319
+ "bits": 5,
1320
+ "group_size": 64,
1321
+ "mode": "affine"
1322
+ },
1323
+ "language_model.model.layers.11.self_attn.o_proj": {
1324
+ "bits": 5,
1325
+ "group_size": 64,
1326
+ "mode": "affine"
1327
+ },
1328
+ "language_model.model.layers.12.linear_attn.in_proj_z": {
1329
+ "bits": 5,
1330
+ "group_size": 64,
1331
+ "mode": "affine"
1332
+ },
1333
+ "language_model.model.layers.12.linear_attn.out_proj": {
1334
+ "bits": 5,
1335
+ "group_size": 64,
1336
+ "mode": "affine"
1337
+ },
1338
+ "language_model.model.layers.13.linear_attn.in_proj_z": {
1339
+ "bits": 5,
1340
+ "group_size": 64,
1341
+ "mode": "affine"
1342
+ },
1343
+ "language_model.model.layers.13.linear_attn.out_proj": {
1344
+ "bits": 5,
1345
+ "group_size": 64,
1346
+ "mode": "affine"
1347
+ },
1348
+ "language_model.model.layers.14.linear_attn.in_proj_z": {
1349
+ "bits": 5,
1350
+ "group_size": 64,
1351
+ "mode": "affine"
1352
+ },
1353
+ "language_model.model.layers.14.linear_attn.out_proj": {
1354
+ "bits": 5,
1355
+ "group_size": 64,
1356
+ "mode": "affine"
1357
+ },
1358
+ "language_model.model.layers.15.self_attn.o_proj": {
1359
+ "bits": 5,
1360
+ "group_size": 64,
1361
+ "mode": "affine"
1362
+ },
1363
+ "language_model.model.layers.16.linear_attn.in_proj_z": {
1364
+ "bits": 5,
1365
+ "group_size": 64,
1366
+ "mode": "affine"
1367
+ },
1368
+ "language_model.model.layers.16.linear_attn.out_proj": {
1369
+ "bits": 5,
1370
+ "group_size": 64,
1371
+ "mode": "affine"
1372
+ },
1373
+ "language_model.model.layers.17.linear_attn.in_proj_z": {
1374
+ "bits": 5,
1375
+ "group_size": 64,
1376
+ "mode": "affine"
1377
+ },
1378
+ "language_model.model.layers.17.linear_attn.out_proj": {
1379
+ "bits": 5,
1380
+ "group_size": 64,
1381
+ "mode": "affine"
1382
+ },
1383
+ "language_model.model.layers.18.linear_attn.in_proj_z": {
1384
+ "bits": 5,
1385
+ "group_size": 64,
1386
+ "mode": "affine"
1387
+ },
1388
+ "language_model.model.layers.18.linear_attn.out_proj": {
1389
+ "bits": 5,
1390
+ "group_size": 64,
1391
+ "mode": "affine"
1392
+ },
1393
+ "language_model.model.layers.19.self_attn.o_proj": {
1394
+ "bits": 5,
1395
+ "group_size": 64,
1396
+ "mode": "affine"
1397
+ },
1398
+ "language_model.model.layers.2.linear_attn.in_proj_z": {
1399
+ "bits": 5,
1400
+ "group_size": 64,
1401
+ "mode": "affine"
1402
+ },
1403
+ "language_model.model.layers.2.linear_attn.out_proj": {
1404
+ "bits": 5,
1405
+ "group_size": 64,
1406
+ "mode": "affine"
1407
+ },
1408
+ "language_model.model.layers.20.linear_attn.in_proj_z": {
1409
+ "bits": 5,
1410
+ "group_size": 64,
1411
+ "mode": "affine"
1412
+ },
1413
+ "language_model.model.layers.20.linear_attn.out_proj": {
1414
+ "bits": 5,
1415
+ "group_size": 64,
1416
+ "mode": "affine"
1417
+ },
1418
+ "language_model.model.layers.21.linear_attn.in_proj_z": {
1419
+ "bits": 5,
1420
+ "group_size": 64,
1421
+ "mode": "affine"
1422
+ },
1423
+ "language_model.model.layers.21.linear_attn.out_proj": {
1424
+ "bits": 5,
1425
+ "group_size": 64,
1426
+ "mode": "affine"
1427
+ },
1428
+ "language_model.model.layers.22.linear_attn.in_proj_z": {
1429
+ "bits": 5,
1430
+ "group_size": 64,
1431
+ "mode": "affine"
1432
+ },
1433
+ "language_model.model.layers.22.linear_attn.out_proj": {
1434
+ "bits": 5,
1435
+ "group_size": 64,
1436
+ "mode": "affine"
1437
+ },
1438
+ "language_model.model.layers.23.self_attn.o_proj": {
1439
+ "bits": 5,
1440
+ "group_size": 64,
1441
+ "mode": "affine"
1442
+ },
1443
+ "language_model.model.layers.24.linear_attn.in_proj_z": {
1444
+ "bits": 5,
1445
+ "group_size": 64,
1446
+ "mode": "affine"
1447
+ },
1448
+ "language_model.model.layers.24.linear_attn.out_proj": {
1449
+ "bits": 5,
1450
+ "group_size": 64,
1451
+ "mode": "affine"
1452
+ },
1453
+ "language_model.model.layers.25.linear_attn.out_proj": {
1454
+ "bits": 5,
1455
+ "group_size": 64,
1456
+ "mode": "affine"
1457
+ },
1458
+ "language_model.model.layers.26.linear_attn.out_proj": {
1459
+ "bits": 5,
1460
+ "group_size": 64,
1461
+ "mode": "affine"
1462
+ },
1463
+ "language_model.model.layers.28.linear_attn.out_proj": {
1464
+ "bits": 5,
1465
+ "group_size": 64,
1466
+ "mode": "affine"
1467
+ },
1468
+ "language_model.model.layers.29.linear_attn.out_proj": {
1469
+ "bits": 5,
1470
+ "group_size": 64,
1471
+ "mode": "affine"
1472
+ },
1473
+ "language_model.model.layers.30.linear_attn.out_proj": {
1474
+ "bits": 5,
1475
+ "group_size": 64,
1476
+ "mode": "affine"
1477
+ },
1478
+ "language_model.model.layers.4.linear_attn.out_proj": {
1479
+ "bits": 5,
1480
+ "group_size": 64,
1481
+ "mode": "affine"
1482
+ },
1483
+ "language_model.model.layers.5.linear_attn.out_proj": {
1484
+ "bits": 5,
1485
+ "group_size": 64,
1486
+ "mode": "affine"
1487
+ },
1488
+ "language_model.model.layers.6.linear_attn.out_proj": {
1489
+ "bits": 5,
1490
+ "group_size": 64,
1491
+ "mode": "affine"
1492
+ },
1493
+ "language_model.model.layers.8.linear_attn.out_proj": {
1494
+ "bits": 5,
1495
+ "group_size": 64,
1496
+ "mode": "affine"
1497
+ },
1498
+ "language_model.model.layers.9.linear_attn.out_proj": {
1499
+ "bits": 5,
1500
+ "group_size": 64,
1501
+ "mode": "affine"
1502
+ },
1503
+ "language_model.model.layers.0.linear_attn.in_proj_a": {
1504
+ "bits": 6,
1505
+ "group_size": 64,
1506
+ "mode": "affine"
1507
+ },
1508
+ "language_model.model.layers.0.linear_attn.in_proj_b": {
1509
+ "bits": 6,
1510
+ "group_size": 64,
1511
+ "mode": "affine"
1512
+ },
1513
+ "language_model.model.layers.1.linear_attn.in_proj_a": {
1514
+ "bits": 6,
1515
+ "group_size": 64,
1516
+ "mode": "affine"
1517
+ },
1518
+ "language_model.model.layers.1.linear_attn.in_proj_b": {
1519
+ "bits": 6,
1520
+ "group_size": 64,
1521
+ "mode": "affine"
1522
+ },
1523
+ "language_model.model.layers.10.linear_attn.in_proj_a": {
1524
+ "bits": 5,
1525
+ "group_size": 64,
1526
+ "mode": "affine"
1527
+ },
1528
+ "language_model.model.layers.10.linear_attn.in_proj_b": {
1529
+ "bits": 5,
1530
+ "group_size": 64,
1531
+ "mode": "affine"
1532
+ },
1533
+ "language_model.model.layers.12.linear_attn.in_proj_a": {
1534
+ "bits": 5,
1535
+ "group_size": 64,
1536
+ "mode": "affine"
1537
+ },
1538
+ "language_model.model.layers.12.linear_attn.in_proj_b": {
1539
+ "bits": 5,
1540
+ "group_size": 64,
1541
+ "mode": "affine"
1542
+ },
1543
+ "language_model.model.layers.13.linear_attn.in_proj_a": {
1544
+ "bits": 5,
1545
+ "group_size": 64,
1546
+ "mode": "affine"
1547
+ },
1548
+ "language_model.model.layers.13.linear_attn.in_proj_b": {
1549
+ "bits": 5,
1550
+ "group_size": 64,
1551
+ "mode": "affine"
1552
+ },
1553
+ "language_model.model.layers.14.linear_attn.in_proj_a": {
1554
+ "bits": 5,
1555
+ "group_size": 64,
1556
+ "mode": "affine"
1557
+ },
1558
+ "language_model.model.layers.14.linear_attn.in_proj_b": {
1559
+ "bits": 5,
1560
+ "group_size": 64,
1561
+ "mode": "affine"
1562
+ },
1563
+ "language_model.model.layers.16.linear_attn.in_proj_a": {
1564
+ "bits": 5,
1565
+ "group_size": 64,
1566
+ "mode": "affine"
1567
+ },
1568
+ "language_model.model.layers.16.linear_attn.in_proj_b": {
1569
+ "bits": 5,
1570
+ "group_size": 64,
1571
+ "mode": "affine"
1572
+ },
1573
+ "language_model.model.layers.17.linear_attn.in_proj_a": {
1574
+ "bits": 5,
1575
+ "group_size": 64,
1576
+ "mode": "affine"
1577
+ },
1578
+ "language_model.model.layers.17.linear_attn.in_proj_b": {
1579
+ "bits": 5,
1580
+ "group_size": 64,
1581
+ "mode": "affine"
1582
+ },
1583
+ "language_model.model.layers.18.linear_attn.in_proj_a": {
1584
+ "bits": 5,
1585
+ "group_size": 64,
1586
+ "mode": "affine"
1587
+ },
1588
+ "language_model.model.layers.18.linear_attn.in_proj_b": {
1589
+ "bits": 5,
1590
+ "group_size": 64,
1591
+ "mode": "affine"
1592
+ },
1593
+ "language_model.model.layers.2.linear_attn.in_proj_a": {
1594
+ "bits": 5,
1595
+ "group_size": 64,
1596
+ "mode": "affine"
1597
+ },
1598
+ "language_model.model.layers.2.linear_attn.in_proj_b": {
1599
+ "bits": 5,
1600
+ "group_size": 64,
1601
+ "mode": "affine"
1602
+ },
1603
+ "language_model.model.layers.20.linear_attn.in_proj_a": {
1604
+ "bits": 5,
1605
+ "group_size": 64,
1606
+ "mode": "affine"
1607
+ },
1608
+ "language_model.model.layers.20.linear_attn.in_proj_b": {
1609
+ "bits": 5,
1610
+ "group_size": 64,
1611
+ "mode": "affine"
1612
+ },
1613
+ "language_model.model.layers.21.linear_attn.in_proj_a": {
1614
+ "bits": 5,
1615
+ "group_size": 64,
1616
+ "mode": "affine"
1617
+ },
1618
+ "language_model.model.layers.21.linear_attn.in_proj_b": {
1619
+ "bits": 5,
1620
+ "group_size": 64,
1621
+ "mode": "affine"
1622
+ },
1623
+ "language_model.model.layers.22.linear_attn.in_proj_a": {
1624
+ "bits": 5,
1625
+ "group_size": 64,
1626
+ "mode": "affine"
1627
+ },
1628
+ "language_model.model.layers.22.linear_attn.in_proj_b": {
1629
+ "bits": 5,
1630
+ "group_size": 64,
1631
+ "mode": "affine"
1632
+ },
1633
+ "language_model.model.layers.24.linear_attn.in_proj_a": {
1634
+ "bits": 5,
1635
+ "group_size": 64,
1636
+ "mode": "affine"
1637
+ },
1638
+ "language_model.model.layers.24.linear_attn.in_proj_b": {
1639
+ "bits": 5,
1640
+ "group_size": 64,
1641
+ "mode": "affine"
1642
+ },
1643
+ "language_model.model.layers.25.linear_attn.in_proj_a": {
1644
+ "bits": 5,
1645
+ "group_size": 64,
1646
+ "mode": "affine"
1647
+ },
1648
+ "language_model.model.layers.25.linear_attn.in_proj_b": {
1649
+ "bits": 5,
1650
+ "group_size": 64,
1651
+ "mode": "affine"
1652
+ },
1653
+ "language_model.model.layers.26.linear_attn.in_proj_a": {
1654
+ "bits": 5,
1655
+ "group_size": 64,
1656
+ "mode": "affine"
1657
+ },
1658
+ "language_model.model.layers.26.linear_attn.in_proj_b": {
1659
+ "bits": 5,
1660
+ "group_size": 64,
1661
+ "mode": "affine"
1662
+ },
1663
+ "language_model.model.layers.28.linear_attn.in_proj_a": {
1664
+ "bits": 5,
1665
+ "group_size": 64,
1666
+ "mode": "affine"
1667
+ },
1668
+ "language_model.model.layers.28.linear_attn.in_proj_b": {
1669
+ "bits": 5,
1670
+ "group_size": 64,
1671
+ "mode": "affine"
1672
+ },
1673
+ "language_model.model.layers.29.linear_attn.in_proj_a": {
1674
+ "bits": 5,
1675
+ "group_size": 64,
1676
+ "mode": "affine"
1677
+ },
1678
+ "language_model.model.layers.29.linear_attn.in_proj_b": {
1679
+ "bits": 5,
1680
+ "group_size": 64,
1681
+ "mode": "affine"
1682
+ },
1683
+ "language_model.model.layers.30.linear_attn.in_proj_a": {
1684
+ "bits": 5,
1685
+ "group_size": 64,
1686
+ "mode": "affine"
1687
+ },
1688
+ "language_model.model.layers.30.linear_attn.in_proj_b": {
1689
+ "bits": 5,
1690
+ "group_size": 64,
1691
+ "mode": "affine"
1692
+ },
1693
+ "language_model.model.layers.4.linear_attn.in_proj_a": {
1694
+ "bits": 5,
1695
+ "group_size": 64,
1696
+ "mode": "affine"
1697
+ },
1698
+ "language_model.model.layers.4.linear_attn.in_proj_b": {
1699
+ "bits": 5,
1700
+ "group_size": 64,
1701
+ "mode": "affine"
1702
+ },
1703
+ "language_model.model.layers.5.linear_attn.in_proj_a": {
1704
+ "bits": 5,
1705
+ "group_size": 64,
1706
+ "mode": "affine"
1707
+ },
1708
+ "language_model.model.layers.5.linear_attn.in_proj_b": {
1709
+ "bits": 5,
1710
+ "group_size": 64,
1711
+ "mode": "affine"
1712
+ },
1713
+ "language_model.model.layers.6.linear_attn.in_proj_a": {
1714
+ "bits": 5,
1715
+ "group_size": 64,
1716
+ "mode": "affine"
1717
+ },
1718
+ "language_model.model.layers.6.linear_attn.in_proj_b": {
1719
+ "bits": 5,
1720
+ "group_size": 64,
1721
+ "mode": "affine"
1722
+ },
1723
+ "language_model.model.layers.8.linear_attn.in_proj_a": {
1724
+ "bits": 5,
1725
+ "group_size": 64,
1726
+ "mode": "affine"
1727
+ },
1728
+ "language_model.model.layers.8.linear_attn.in_proj_b": {
1729
+ "bits": 5,
1730
+ "group_size": 64,
1731
+ "mode": "affine"
1732
+ },
1733
+ "language_model.model.layers.9.linear_attn.in_proj_a": {
1734
+ "bits": 5,
1735
+ "group_size": 64,
1736
+ "mode": "affine"
1737
+ },
1738
+ "language_model.model.layers.9.linear_attn.in_proj_b": {
1739
+ "bits": 5,
1740
+ "group_size": 64,
1741
+ "mode": "affine"
1742
+ },
1743
+ "language_model.model.layers.32.linear_attn.out_proj": {
1744
+ "bits": 5,
1745
+ "group_size": 64,
1746
+ "mode": "affine"
1747
+ },
1748
+ "language_model.model.layers.33.linear_attn.out_proj": {
1749
+ "bits": 5,
1750
+ "group_size": 64,
1751
+ "mode": "affine"
1752
+ },
1753
+ "language_model.model.layers.34.linear_attn.out_proj": {
1754
+ "bits": 5,
1755
+ "group_size": 64,
1756
+ "mode": "affine"
1757
+ },
1758
+ "language_model.model.layers.36.linear_attn.out_proj": {
1759
+ "bits": 5,
1760
+ "group_size": 64,
1761
+ "mode": "affine"
1762
+ },
1763
+ "language_model.model.layers.37.linear_attn.out_proj": {
1764
+ "bits": 5,
1765
+ "group_size": 64,
1766
+ "mode": "affine"
1767
+ },
1768
+ "language_model.model.layers.38.linear_attn.out_proj": {
1769
+ "bits": 5,
1770
+ "group_size": 64,
1771
+ "mode": "affine"
1772
+ },
1773
+ "language_model.model.layers.40.linear_attn.out_proj": {
1774
+ "bits": 5,
1775
+ "group_size": 64,
1776
+ "mode": "affine"
1777
+ },
1778
+ "language_model.model.layers.41.linear_attn.out_proj": {
1779
+ "bits": 5,
1780
+ "group_size": 64,
1781
+ "mode": "affine"
1782
+ },
1783
+ "language_model.model.layers.42.linear_attn.out_proj": {
1784
+ "bits": 5,
1785
+ "group_size": 64,
1786
+ "mode": "affine"
1787
+ },
1788
+ "language_model.model.layers.44.linear_attn.out_proj": {
1789
+ "bits": 5,
1790
+ "group_size": 64,
1791
+ "mode": "affine"
1792
+ },
1793
+ "language_model.model.layers.45.linear_attn.out_proj": {
1794
+ "bits": 5,
1795
+ "group_size": 64,
1796
+ "mode": "affine"
1797
+ },
1798
+ "language_model.model.layers.46.linear_attn.out_proj": {
1799
+ "bits": 5,
1800
+ "group_size": 64,
1801
+ "mode": "affine"
1802
+ },
1803
+ "language_model.model.layers.48.linear_attn.out_proj": {
1804
+ "bits": 5,
1805
+ "group_size": 64,
1806
+ "mode": "affine"
1807
+ },
1808
+ "language_model.model.layers.49.linear_attn.out_proj": {
1809
+ "bits": 5,
1810
+ "group_size": 64,
1811
+ "mode": "affine"
1812
+ },
1813
+ "language_model.model.layers.50.linear_attn.out_proj": {
1814
+ "bits": 5,
1815
+ "group_size": 64,
1816
+ "mode": "affine"
1817
+ },
1818
+ "language_model.model.layers.52.linear_attn.out_proj": {
1819
+ "bits": 5,
1820
+ "group_size": 64,
1821
+ "mode": "affine"
1822
+ },
1823
+ "language_model.model.layers.53.linear_attn.out_proj": {
1824
+ "bits": 5,
1825
+ "group_size": 64,
1826
+ "mode": "affine"
1827
+ },
1828
+ "language_model.model.layers.54.linear_attn.out_proj": {
1829
+ "bits": 5,
1830
+ "group_size": 64,
1831
+ "mode": "affine"
1832
+ },
1833
+ "language_model.model.layers.56.linear_attn.out_proj": {
1834
+ "bits": 5,
1835
+ "group_size": 64,
1836
+ "mode": "affine"
1837
+ },
1838
+ "language_model.model.layers.57.linear_attn.out_proj": {
1839
+ "bits": 5,
1840
+ "group_size": 64,
1841
+ "mode": "affine"
1842
+ },
1843
+ "language_model.model.layers.58.linear_attn.out_proj": {
1844
+ "bits": 5,
1845
+ "group_size": 64,
1846
+ "mode": "affine"
1847
+ },
1848
+ "language_model.model.layers.60.linear_attn.out_proj": {
1849
+ "bits": 5,
1850
+ "group_size": 64,
1851
+ "mode": "affine"
1852
+ },
1853
+ "language_model.model.layers.32.linear_attn.in_proj_a": {
1854
+ "bits": 5,
1855
+ "group_size": 64,
1856
+ "mode": "affine"
1857
+ },
1858
+ "language_model.model.layers.32.linear_attn.in_proj_b": {
1859
+ "bits": 5,
1860
+ "group_size": 64,
1861
+ "mode": "affine"
1862
+ },
1863
+ "language_model.model.layers.33.linear_attn.in_proj_a": {
1864
+ "bits": 5,
1865
+ "group_size": 64,
1866
+ "mode": "affine"
1867
+ },
1868
+ "language_model.model.layers.33.linear_attn.in_proj_b": {
1869
+ "bits": 5,
1870
+ "group_size": 64,
1871
+ "mode": "affine"
1872
+ },
1873
+ "language_model.model.layers.34.linear_attn.in_proj_a": {
1874
+ "bits": 5,
1875
+ "group_size": 64,
1876
+ "mode": "affine"
1877
+ },
1878
+ "language_model.model.layers.34.linear_attn.in_proj_b": {
1879
+ "bits": 5,
1880
+ "group_size": 64,
1881
+ "mode": "affine"
1882
+ },
1883
+ "language_model.model.layers.36.linear_attn.in_proj_a": {
1884
+ "bits": 5,
1885
+ "group_size": 64,
1886
+ "mode": "affine"
1887
+ },
1888
+ "language_model.model.layers.36.linear_attn.in_proj_b": {
1889
+ "bits": 5,
1890
+ "group_size": 64,
1891
+ "mode": "affine"
1892
+ },
1893
+ "language_model.model.layers.37.linear_attn.in_proj_a": {
1894
+ "bits": 5,
1895
+ "group_size": 64,
1896
+ "mode": "affine"
1897
+ },
1898
+ "language_model.model.layers.37.linear_attn.in_proj_b": {
1899
+ "bits": 5,
1900
+ "group_size": 64,
1901
+ "mode": "affine"
1902
+ },
1903
+ "language_model.model.layers.38.linear_attn.in_proj_a": {
1904
+ "bits": 5,
1905
+ "group_size": 64,
1906
+ "mode": "affine"
1907
+ },
1908
+ "language_model.model.layers.38.linear_attn.in_proj_b": {
1909
+ "bits": 5,
1910
+ "group_size": 64,
1911
+ "mode": "affine"
1912
+ },
1913
+ "language_model.model.layers.40.linear_attn.in_proj_a": {
1914
+ "bits": 5,
1915
+ "group_size": 64,
1916
+ "mode": "affine"
1917
+ },
1918
+ "language_model.model.layers.40.linear_attn.in_proj_b": {
1919
+ "bits": 5,
1920
+ "group_size": 64,
1921
+ "mode": "affine"
1922
+ },
1923
+ "language_model.model.layers.41.linear_attn.in_proj_a": {
1924
+ "bits": 5,
1925
+ "group_size": 64,
1926
+ "mode": "affine"
1927
+ },
1928
+ "language_model.model.layers.41.linear_attn.in_proj_b": {
1929
+ "bits": 5,
1930
+ "group_size": 64,
1931
+ "mode": "affine"
1932
+ },
1933
+ "language_model.model.layers.42.linear_attn.in_proj_a": {
1934
+ "bits": 5,
1935
+ "group_size": 64,
1936
+ "mode": "affine"
1937
+ },
1938
+ "language_model.model.layers.42.linear_attn.in_proj_b": {
1939
+ "bits": 5,
1940
+ "group_size": 64,
1941
+ "mode": "affine"
1942
+ },
1943
+ "language_model.model.layers.44.linear_attn.in_proj_a": {
1944
+ "bits": 5,
1945
+ "group_size": 64,
1946
+ "mode": "affine"
1947
+ },
1948
+ "language_model.model.layers.44.linear_attn.in_proj_b": {
1949
+ "bits": 5,
1950
+ "group_size": 64,
1951
+ "mode": "affine"
1952
+ },
1953
+ "language_model.model.layers.45.linear_attn.in_proj_a": {
1954
+ "bits": 5,
1955
+ "group_size": 64,
1956
+ "mode": "affine"
1957
+ },
1958
+ "language_model.model.layers.45.linear_attn.in_proj_b": {
1959
+ "bits": 5,
1960
+ "group_size": 64,
1961
+ "mode": "affine"
1962
+ },
1963
+ "language_model.model.layers.46.linear_attn.in_proj_a": {
1964
+ "bits": 5,
1965
+ "group_size": 64,
1966
+ "mode": "affine"
1967
+ },
1968
+ "language_model.model.layers.46.linear_attn.in_proj_b": {
1969
+ "bits": 5,
1970
+ "group_size": 64,
1971
+ "mode": "affine"
1972
+ },
1973
+ "language_model.model.layers.48.linear_attn.in_proj_a": {
1974
+ "bits": 5,
1975
+ "group_size": 64,
1976
+ "mode": "affine"
1977
+ },
1978
+ "language_model.model.layers.48.linear_attn.in_proj_b": {
1979
+ "bits": 5,
1980
+ "group_size": 64,
1981
+ "mode": "affine"
1982
+ },
1983
+ "language_model.model.layers.49.linear_attn.in_proj_a": {
1984
+ "bits": 5,
1985
+ "group_size": 64,
1986
+ "mode": "affine"
1987
+ },
1988
+ "language_model.model.layers.49.linear_attn.in_proj_b": {
1989
+ "bits": 5,
1990
+ "group_size": 64,
1991
+ "mode": "affine"
1992
+ },
1993
+ "language_model.model.layers.50.linear_attn.in_proj_a": {
1994
+ "bits": 5,
1995
+ "group_size": 64,
1996
+ "mode": "affine"
1997
+ },
1998
+ "language_model.model.layers.50.linear_attn.in_proj_b": {
1999
+ "bits": 5,
2000
+ "group_size": 64,
2001
+ "mode": "affine"
2002
+ },
2003
+ "language_model.model.layers.52.linear_attn.in_proj_a": {
2004
+ "bits": 5,
2005
+ "group_size": 64,
2006
+ "mode": "affine"
2007
+ },
2008
+ "language_model.model.layers.52.linear_attn.in_proj_b": {
2009
+ "bits": 5,
2010
+ "group_size": 64,
2011
+ "mode": "affine"
2012
+ },
2013
+ "language_model.model.layers.53.linear_attn.in_proj_a": {
2014
+ "bits": 5,
2015
+ "group_size": 64,
2016
+ "mode": "affine"
2017
+ },
2018
+ "language_model.model.layers.53.linear_attn.in_proj_b": {
2019
+ "bits": 5,
2020
+ "group_size": 64,
2021
+ "mode": "affine"
2022
+ },
2023
+ "language_model.model.layers.54.linear_attn.in_proj_a": {
2024
+ "bits": 5,
2025
+ "group_size": 64,
2026
+ "mode": "affine"
2027
+ },
2028
+ "language_model.model.layers.54.linear_attn.in_proj_b": {
2029
+ "bits": 5,
2030
+ "group_size": 64,
2031
+ "mode": "affine"
2032
+ },
2033
+ "language_model.model.layers.56.linear_attn.in_proj_a": {
2034
+ "bits": 5,
2035
+ "group_size": 64,
2036
+ "mode": "affine"
2037
+ },
2038
+ "language_model.model.layers.56.linear_attn.in_proj_b": {
2039
+ "bits": 5,
2040
+ "group_size": 64,
2041
+ "mode": "affine"
2042
+ },
2043
+ "language_model.model.layers.57.linear_attn.in_proj_a": {
2044
+ "bits": 5,
2045
+ "group_size": 64,
2046
+ "mode": "affine"
2047
+ },
2048
+ "language_model.model.layers.57.linear_attn.in_proj_b": {
2049
+ "bits": 5,
2050
+ "group_size": 64,
2051
+ "mode": "affine"
2052
+ },
2053
+ "language_model.model.layers.58.linear_attn.in_proj_a": {
2054
+ "bits": 5,
2055
+ "group_size": 64,
2056
+ "mode": "affine"
2057
+ },
2058
+ "language_model.model.layers.58.linear_attn.in_proj_b": {
2059
+ "bits": 5,
2060
+ "group_size": 64,
2061
+ "mode": "affine"
2062
+ },
2063
+ "language_model.model.layers.60.linear_attn.in_proj_a": {
2064
+ "bits": 5,
2065
+ "group_size": 64,
2066
+ "mode": "affine"
2067
+ },
2068
+ "language_model.model.layers.60.linear_attn.in_proj_b": {
2069
+ "bits": 5,
2070
+ "group_size": 64,
2071
+ "mode": "affine"
2072
+ },
2073
+ "language_model.model.layers.61.linear_attn.in_proj_a": {
2074
+ "bits": 5,
2075
+ "group_size": 64,
2076
+ "mode": "affine"
2077
+ },
2078
+ "language_model.model.layers.61.linear_attn.in_proj_b": {
2079
+ "bits": 5,
2080
+ "group_size": 64,
2081
+ "mode": "affine"
2082
+ },
2083
+ "language_model.model.layers.61.linear_attn.out_proj": {
2084
+ "bits": 5,
2085
+ "group_size": 64,
2086
+ "mode": "affine"
2087
+ },
2088
+ "language_model.model.layers.62.linear_attn.in_proj_a": {
2089
+ "bits": 5,
2090
+ "group_size": 64,
2091
+ "mode": "affine"
2092
+ },
2093
+ "language_model.model.layers.62.linear_attn.in_proj_b": {
2094
+ "bits": 5,
2095
+ "group_size": 64,
2096
+ "mode": "affine"
2097
+ },
2098
+ "language_model.model.layers.62.linear_attn.out_proj": {
2099
+ "bits": 5,
2100
+ "group_size": 64,
2101
+ "mode": "affine"
2102
+ }
2103
+ }
2104
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34793e7d9881b31a9053201b253492ff3090e3404d6cfb4d9f89b926bb8eb411
3
+ size 5026805909
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cc12957d61eaed405a5bdb479486f7b510166dc110c7953f9e0af8725b995da
3
+ size 5001100585
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc14b176004657603c70861d381f4e37071b738242e4c0629f794b40bd43a04b
3
+ size 5028295182
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c94061ea1cde3170d0c436c4d515c2f4cd0ba9356b0f49c738b0c4b1c122e81b
3
+ size 1618102579
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "size": {
3
+ "longest_edge": 16777216,
4
+ "shortest_edge": 65536
5
+ },
6
+ "patch_size": 16,
7
+ "temporal_patch_size": 2,
8
+ "merge_size": 2,
9
+ "image_mean": [
10
+ 0.5,
11
+ 0.5,
12
+ 0.5
13
+ ],
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "Qwen3VLProcessor",
20
+ "image_processor_type": "Qwen2VLImageProcessorFast"
21
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
3
+ size 12807982
tokenizer_config.json ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "248044": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "248045": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "248046": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "248047": {
29
+ "content": "<|object_ref_start|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "248048": {
37
+ "content": "<|object_ref_end|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "248049": {
45
+ "content": "<|box_start|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "248050": {
53
+ "content": "<|box_end|>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "248051": {
61
+ "content": "<|quad_start|>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "248052": {
69
+ "content": "<|quad_end|>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "248053": {
77
+ "content": "<|vision_start|>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "248054": {
85
+ "content": "<|vision_end|>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "248055": {
93
+ "content": "<|vision_pad|>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "248056": {
101
+ "content": "<|image_pad|>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "248057": {
109
+ "content": "<|video_pad|>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "248058": {
117
+ "content": "<tool_call>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": false
123
+ },
124
+ "248059": {
125
+ "content": "</tool_call>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": false
131
+ },
132
+ "248060": {
133
+ "content": "<|fim_prefix|>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": false
139
+ },
140
+ "248061": {
141
+ "content": "<|fim_middle|>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": false
147
+ },
148
+ "248062": {
149
+ "content": "<|fim_suffix|>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": false
155
+ },
156
+ "248063": {
157
+ "content": "<|fim_pad|>",
158
+ "lstrip": false,
159
+ "normalized": false,
160
+ "rstrip": false,
161
+ "single_word": false,
162
+ "special": false
163
+ },
164
+ "248064": {
165
+ "content": "<|repo_name|>",
166
+ "lstrip": false,
167
+ "normalized": false,
168
+ "rstrip": false,
169
+ "single_word": false,
170
+ "special": false
171
+ },
172
+ "248065": {
173
+ "content": "<|file_sep|>",
174
+ "lstrip": false,
175
+ "normalized": false,
176
+ "rstrip": false,
177
+ "single_word": false,
178
+ "special": false
179
+ },
180
+ "248066": {
181
+ "content": "<tool_response>",
182
+ "lstrip": false,
183
+ "normalized": false,
184
+ "rstrip": false,
185
+ "single_word": false,
186
+ "special": false
187
+ },
188
+ "248067": {
189
+ "content": "</tool_response>",
190
+ "lstrip": false,
191
+ "normalized": false,
192
+ "rstrip": false,
193
+ "single_word": false,
194
+ "special": false
195
+ },
196
+ "248068": {
197
+ "content": "<think>",
198
+ "lstrip": false,
199
+ "normalized": false,
200
+ "rstrip": false,
201
+ "single_word": false,
202
+ "special": false
203
+ },
204
+ "248069": {
205
+ "content": "</think>",
206
+ "lstrip": false,
207
+ "normalized": false,
208
+ "rstrip": false,
209
+ "single_word": false,
210
+ "special": false
211
+ },
212
+ "248070": {
213
+ "content": "<|audio_start|>",
214
+ "lstrip": false,
215
+ "normalized": false,
216
+ "rstrip": false,
217
+ "single_word": false,
218
+ "special": true
219
+ },
220
+ "248071": {
221
+ "content": "<|audio_end|>",
222
+ "lstrip": false,
223
+ "normalized": false,
224
+ "rstrip": false,
225
+ "single_word": false,
226
+ "special": true
227
+ },
228
+ "248072": {
229
+ "content": "<tts_pad>",
230
+ "lstrip": false,
231
+ "normalized": false,
232
+ "rstrip": false,
233
+ "single_word": false,
234
+ "special": true
235
+ },
236
+ "248073": {
237
+ "content": "<tts_text_bos>",
238
+ "lstrip": false,
239
+ "normalized": false,
240
+ "rstrip": false,
241
+ "single_word": false,
242
+ "special": true
243
+ },
244
+ "248074": {
245
+ "content": "<tts_text_eod>",
246
+ "lstrip": false,
247
+ "normalized": false,
248
+ "rstrip": false,
249
+ "single_word": false,
250
+ "special": true
251
+ },
252
+ "248075": {
253
+ "content": "<tts_text_bos_single>",
254
+ "lstrip": false,
255
+ "normalized": false,
256
+ "rstrip": false,
257
+ "single_word": false,
258
+ "special": true
259
+ },
260
+ "248076": {
261
+ "content": "<|audio_pad|>",
262
+ "lstrip": false,
263
+ "normalized": false,
264
+ "rstrip": false,
265
+ "single_word": false,
266
+ "special": true
267
+ }
268
+ },
269
+ "additional_special_tokens": [
270
+ "<|im_start|>",
271
+ "<|im_end|>",
272
+ "<|object_ref_start|>",
273
+ "<|object_ref_end|>",
274
+ "<|box_start|>",
275
+ "<|box_end|>",
276
+ "<|quad_start|>",
277
+ "<|quad_end|>",
278
+ "<|vision_start|>",
279
+ "<|vision_end|>",
280
+ "<|vision_pad|>",
281
+ "<|image_pad|>",
282
+ "<|video_pad|>"
283
+ ],
284
+ "bos_token": null,
285
+ "chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\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>' }}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {%- if loop.first %}\n {%- if content|trim %}\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- else %}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- else %}\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- if tool_call.arguments is defined %}\n {%- for args_name, args_value in tool_call.arguments|items %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}\n {{- args_value }}\n {{- '\\n</parameter>\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '</function>\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n {{- '<|im_end|>\\n' }}\n {%- elif loop.last %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- else %}\n {{- raise_exception('Unexpected message role.') }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- else %}\n {{- '<think>\\n' }}\n {%- endif %}\n{%- endif %}",
286
+ "clean_up_tokenization_spaces": false,
287
+ "eos_token": "<|im_end|>",
288
+ "errors": "replace",
289
+ "model_max_length": 262144,
290
+ "pad_token": "<|endoftext|>",
291
+ "split_special_tokens": false,
292
+ "tokenizer_class": "Qwen2Tokenizer",
293
+ "unk_token": null,
294
+ "add_bos_token": false,
295
+ "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+",
296
+ "extra_special_tokens": {
297
+ "audio_bos_token": "<|audio_start|>",
298
+ "audio_eos_token": "<|audio_end|>",
299
+ "audio_token": "<|audio_pad|>",
300
+ "image_token": "<|image_pad|>",
301
+ "video_token": "<|video_pad|>",
302
+ "vision_bos_token": "<|vision_start|>",
303
+ "vision_eos_token": "<|vision_end|>"
304
+ }
305
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff