palmfuture commited on
Commit
8f7fbcf
·
verified ·
1 Parent(s): b359265

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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
+ assets/ornith_35b_eval.png filter=lfs diff=lfs merge=lfs -text
37
+ assets/ornith_logo.png filter=lfs diff=lfs merge=lfs -text
38
+ model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
39
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ license_link: https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B/blob/main/LICENSE
5
+ pipeline_tag: text-generation
6
+ base_model:
7
+ - deepreinforce-ai/Ornith-1.0-35B
8
+ tags:
9
+ - nvfp4a16
10
+ - llm-compressor
11
+ quantized_by: palmfuture
12
+ ---
13
+
14
+
15
+ <img width="600px" src="assets/ornith_logo.png">
16
+
17
+ [![Ornith Blog](https://img.shields.io/badge/%F0%9F%A6%A2%EF%B8%8F%20Ornith%20Blog%20-FD8E5B)](https://deep-reinforce.com/ornith.html)
18
+
19
+ # Ornith-1.0-35B
20
+
21
+ Aloha! 🌺 Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding.
22
+
23
+ Highlights:
24
+
25
+ - **State-of-the-Art Coding Agents**: Available in 9B-Dense, 31B-Dense, 35B-MoE, and 397B-MoE (post-trained on top of Gemma 4 and Qwen 3.5), achieving state-of-the-art performance among open-source models of comparable size on coding benchmarks such as Terminal-Bench 2.1, SWE-Bench, NL2Repo and OpenClaw.
26
+ - **Self-Improving Training Framework**: Ornith-1.0 employs RL to learn to generate not only solution rollouts, but also the scallfold that drive those rollouts. By jointly optimizing the scaffold and the resulting solution, the model discovers better search trajectories and generates higher-quality solutions.
27
+ - **Licence**: MIT licensed, globally accessible, and free from regional limitations.
28
+
29
+ <img style="width: 100%; max-width: 900px;" src="assets/ornith_35b_eval.png" alt="Ornith 35B Benchmark Results" title="Ornith 35B Benchmark Results">
30
+
31
+ ## Ornith 1.0 35B
32
+
33
+ This model card documents **Ornith-1.0-35B**, the lightweight member of the Ornith family, designed for efficient single-GPU deployment.
34
+
35
+
36
+ ### Benchmarks
37
+
38
+ <div style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;width:100%;margin:0 auto;padding:16px 0">
39
+ <table style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px">
40
+ <thead><tr>
41
+ <th style="width:28%;padding:10px 7px;text-align:left;font-weight:600;border-bottom:2px solid #FD8E5B;color:#FD8E5B"></th>
42
+ <th style="width:14.40%;padding:10px 7px;text-align:center;font-weight:700;border-bottom:2px solid #FD8E5B;color:#FD8E5B;font-size:14px;background:rgba(253, 142, 91, 0.12)">Ornith-1.0-35B</th>
43
+ <th style="width:14.40%;padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #FD8E5B;color:#FD8E5B;font-size:14px">Qwen3.5-35B</th>
44
+ <th style="width:14.40%;padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #FD8E5B;color:#FD8E5B;font-size:14px">Qwen3.6-35B</th>
45
+ <th style="width:14.40%;padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #FD8E5B;color:#FD8E5B;font-size:14px">Gemma4-31B</th>
46
+ <th style="width:14.40%;padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #FD8E5B;color:#FD8E5B;font-size:14px">Qwen3.5-397B</th>
47
+ </tr></thead>
48
+ <tbody>
49
+ <tr><td colspan="6" style="padding:8px 12px;font-weight:600;color:#FD8E5B;border-bottom:1px solid rgba(253, 142, 91, 0.2);background:rgba(253, 142, 91, 0.1)">Agentic Coding</td></tr>
50
+ <tr>
51
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">Terminal-Bench 2.1 <sub><small>(Terminus-2)</small></sub></td>
52
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">64.2</td>
53
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">41.4</td>
54
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52.5</td>
55
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">42.1</td>
56
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">53.5</td>
57
+ </tr>
58
+ <tr>
59
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">Terminal-Bench 2.1 <sub><small>(Claude Code)</small></sub></td>
60
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">62.8</td>
61
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">38.9</td>
62
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">49.2</td>
63
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">-</td>
64
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">48.6</td>
65
+ </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);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">75.6</td>
69
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70</td>
70
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">73.4</td>
71
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">52</td>
72
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">76.4</td>
73
+ </tr>
74
+ <tr>
75
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE-bench Pro</td>
76
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">50.4</td>
77
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">44.6</td>
78
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">49.5</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)">51.6</td>
81
+ </tr>
82
+ <tr>
83
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE-bench Multilingual</td>
84
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">69.3</td>
85
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">60.3</td>
86
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">67.2</td>
87
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">51.7</td>
88
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">69.3</td>
89
+ </tr>
90
+ <tr>
91
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">NL2Repo</td>
92
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">34.6</td>
93
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">20.5</td>
94
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">29.4</td>
95
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">15.5</td>
96
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">36.8</td>
97
+ </tr>
98
+ <tr>
99
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">Claw-eval Avg</td>
100
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">69.8</td>
101
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">65.4</td>
102
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">68.7</td>
103
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">48.5</td>
104
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">70.7</td>
105
+ </tr>
106
+ <tr>
107
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE Atlas - QnA</td>
108
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">37.1</td>
109
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">13.2</td>
110
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">15.5</td>
111
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">-</td>
112
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">20.4</td>
113
+ </tr>
114
+ <tr>
115
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE Atlas - RF</td>
116
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">29.7</td>
117
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">10.2</td>
118
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">11.4</td>
119
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">-</td>
120
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">18.4</td>
121
+ </tr>
122
+ <tr>
123
+ <td style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);">SWE Atlas - TW</td>
124
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);font-weight:600;color:#FD8E5B;background:rgba(253, 142, 91, 0.06)">27.8</td>
125
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">9.8</td>
126
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">13.3</td>
127
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">-</td>
128
+ <td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15)">18.5</td>
129
+ </tr>
130
+ </tbody>
131
+ </table>
132
+
133
+ <p style="margin-top:12px;font-size:10px;opacity:0.7">
134
+ * Terminal-Bench 2.1 (Terminus-2): We evaluate Terminal-Bench 2.1 using the Harbor/Terminus-2 framework with parser=json, temperature=1.0, top_p=1.0, and a 128K context window. Each run uses a 4-hour timeout with 32 CPU cores and 48GB RAM, and results are averaged over 5 runs. We adjust the Qwen chat template to ensure consistency between training and inference (https://huggingface.co/deepreinforce-ai/Ornith-1.0-397B/blob/main/chat_template.jinja), and modify Harbor to align with vLLM's reasoning_content key.<br/>
135
+ * Terminal-Bench 2.1 (Claude Code): We evaluate Terminal-Bench 2.1 using Claude Code 2.1.126 with parser=json, temperature=1.0, top_p=1.0, max_new_tokens=131072. Results are averaged over 5 runs. Again, Qwen chat template needs to be modified.<br/>
136
+ * SWE-Bench Verified, Pro and Multilingual: using OpenHands harness with temp=1.0, top_p=0.95, 256k context window.<br/>
137
+ * SWE Atlas QnA, RF, TW: using mini SWE agent harness with temp=1.0, top_p=0.95, 128K context window. Results are averaged over 5 runs.<br/>
138
+ * NL2Repo: with temperature=1.0, top_p=1.0, 400K context, 48K output and anti-hacking filters.<br/>
139
+ * ClawEval: An agentic code benchmark over real-user task distributions; temp=0.6 and 256K context.<br/>
140
+ </p>
141
+
142
+ </div>
143
+
144
+
145
+
146
+
147
+ ## Quickstart
148
+
149
+
150
+ <div style="border-left:4px solid #FD8E5B;background:rgba(253,142,91,0.1);border-radius:6px;padding:12px 16px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:14px;line-height:1.6">
151
+ <div style="font-weight:700;color:#FD8E5B;margin-bottom:6px">📝 NOTE</div>
152
+ <p style="margin:0 0 10px"><b>Ornith-1.0-35B</b> is a <b>reasoning model</b>: by default the assistant turn opens with a <code style="background:rgba(253,142,91,0.15);padding:1px 5px;border-radius:4px">&lt;think&gt; … &lt;/think&gt;</code> block before the final answer. The serving recipes below enable a reasoning parser so the chain-of-thought is returned in a separate <code style="background:rgba(253,142,91,0.15);padding:1px 5px;border-radius:4px">reasoning_content</code> field, and a tool-call parser so the model's <code style="background:rgba(253,142,91,0.15);padding:1px 5px;border-radius:4px">&lt;tool_call&gt;</code> blocks are surfaced as OpenAI-style <code style="background:rgba(253,142,91,0.15);padding:1px 5px;border-radius:4px">tool_calls</code>.</p>
153
+ <p style="margin:0 0 6px">Serving Ornith-1.0-35B requires recent runtimes:</p>
154
+ <ul style="margin:0;padding-left:20px">
155
+ <li><b>Transformers</b> ≥ 5.8.1</li>
156
+ <li><b>vLLM</b> ≥ 0.19.1</li>
157
+ <li><b>SGLang</b> ≥ 0.5.9</li>
158
+ </ul>
159
+ </div>
160
+
161
+ ### Serving Ornith-1.0-35B
162
+
163
+ The two recipes below stand up an OpenAI-compatible server on a single 8×80GB GPU node (tensor-parallel 8). Adjust `--tensor-parallel-size` / `--tp` to the number of GPUs you have.
164
+
165
+ #### vLLM
166
+
167
+ ```bash
168
+ vllm serve deepreinforce-ai/Ornith-1.0-35B \
169
+ --served-model-name Ornith-1.0-35B \
170
+ --tensor-parallel-size 8 \
171
+ --host 0.0.0.0 --port 8000 \
172
+ --max-model-len 262144 \
173
+ --gpu-memory-utilization 0.90 \
174
+ --enable-prefix-caching \
175
+ --enable-auto-tool-choice --tool-call-parser qwen3_xml \
176
+ --reasoning-parser qwen3 \
177
+ --trust-remote-code
178
+ ```
179
+
180
+ #### SGLang
181
+
182
+ ```bash
183
+ python -m sglang.launch_server \
184
+ --model-path deepreinforce-ai/Ornith-1.0-35B \
185
+ --served-model-name Ornith-1.0-35B \
186
+ --tp 8 \
187
+ --host 0.0.0.0 --port 8000 \
188
+ --context-length 262144 \
189
+ --mem-fraction-static 0.85 \
190
+ --tool-call-parser qwen3_coder \
191
+ --reasoning-parser qwen3
192
+ ```
193
+
194
+ #### Hugging Face Transformers
195
+
196
+ For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the [Transformers installation guide](https://huggingface.co/docs/transformers/installation); Ornith-1.0-35B requires `transformers >= 5.8.1`.
197
+
198
+ ```python
199
+ from transformers import AutoModelForCausalLM, AutoTokenizer
200
+
201
+ model_name = "deepreinforce-ai/Ornith-1.0-35B"
202
+
203
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
204
+ model = AutoModelForCausalLM.from_pretrained(
205
+ model_name,
206
+ dtype="auto",
207
+ device_map="auto",
208
+ )
209
+
210
+ messages = [
211
+ {"role": "user", "content": "Write a Python function is_prime(n). Keep it short."}
212
+ ]
213
+ text = tokenizer.apply_chat_template(
214
+ messages,
215
+ tokenize=False,
216
+ add_generation_prompt=True,
217
+ )
218
+
219
+ inputs = tokenizer(text, return_tensors="pt").to(model.device)
220
+ generated = model.generate(
221
+ **inputs,
222
+ max_new_tokens=512,
223
+ do_sample=True,
224
+ temperature=0.6,
225
+ top_p=0.95,
226
+ top_k=20,
227
+ )
228
+ output_ids = generated[0][inputs.input_ids.shape[1]:]
229
+
230
+ # The reply contains a <think> ... </think> reasoning block followed by the answer.
231
+ content = tokenizer.decode(output_ids, skip_special_tokens=True)
232
+ print(content)
233
+ ```
234
+
235
+ To split the reasoning trace from the final answer, parse on the `</think>` marker:
236
+
237
+ ```python
238
+ text = tokenizer.decode(output_ids, skip_special_tokens=True)
239
+ if "</think>" in text:
240
+ reasoning, answer = text.split("</think>", 1)
241
+ reasoning = reasoning.replace("<think>", "").strip()
242
+ answer = answer.strip()
243
+ else:
244
+ reasoning, answer = "", text.strip()
245
+ ```
246
+
247
+ ### Using Ornith-1.0-35B via the Chat Completions API
248
+
249
+ Once a vLLM or SGLang server is running, talk to it with any OpenAI-compatible client.
250
+
251
+ #### Basic Usage
252
+
253
+ ```python
254
+ from openai import OpenAI
255
+
256
+ client = OpenAI(
257
+ base_url="http://localhost:8000/v1",
258
+ api_key="EMPTY", # any non-empty string works for a local server
259
+ )
260
+
261
+ response = client.chat.completions.create(
262
+ model="Ornith-1.0-35B",
263
+ messages=[
264
+ {"role": "user", "content": "Write a one-line Python lambda that squares a number."}
265
+ ],
266
+ temperature=0.6,
267
+ top_p=0.95,
268
+ max_tokens=1024,
269
+ )
270
+
271
+ message = response.choices[0].message
272
+ # reasoning_content holds the <think> trace; content holds the final answer.
273
+ print("reasoning:", getattr(message, "reasoning_content", None))
274
+ print("answer:", message.content)
275
+ ```
276
+
277
+ You can also stream tokens, or hand the model tools — Ornith-1.0-35B emits well-formed function calls that the server parses into the standard `tool_calls` field:
278
+
279
+ ```python
280
+ tools = [
281
+ {
282
+ "type": "function",
283
+ "function": {
284
+ "name": "get_weather",
285
+ "description": "Get the current weather for a city",
286
+ "parameters": {
287
+ "type": "object",
288
+ "properties": {"city": {"type": "string"}},
289
+ "required": ["city"],
290
+ },
291
+ },
292
+ }
293
+ ]
294
+
295
+ response = client.chat.completions.create(
296
+ model="Ornith-1.0-35B",
297
+ messages=[{"role": "user", "content": "What is the weather in Paris right now?"}],
298
+ tools=tools,
299
+ tool_choice="auto",
300
+ temperature=0.6,
301
+ max_tokens=2048,
302
+ )
303
+
304
+ tool_call = response.choices[0].message.tool_calls[0]
305
+ print(tool_call.function.name, tool_call.function.arguments)
306
+ # -> get_weather {"city": "Paris"}
307
+ ```
308
+
309
+ You can point any OpenAI-compatible SDK (Python, Node.js, etc.) or `curl` at the same `/v1/chat/completions` endpoint.
310
+
311
+ ## Agentic Usage
312
+
313
+ Ornith-1.0-35B excels in tool-calling and agentic coding capabilities.
314
+
315
+ ### Agent Frameworks
316
+
317
+ Because Ornith-1.0-35B exposes an OpenAI-compatible endpoint with tool calling, it works out of the box with standard agent frameworks. Below is a minimal example that connects Ornith-1.0-35B to tools through an MCP server.
318
+
319
+ ```python
320
+ import os
321
+ from openai import OpenAI
322
+
323
+ client = OpenAI(
324
+ base_url=os.getenv("OPENAI_BASE_URL", "http://localhost:8000/v1"),
325
+ api_key=os.getenv("OPENAI_API_KEY", "EMPTY"),
326
+ )
327
+
328
+ tools = [
329
+ {
330
+ "type": "function",
331
+ "function": {
332
+ "name": "run_shell",
333
+ "description": "Run a shell command and return its output.",
334
+ "parameters": {
335
+ "type": "object",
336
+ "properties": {
337
+ "command": {"type": "string", "description": "The command to run"}
338
+ },
339
+ "required": ["command"],
340
+ },
341
+ },
342
+ }
343
+ ]
344
+
345
+ messages = [{"role": "user", "content": "List the Python files in the current directory."}]
346
+
347
+ response = client.chat.completions.create(
348
+ model="deepreinforce-ai/Ornith-1.0-35B",
349
+ messages=messages,
350
+ tools=tools,
351
+ temperature=0.6,
352
+ top_p=0.95,
353
+ )
354
+ print(response.choices[0].message)
355
+ ```
356
+
357
+ **Examples of using Ornith with agent harness:**
358
+
359
+ #### Hermes Agent
360
+ ```bash
361
+ # Hermes talks to any OpenAI-compatible endpoint — point it at your Ornith server.
362
+ export OPENAI_BASE_URL="http://localhost:8000/v1"
363
+ export OPENAI_API_KEY="EMPTY"
364
+ export MODEL="deepreinforce-ai/Ornith-1.0-35B"
365
+ ```
366
+
367
+
368
+ #### Atomic.chat/ Ollama / llama.cpp
369
+ ```bash
370
+ # Both runtimes load a GGUF build of Ornith (publish one at deepreinforce-ai/Ornith-1.0-35B-GGUF).
371
+
372
+ # llama.cpp — serve an OpenAI-compatible API on port 8000.
373
+ llama-server -hf deepreinforce-ai/Ornith-1.0-35B-GGUF --port 8000 -c 262144
374
+
375
+ # Ollama — pull and chat with the same GGUF straight from Hugging Face.
376
+ ollama run hf.co/deepreinforce-ai/Ornith-1.0-35B-GGUF
377
+ ```
378
+
379
+ #### OpenClaw
380
+
381
+ ```bash
382
+ # OpenClaw talks to any OpenAI-compatible endpoint — point it at your Ornith server.
383
+ export OPENAI_BASE_URL="http://localhost:8000/v1"
384
+ export OPENAI_API_KEY="EMPTY"
385
+ export OPENAI_MODEL="deepreinforce-ai/Ornith-1.0-35B"
386
+ ```
387
+
388
+ #### Unsloth Studio
389
+
390
+ ```bash
391
+ pip install unsloth
392
+
393
+ # Load Ornith for fast local inference or fine-tuning (Python):
394
+ # from unsloth import FastLanguageModel
395
+ # model, tokenizer = FastLanguageModel.from_pretrained(
396
+ # "deepreinforce-ai/Ornith-1.0-35B",
397
+ # max_seq_length=262144,
398
+ # load_in_4bit=True,
399
+ # )
400
+ ```
401
+
402
+ #### OpenHands
403
+ ```bash
404
+ pip install openhands-ai
405
+
406
+ # OpenHands routes through LiteLLM; the "openai/" prefix selects the OpenAI-compatible path.
407
+ export LLM_MODEL="openai/deepreinforce-ai/Ornith-1.0-35B"
408
+ export LLM_BASE_URL="http://localhost:8000/v1"
409
+ export LLM_API_KEY="EMPTY"
410
+
411
+ # Launch the CLI (or run the official OpenHands Docker image with the same env vars).
412
+ openhands
413
+ ```
414
+
415
+ ### Coding CLIs
416
+
417
+ Ornith-1.0-35B is optimized for terminal-based coding agents. Point any OpenAI-compatible coding CLI at your Ornith-1.0-35B endpoint (set `OPENAI_BASE_URL` and `OPENAI_API_KEY`) to understand large codebases, automate tedious work, and ship faster.
418
+
419
+ #### OpenCode
420
+ ```bash
421
+ # Register your local Ornith endpoint as a provider in ~/.config/opencode/opencode.json:
422
+ #
423
+ # {
424
+ # "$schema": "https://opencode.ai/config.json",
425
+ # "provider": {
426
+ # "ornith": {
427
+ # "npm": "@ai-sdk/openai-compatible",
428
+ # "name": "Ornith (local)",
429
+ # "options": { "baseURL": "http://localhost:8000/v1", "apiKey": "EMPTY" },
430
+ # "models": { "deepreinforce-ai/Ornith-1.0-35B": { "name": "Ornith-1.0-35B" } }
431
+ # }
432
+ # }
433
+ # }
434
+
435
+ opencode
436
+ ```
437
+
438
+
439
+ ### Citation
440
+
441
+ If you find our work helpful, feel free to give us a cite.
442
+
443
+ ```bibtex
444
+ @misc{ornith-35b,
445
+ title = {{Ornith-1.0-35B}: Agentic Coding, Open to All},
446
+ url = {https://deep-reinforce.com/ornith_1_0.html},
447
+ author = {{DeepReinforce Team}},
448
+ year = {2026}
449
+ }
450
+ ```
assets/ornith_35b_eval.png ADDED

Git LFS Details

  • SHA256: 03a8648a556a133104b78d54ef090a2facb08cf36e207ceb4b919ecd2389f68b
  • Pointer size: 131 Bytes
  • Size of remote file: 595 kB
assets/ornith_logo.png ADDED

Git LFS Details

  • SHA256: 458ee0d85baea4d1fc0b099245f243b21006f696921f896a5b59980a6eadef6a
  • Pointer size: 131 Bytes
  • Size of remote file: 962 kB
chat_template.jinja ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
101
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
102
+ {%- for tool_call in message.tool_calls %}
103
+ {%- if tool_call.function is defined %}
104
+ {%- set tool_call = tool_call.function %}
105
+ {%- endif %}
106
+ {%- if loop.first %}
107
+ {%- if content|trim %}
108
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
109
+ {%- else %}
110
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
111
+ {%- endif %}
112
+ {%- else %}
113
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
114
+ {%- endif %}
115
+ {%- if tool_call.arguments is defined %}
116
+ {%- for args_name, args_value in tool_call.arguments|items %}
117
+ {{- '<parameter=' + args_name + '>\n' }}
118
+ {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
119
+ {{- args_value }}
120
+ {{- '\n</parameter>\n' }}
121
+ {%- endfor %}
122
+ {%- endif %}
123
+ {{- '</function>\n</tool_call>' }}
124
+ {%- endfor %}
125
+ {%- endif %}
126
+ {{- '<|im_end|>\n' }}
127
+ {%- elif message.role == "tool" %}
128
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
129
+ {{- '<|im_start|>user' }}
130
+ {%- endif %}
131
+ {{- '\n<tool_response>\n' }}
132
+ {{- content }}
133
+ {{- '\n</tool_response>' }}
134
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
135
+ {{- '<|im_end|>\n' }}
136
+ {%- elif loop.last %}
137
+ {{- '<|im_end|>\n' }}
138
+ {%- endif %}
139
+ {%- else %}
140
+ {{- raise_exception('Unexpected message role.') }}
141
+ {%- endif %}
142
+ {%- endfor %}
143
+ {%- if add_generation_prompt %}
144
+ {{- '<|im_start|>assistant\n' }}
145
+ {%- if enable_thinking is defined and enable_thinking is false %}
146
+ {{- '<think>\n\n</think>\n\n' }}
147
+ {%- else %}
148
+ {{- '<think>\n' }}
149
+ {%- endif %}
150
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,722 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5MoeForConditionalGeneration"
4
+ ],
5
+ "bos_token_id": null,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 248046,
8
+ "hidden_size": 2048,
9
+ "image_token_id": 248056,
10
+ "model_type": "qwen3_5_moe",
11
+ "pad_token_id": 248044,
12
+ "quantization_config": {
13
+ "config_groups": {
14
+ "group_0": {
15
+ "format": "nvfp4-pack-quantized",
16
+ "input_activations": null,
17
+ "output_activations": null,
18
+ "targets": [
19
+ "Linear"
20
+ ],
21
+ "weights": {
22
+ "actorder": null,
23
+ "block_structure": null,
24
+ "dynamic": false,
25
+ "group_size": 16,
26
+ "num_bits": 4,
27
+ "observer": "memoryless_minmax",
28
+ "observer_kwargs": {},
29
+ "scale_dtype": "torch.float8_e4m3fn",
30
+ "strategy": "tensor_group",
31
+ "symmetric": true,
32
+ "type": "float",
33
+ "zp_dtype": null
34
+ }
35
+ }
36
+ },
37
+ "format": "nvfp4-pack-quantized",
38
+ "global_compression_ratio": null,
39
+ "ignore": [
40
+ "model.visual.blocks.0.attn.qkv",
41
+ "model.visual.blocks.0.attn.proj",
42
+ "model.visual.blocks.0.mlp.linear_fc1",
43
+ "model.visual.blocks.0.mlp.linear_fc2",
44
+ "model.visual.blocks.1.attn.qkv",
45
+ "model.visual.blocks.1.attn.proj",
46
+ "model.visual.blocks.1.mlp.linear_fc1",
47
+ "model.visual.blocks.1.mlp.linear_fc2",
48
+ "model.visual.blocks.2.attn.qkv",
49
+ "model.visual.blocks.2.attn.proj",
50
+ "model.visual.blocks.2.mlp.linear_fc1",
51
+ "model.visual.blocks.2.mlp.linear_fc2",
52
+ "model.visual.blocks.3.attn.qkv",
53
+ "model.visual.blocks.3.attn.proj",
54
+ "model.visual.blocks.3.mlp.linear_fc1",
55
+ "model.visual.blocks.3.mlp.linear_fc2",
56
+ "model.visual.blocks.4.attn.qkv",
57
+ "model.visual.blocks.4.attn.proj",
58
+ "model.visual.blocks.4.mlp.linear_fc1",
59
+ "model.visual.blocks.4.mlp.linear_fc2",
60
+ "model.visual.blocks.5.attn.qkv",
61
+ "model.visual.blocks.5.attn.proj",
62
+ "model.visual.blocks.5.mlp.linear_fc1",
63
+ "model.visual.blocks.5.mlp.linear_fc2",
64
+ "model.visual.blocks.6.attn.qkv",
65
+ "model.visual.blocks.6.attn.proj",
66
+ "model.visual.blocks.6.mlp.linear_fc1",
67
+ "model.visual.blocks.6.mlp.linear_fc2",
68
+ "model.visual.blocks.7.attn.qkv",
69
+ "model.visual.blocks.7.attn.proj",
70
+ "model.visual.blocks.7.mlp.linear_fc1",
71
+ "model.visual.blocks.7.mlp.linear_fc2",
72
+ "model.visual.blocks.8.attn.qkv",
73
+ "model.visual.blocks.8.attn.proj",
74
+ "model.visual.blocks.8.mlp.linear_fc1",
75
+ "model.visual.blocks.8.mlp.linear_fc2",
76
+ "model.visual.blocks.9.attn.qkv",
77
+ "model.visual.blocks.9.attn.proj",
78
+ "model.visual.blocks.9.mlp.linear_fc1",
79
+ "model.visual.blocks.9.mlp.linear_fc2",
80
+ "model.visual.blocks.10.attn.qkv",
81
+ "model.visual.blocks.10.attn.proj",
82
+ "model.visual.blocks.10.mlp.linear_fc1",
83
+ "model.visual.blocks.10.mlp.linear_fc2",
84
+ "model.visual.blocks.11.attn.qkv",
85
+ "model.visual.blocks.11.attn.proj",
86
+ "model.visual.blocks.11.mlp.linear_fc1",
87
+ "model.visual.blocks.11.mlp.linear_fc2",
88
+ "model.visual.blocks.12.attn.qkv",
89
+ "model.visual.blocks.12.attn.proj",
90
+ "model.visual.blocks.12.mlp.linear_fc1",
91
+ "model.visual.blocks.12.mlp.linear_fc2",
92
+ "model.visual.blocks.13.attn.qkv",
93
+ "model.visual.blocks.13.attn.proj",
94
+ "model.visual.blocks.13.mlp.linear_fc1",
95
+ "model.visual.blocks.13.mlp.linear_fc2",
96
+ "model.visual.blocks.14.attn.qkv",
97
+ "model.visual.blocks.14.attn.proj",
98
+ "model.visual.blocks.14.mlp.linear_fc1",
99
+ "model.visual.blocks.14.mlp.linear_fc2",
100
+ "model.visual.blocks.15.attn.qkv",
101
+ "model.visual.blocks.15.attn.proj",
102
+ "model.visual.blocks.15.mlp.linear_fc1",
103
+ "model.visual.blocks.15.mlp.linear_fc2",
104
+ "model.visual.blocks.16.attn.qkv",
105
+ "model.visual.blocks.16.attn.proj",
106
+ "model.visual.blocks.16.mlp.linear_fc1",
107
+ "model.visual.blocks.16.mlp.linear_fc2",
108
+ "model.visual.blocks.17.attn.qkv",
109
+ "model.visual.blocks.17.attn.proj",
110
+ "model.visual.blocks.17.mlp.linear_fc1",
111
+ "model.visual.blocks.17.mlp.linear_fc2",
112
+ "model.visual.blocks.18.attn.qkv",
113
+ "model.visual.blocks.18.attn.proj",
114
+ "model.visual.blocks.18.mlp.linear_fc1",
115
+ "model.visual.blocks.18.mlp.linear_fc2",
116
+ "model.visual.blocks.19.attn.qkv",
117
+ "model.visual.blocks.19.attn.proj",
118
+ "model.visual.blocks.19.mlp.linear_fc1",
119
+ "model.visual.blocks.19.mlp.linear_fc2",
120
+ "model.visual.blocks.20.attn.qkv",
121
+ "model.visual.blocks.20.attn.proj",
122
+ "model.visual.blocks.20.mlp.linear_fc1",
123
+ "model.visual.blocks.20.mlp.linear_fc2",
124
+ "model.visual.blocks.21.attn.qkv",
125
+ "model.visual.blocks.21.attn.proj",
126
+ "model.visual.blocks.21.mlp.linear_fc1",
127
+ "model.visual.blocks.21.mlp.linear_fc2",
128
+ "model.visual.blocks.22.attn.qkv",
129
+ "model.visual.blocks.22.attn.proj",
130
+ "model.visual.blocks.22.mlp.linear_fc1",
131
+ "model.visual.blocks.22.mlp.linear_fc2",
132
+ "model.visual.blocks.23.attn.qkv",
133
+ "model.visual.blocks.23.attn.proj",
134
+ "model.visual.blocks.23.mlp.linear_fc1",
135
+ "model.visual.blocks.23.mlp.linear_fc2",
136
+ "model.visual.blocks.24.attn.qkv",
137
+ "model.visual.blocks.24.attn.proj",
138
+ "model.visual.blocks.24.mlp.linear_fc1",
139
+ "model.visual.blocks.24.mlp.linear_fc2",
140
+ "model.visual.blocks.25.attn.qkv",
141
+ "model.visual.blocks.25.attn.proj",
142
+ "model.visual.blocks.25.mlp.linear_fc1",
143
+ "model.visual.blocks.25.mlp.linear_fc2",
144
+ "model.visual.blocks.26.attn.qkv",
145
+ "model.visual.blocks.26.attn.proj",
146
+ "model.visual.blocks.26.mlp.linear_fc1",
147
+ "model.visual.blocks.26.mlp.linear_fc2",
148
+ "model.visual.merger.linear_fc1",
149
+ "model.visual.merger.linear_fc2",
150
+ "model.language_model.layers.0.linear_attn",
151
+ "model.language_model.layers.0.linear_attn.norm",
152
+ "model.language_model.layers.0.linear_attn.out_proj",
153
+ "model.language_model.layers.0.linear_attn.in_proj_qkv",
154
+ "model.language_model.layers.0.linear_attn.in_proj_z",
155
+ "model.language_model.layers.0.linear_attn.in_proj_b",
156
+ "model.language_model.layers.0.linear_attn.in_proj_a",
157
+ "model.language_model.layers.0.mlp.gate",
158
+ "model.language_model.layers.0.mlp.shared_expert.gate_proj",
159
+ "model.language_model.layers.0.mlp.shared_expert.up_proj",
160
+ "model.language_model.layers.0.mlp.shared_expert.down_proj",
161
+ "model.language_model.layers.0.mlp.shared_expert_gate",
162
+ "model.language_model.layers.1.linear_attn",
163
+ "model.language_model.layers.1.linear_attn.norm",
164
+ "model.language_model.layers.1.linear_attn.out_proj",
165
+ "model.language_model.layers.1.linear_attn.in_proj_qkv",
166
+ "model.language_model.layers.1.linear_attn.in_proj_z",
167
+ "model.language_model.layers.1.linear_attn.in_proj_b",
168
+ "model.language_model.layers.1.linear_attn.in_proj_a",
169
+ "model.language_model.layers.1.mlp.gate",
170
+ "model.language_model.layers.1.mlp.shared_expert.gate_proj",
171
+ "model.language_model.layers.1.mlp.shared_expert.up_proj",
172
+ "model.language_model.layers.1.mlp.shared_expert.down_proj",
173
+ "model.language_model.layers.1.mlp.shared_expert_gate",
174
+ "model.language_model.layers.2.linear_attn",
175
+ "model.language_model.layers.2.linear_attn.norm",
176
+ "model.language_model.layers.2.linear_attn.out_proj",
177
+ "model.language_model.layers.2.linear_attn.in_proj_qkv",
178
+ "model.language_model.layers.2.linear_attn.in_proj_z",
179
+ "model.language_model.layers.2.linear_attn.in_proj_b",
180
+ "model.language_model.layers.2.linear_attn.in_proj_a",
181
+ "model.language_model.layers.2.mlp.gate",
182
+ "model.language_model.layers.2.mlp.shared_expert.gate_proj",
183
+ "model.language_model.layers.2.mlp.shared_expert.up_proj",
184
+ "model.language_model.layers.2.mlp.shared_expert.down_proj",
185
+ "model.language_model.layers.2.mlp.shared_expert_gate",
186
+ "model.language_model.layers.3.self_attn.q_proj",
187
+ "model.language_model.layers.3.self_attn.k_proj",
188
+ "model.language_model.layers.3.self_attn.v_proj",
189
+ "model.language_model.layers.3.self_attn.o_proj",
190
+ "model.language_model.layers.3.mlp.gate",
191
+ "model.language_model.layers.3.mlp.shared_expert.gate_proj",
192
+ "model.language_model.layers.3.mlp.shared_expert.up_proj",
193
+ "model.language_model.layers.3.mlp.shared_expert.down_proj",
194
+ "model.language_model.layers.3.mlp.shared_expert_gate",
195
+ "model.language_model.layers.4.linear_attn",
196
+ "model.language_model.layers.4.linear_attn.norm",
197
+ "model.language_model.layers.4.linear_attn.out_proj",
198
+ "model.language_model.layers.4.linear_attn.in_proj_qkv",
199
+ "model.language_model.layers.4.linear_attn.in_proj_z",
200
+ "model.language_model.layers.4.linear_attn.in_proj_b",
201
+ "model.language_model.layers.4.linear_attn.in_proj_a",
202
+ "model.language_model.layers.4.mlp.gate",
203
+ "model.language_model.layers.4.mlp.shared_expert.gate_proj",
204
+ "model.language_model.layers.4.mlp.shared_expert.up_proj",
205
+ "model.language_model.layers.4.mlp.shared_expert.down_proj",
206
+ "model.language_model.layers.4.mlp.shared_expert_gate",
207
+ "model.language_model.layers.5.linear_attn",
208
+ "model.language_model.layers.5.linear_attn.norm",
209
+ "model.language_model.layers.5.linear_attn.out_proj",
210
+ "model.language_model.layers.5.linear_attn.in_proj_qkv",
211
+ "model.language_model.layers.5.linear_attn.in_proj_z",
212
+ "model.language_model.layers.5.linear_attn.in_proj_b",
213
+ "model.language_model.layers.5.linear_attn.in_proj_a",
214
+ "model.language_model.layers.5.mlp.gate",
215
+ "model.language_model.layers.5.mlp.shared_expert.gate_proj",
216
+ "model.language_model.layers.5.mlp.shared_expert.up_proj",
217
+ "model.language_model.layers.5.mlp.shared_expert.down_proj",
218
+ "model.language_model.layers.5.mlp.shared_expert_gate",
219
+ "model.language_model.layers.6.linear_attn",
220
+ "model.language_model.layers.6.linear_attn.norm",
221
+ "model.language_model.layers.6.linear_attn.out_proj",
222
+ "model.language_model.layers.6.linear_attn.in_proj_qkv",
223
+ "model.language_model.layers.6.linear_attn.in_proj_z",
224
+ "model.language_model.layers.6.linear_attn.in_proj_b",
225
+ "model.language_model.layers.6.linear_attn.in_proj_a",
226
+ "model.language_model.layers.6.mlp.gate",
227
+ "model.language_model.layers.6.mlp.shared_expert.gate_proj",
228
+ "model.language_model.layers.6.mlp.shared_expert.up_proj",
229
+ "model.language_model.layers.6.mlp.shared_expert.down_proj",
230
+ "model.language_model.layers.6.mlp.shared_expert_gate",
231
+ "model.language_model.layers.7.self_attn.q_proj",
232
+ "model.language_model.layers.7.self_attn.k_proj",
233
+ "model.language_model.layers.7.self_attn.v_proj",
234
+ "model.language_model.layers.7.self_attn.o_proj",
235
+ "model.language_model.layers.7.mlp.gate",
236
+ "model.language_model.layers.7.mlp.shared_expert.gate_proj",
237
+ "model.language_model.layers.7.mlp.shared_expert.up_proj",
238
+ "model.language_model.layers.7.mlp.shared_expert.down_proj",
239
+ "model.language_model.layers.7.mlp.shared_expert_gate",
240
+ "model.language_model.layers.8.linear_attn",
241
+ "model.language_model.layers.8.linear_attn.norm",
242
+ "model.language_model.layers.8.linear_attn.out_proj",
243
+ "model.language_model.layers.8.linear_attn.in_proj_qkv",
244
+ "model.language_model.layers.8.linear_attn.in_proj_z",
245
+ "model.language_model.layers.8.linear_attn.in_proj_b",
246
+ "model.language_model.layers.8.linear_attn.in_proj_a",
247
+ "model.language_model.layers.8.mlp.gate",
248
+ "model.language_model.layers.8.mlp.shared_expert.gate_proj",
249
+ "model.language_model.layers.8.mlp.shared_expert.up_proj",
250
+ "model.language_model.layers.8.mlp.shared_expert.down_proj",
251
+ "model.language_model.layers.8.mlp.shared_expert_gate",
252
+ "model.language_model.layers.9.linear_attn",
253
+ "model.language_model.layers.9.linear_attn.norm",
254
+ "model.language_model.layers.9.linear_attn.out_proj",
255
+ "model.language_model.layers.9.linear_attn.in_proj_qkv",
256
+ "model.language_model.layers.9.linear_attn.in_proj_z",
257
+ "model.language_model.layers.9.linear_attn.in_proj_b",
258
+ "model.language_model.layers.9.linear_attn.in_proj_a",
259
+ "model.language_model.layers.9.mlp.gate",
260
+ "model.language_model.layers.9.mlp.shared_expert.gate_proj",
261
+ "model.language_model.layers.9.mlp.shared_expert.up_proj",
262
+ "model.language_model.layers.9.mlp.shared_expert.down_proj",
263
+ "model.language_model.layers.9.mlp.shared_expert_gate",
264
+ "model.language_model.layers.10.linear_attn",
265
+ "model.language_model.layers.10.linear_attn.norm",
266
+ "model.language_model.layers.10.linear_attn.out_proj",
267
+ "model.language_model.layers.10.linear_attn.in_proj_qkv",
268
+ "model.language_model.layers.10.linear_attn.in_proj_z",
269
+ "model.language_model.layers.10.linear_attn.in_proj_b",
270
+ "model.language_model.layers.10.linear_attn.in_proj_a",
271
+ "model.language_model.layers.10.mlp.gate",
272
+ "model.language_model.layers.10.mlp.shared_expert.gate_proj",
273
+ "model.language_model.layers.10.mlp.shared_expert.up_proj",
274
+ "model.language_model.layers.10.mlp.shared_expert.down_proj",
275
+ "model.language_model.layers.10.mlp.shared_expert_gate",
276
+ "model.language_model.layers.11.self_attn.q_proj",
277
+ "model.language_model.layers.11.self_attn.k_proj",
278
+ "model.language_model.layers.11.self_attn.v_proj",
279
+ "model.language_model.layers.11.self_attn.o_proj",
280
+ "model.language_model.layers.11.mlp.gate",
281
+ "model.language_model.layers.11.mlp.shared_expert.gate_proj",
282
+ "model.language_model.layers.11.mlp.shared_expert.up_proj",
283
+ "model.language_model.layers.11.mlp.shared_expert.down_proj",
284
+ "model.language_model.layers.11.mlp.shared_expert_gate",
285
+ "model.language_model.layers.12.linear_attn",
286
+ "model.language_model.layers.12.linear_attn.norm",
287
+ "model.language_model.layers.12.linear_attn.out_proj",
288
+ "model.language_model.layers.12.linear_attn.in_proj_qkv",
289
+ "model.language_model.layers.12.linear_attn.in_proj_z",
290
+ "model.language_model.layers.12.linear_attn.in_proj_b",
291
+ "model.language_model.layers.12.linear_attn.in_proj_a",
292
+ "model.language_model.layers.12.mlp.gate",
293
+ "model.language_model.layers.12.mlp.shared_expert.gate_proj",
294
+ "model.language_model.layers.12.mlp.shared_expert.up_proj",
295
+ "model.language_model.layers.12.mlp.shared_expert.down_proj",
296
+ "model.language_model.layers.12.mlp.shared_expert_gate",
297
+ "model.language_model.layers.13.linear_attn",
298
+ "model.language_model.layers.13.linear_attn.norm",
299
+ "model.language_model.layers.13.linear_attn.out_proj",
300
+ "model.language_model.layers.13.linear_attn.in_proj_qkv",
301
+ "model.language_model.layers.13.linear_attn.in_proj_z",
302
+ "model.language_model.layers.13.linear_attn.in_proj_b",
303
+ "model.language_model.layers.13.linear_attn.in_proj_a",
304
+ "model.language_model.layers.13.mlp.gate",
305
+ "model.language_model.layers.13.mlp.shared_expert.gate_proj",
306
+ "model.language_model.layers.13.mlp.shared_expert.up_proj",
307
+ "model.language_model.layers.13.mlp.shared_expert.down_proj",
308
+ "model.language_model.layers.13.mlp.shared_expert_gate",
309
+ "model.language_model.layers.14.linear_attn",
310
+ "model.language_model.layers.14.linear_attn.norm",
311
+ "model.language_model.layers.14.linear_attn.out_proj",
312
+ "model.language_model.layers.14.linear_attn.in_proj_qkv",
313
+ "model.language_model.layers.14.linear_attn.in_proj_z",
314
+ "model.language_model.layers.14.linear_attn.in_proj_b",
315
+ "model.language_model.layers.14.linear_attn.in_proj_a",
316
+ "model.language_model.layers.14.mlp.gate",
317
+ "model.language_model.layers.14.mlp.shared_expert.gate_proj",
318
+ "model.language_model.layers.14.mlp.shared_expert.up_proj",
319
+ "model.language_model.layers.14.mlp.shared_expert.down_proj",
320
+ "model.language_model.layers.14.mlp.shared_expert_gate",
321
+ "model.language_model.layers.15.self_attn.q_proj",
322
+ "model.language_model.layers.15.self_attn.k_proj",
323
+ "model.language_model.layers.15.self_attn.v_proj",
324
+ "model.language_model.layers.15.self_attn.o_proj",
325
+ "model.language_model.layers.15.mlp.gate",
326
+ "model.language_model.layers.15.mlp.shared_expert.gate_proj",
327
+ "model.language_model.layers.15.mlp.shared_expert.up_proj",
328
+ "model.language_model.layers.15.mlp.shared_expert.down_proj",
329
+ "model.language_model.layers.15.mlp.shared_expert_gate",
330
+ "model.language_model.layers.16.linear_attn",
331
+ "model.language_model.layers.16.linear_attn.norm",
332
+ "model.language_model.layers.16.linear_attn.out_proj",
333
+ "model.language_model.layers.16.linear_attn.in_proj_qkv",
334
+ "model.language_model.layers.16.linear_attn.in_proj_z",
335
+ "model.language_model.layers.16.linear_attn.in_proj_b",
336
+ "model.language_model.layers.16.linear_attn.in_proj_a",
337
+ "model.language_model.layers.16.mlp.gate",
338
+ "model.language_model.layers.16.mlp.shared_expert.gate_proj",
339
+ "model.language_model.layers.16.mlp.shared_expert.up_proj",
340
+ "model.language_model.layers.16.mlp.shared_expert.down_proj",
341
+ "model.language_model.layers.16.mlp.shared_expert_gate",
342
+ "model.language_model.layers.17.linear_attn",
343
+ "model.language_model.layers.17.linear_attn.norm",
344
+ "model.language_model.layers.17.linear_attn.out_proj",
345
+ "model.language_model.layers.17.linear_attn.in_proj_qkv",
346
+ "model.language_model.layers.17.linear_attn.in_proj_z",
347
+ "model.language_model.layers.17.linear_attn.in_proj_b",
348
+ "model.language_model.layers.17.linear_attn.in_proj_a",
349
+ "model.language_model.layers.17.mlp.gate",
350
+ "model.language_model.layers.17.mlp.shared_expert.gate_proj",
351
+ "model.language_model.layers.17.mlp.shared_expert.up_proj",
352
+ "model.language_model.layers.17.mlp.shared_expert.down_proj",
353
+ "model.language_model.layers.17.mlp.shared_expert_gate",
354
+ "model.language_model.layers.18.linear_attn",
355
+ "model.language_model.layers.18.linear_attn.norm",
356
+ "model.language_model.layers.18.linear_attn.out_proj",
357
+ "model.language_model.layers.18.linear_attn.in_proj_qkv",
358
+ "model.language_model.layers.18.linear_attn.in_proj_z",
359
+ "model.language_model.layers.18.linear_attn.in_proj_b",
360
+ "model.language_model.layers.18.linear_attn.in_proj_a",
361
+ "model.language_model.layers.18.mlp.gate",
362
+ "model.language_model.layers.18.mlp.shared_expert.gate_proj",
363
+ "model.language_model.layers.18.mlp.shared_expert.up_proj",
364
+ "model.language_model.layers.18.mlp.shared_expert.down_proj",
365
+ "model.language_model.layers.18.mlp.shared_expert_gate",
366
+ "model.language_model.layers.19.self_attn.q_proj",
367
+ "model.language_model.layers.19.self_attn.k_proj",
368
+ "model.language_model.layers.19.self_attn.v_proj",
369
+ "model.language_model.layers.19.self_attn.o_proj",
370
+ "model.language_model.layers.19.mlp.gate",
371
+ "model.language_model.layers.19.mlp.shared_expert.gate_proj",
372
+ "model.language_model.layers.19.mlp.shared_expert.up_proj",
373
+ "model.language_model.layers.19.mlp.shared_expert.down_proj",
374
+ "model.language_model.layers.19.mlp.shared_expert_gate",
375
+ "model.language_model.layers.20.linear_attn",
376
+ "model.language_model.layers.20.linear_attn.norm",
377
+ "model.language_model.layers.20.linear_attn.out_proj",
378
+ "model.language_model.layers.20.linear_attn.in_proj_qkv",
379
+ "model.language_model.layers.20.linear_attn.in_proj_z",
380
+ "model.language_model.layers.20.linear_attn.in_proj_b",
381
+ "model.language_model.layers.20.linear_attn.in_proj_a",
382
+ "model.language_model.layers.20.mlp.gate",
383
+ "model.language_model.layers.20.mlp.shared_expert.gate_proj",
384
+ "model.language_model.layers.20.mlp.shared_expert.up_proj",
385
+ "model.language_model.layers.20.mlp.shared_expert.down_proj",
386
+ "model.language_model.layers.20.mlp.shared_expert_gate",
387
+ "model.language_model.layers.21.linear_attn",
388
+ "model.language_model.layers.21.linear_attn.norm",
389
+ "model.language_model.layers.21.linear_attn.out_proj",
390
+ "model.language_model.layers.21.linear_attn.in_proj_qkv",
391
+ "model.language_model.layers.21.linear_attn.in_proj_z",
392
+ "model.language_model.layers.21.linear_attn.in_proj_b",
393
+ "model.language_model.layers.21.linear_attn.in_proj_a",
394
+ "model.language_model.layers.21.mlp.gate",
395
+ "model.language_model.layers.21.mlp.shared_expert.gate_proj",
396
+ "model.language_model.layers.21.mlp.shared_expert.up_proj",
397
+ "model.language_model.layers.21.mlp.shared_expert.down_proj",
398
+ "model.language_model.layers.21.mlp.shared_expert_gate",
399
+ "model.language_model.layers.22.linear_attn",
400
+ "model.language_model.layers.22.linear_attn.norm",
401
+ "model.language_model.layers.22.linear_attn.out_proj",
402
+ "model.language_model.layers.22.linear_attn.in_proj_qkv",
403
+ "model.language_model.layers.22.linear_attn.in_proj_z",
404
+ "model.language_model.layers.22.linear_attn.in_proj_b",
405
+ "model.language_model.layers.22.linear_attn.in_proj_a",
406
+ "model.language_model.layers.22.mlp.gate",
407
+ "model.language_model.layers.22.mlp.shared_expert.gate_proj",
408
+ "model.language_model.layers.22.mlp.shared_expert.up_proj",
409
+ "model.language_model.layers.22.mlp.shared_expert.down_proj",
410
+ "model.language_model.layers.22.mlp.shared_expert_gate",
411
+ "model.language_model.layers.23.self_attn.q_proj",
412
+ "model.language_model.layers.23.self_attn.k_proj",
413
+ "model.language_model.layers.23.self_attn.v_proj",
414
+ "model.language_model.layers.23.self_attn.o_proj",
415
+ "model.language_model.layers.23.mlp.gate",
416
+ "model.language_model.layers.23.mlp.shared_expert.gate_proj",
417
+ "model.language_model.layers.23.mlp.shared_expert.up_proj",
418
+ "model.language_model.layers.23.mlp.shared_expert.down_proj",
419
+ "model.language_model.layers.23.mlp.shared_expert_gate",
420
+ "model.language_model.layers.24.linear_attn",
421
+ "model.language_model.layers.24.linear_attn.norm",
422
+ "model.language_model.layers.24.linear_attn.out_proj",
423
+ "model.language_model.layers.24.linear_attn.in_proj_qkv",
424
+ "model.language_model.layers.24.linear_attn.in_proj_z",
425
+ "model.language_model.layers.24.linear_attn.in_proj_b",
426
+ "model.language_model.layers.24.linear_attn.in_proj_a",
427
+ "model.language_model.layers.24.mlp.gate",
428
+ "model.language_model.layers.24.mlp.shared_expert.gate_proj",
429
+ "model.language_model.layers.24.mlp.shared_expert.up_proj",
430
+ "model.language_model.layers.24.mlp.shared_expert.down_proj",
431
+ "model.language_model.layers.24.mlp.shared_expert_gate",
432
+ "model.language_model.layers.25.linear_attn",
433
+ "model.language_model.layers.25.linear_attn.norm",
434
+ "model.language_model.layers.25.linear_attn.out_proj",
435
+ "model.language_model.layers.25.linear_attn.in_proj_qkv",
436
+ "model.language_model.layers.25.linear_attn.in_proj_z",
437
+ "model.language_model.layers.25.linear_attn.in_proj_b",
438
+ "model.language_model.layers.25.linear_attn.in_proj_a",
439
+ "model.language_model.layers.25.mlp.gate",
440
+ "model.language_model.layers.25.mlp.shared_expert.gate_proj",
441
+ "model.language_model.layers.25.mlp.shared_expert.up_proj",
442
+ "model.language_model.layers.25.mlp.shared_expert.down_proj",
443
+ "model.language_model.layers.25.mlp.shared_expert_gate",
444
+ "model.language_model.layers.26.linear_attn",
445
+ "model.language_model.layers.26.linear_attn.norm",
446
+ "model.language_model.layers.26.linear_attn.out_proj",
447
+ "model.language_model.layers.26.linear_attn.in_proj_qkv",
448
+ "model.language_model.layers.26.linear_attn.in_proj_z",
449
+ "model.language_model.layers.26.linear_attn.in_proj_b",
450
+ "model.language_model.layers.26.linear_attn.in_proj_a",
451
+ "model.language_model.layers.26.mlp.gate",
452
+ "model.language_model.layers.26.mlp.shared_expert.gate_proj",
453
+ "model.language_model.layers.26.mlp.shared_expert.up_proj",
454
+ "model.language_model.layers.26.mlp.shared_expert.down_proj",
455
+ "model.language_model.layers.26.mlp.shared_expert_gate",
456
+ "model.language_model.layers.27.self_attn.q_proj",
457
+ "model.language_model.layers.27.self_attn.k_proj",
458
+ "model.language_model.layers.27.self_attn.v_proj",
459
+ "model.language_model.layers.27.self_attn.o_proj",
460
+ "model.language_model.layers.27.mlp.gate",
461
+ "model.language_model.layers.27.mlp.shared_expert.gate_proj",
462
+ "model.language_model.layers.27.mlp.shared_expert.up_proj",
463
+ "model.language_model.layers.27.mlp.shared_expert.down_proj",
464
+ "model.language_model.layers.27.mlp.shared_expert_gate",
465
+ "model.language_model.layers.28.linear_attn",
466
+ "model.language_model.layers.28.linear_attn.norm",
467
+ "model.language_model.layers.28.linear_attn.out_proj",
468
+ "model.language_model.layers.28.linear_attn.in_proj_qkv",
469
+ "model.language_model.layers.28.linear_attn.in_proj_z",
470
+ "model.language_model.layers.28.linear_attn.in_proj_b",
471
+ "model.language_model.layers.28.linear_attn.in_proj_a",
472
+ "model.language_model.layers.28.mlp.gate",
473
+ "model.language_model.layers.28.mlp.shared_expert.gate_proj",
474
+ "model.language_model.layers.28.mlp.shared_expert.up_proj",
475
+ "model.language_model.layers.28.mlp.shared_expert.down_proj",
476
+ "model.language_model.layers.28.mlp.shared_expert_gate",
477
+ "model.language_model.layers.29.linear_attn",
478
+ "model.language_model.layers.29.linear_attn.norm",
479
+ "model.language_model.layers.29.linear_attn.out_proj",
480
+ "model.language_model.layers.29.linear_attn.in_proj_qkv",
481
+ "model.language_model.layers.29.linear_attn.in_proj_z",
482
+ "model.language_model.layers.29.linear_attn.in_proj_b",
483
+ "model.language_model.layers.29.linear_attn.in_proj_a",
484
+ "model.language_model.layers.29.mlp.gate",
485
+ "model.language_model.layers.29.mlp.shared_expert.gate_proj",
486
+ "model.language_model.layers.29.mlp.shared_expert.up_proj",
487
+ "model.language_model.layers.29.mlp.shared_expert.down_proj",
488
+ "model.language_model.layers.29.mlp.shared_expert_gate",
489
+ "model.language_model.layers.30.linear_attn",
490
+ "model.language_model.layers.30.linear_attn.norm",
491
+ "model.language_model.layers.30.linear_attn.out_proj",
492
+ "model.language_model.layers.30.linear_attn.in_proj_qkv",
493
+ "model.language_model.layers.30.linear_attn.in_proj_z",
494
+ "model.language_model.layers.30.linear_attn.in_proj_b",
495
+ "model.language_model.layers.30.linear_attn.in_proj_a",
496
+ "model.language_model.layers.30.mlp.gate",
497
+ "model.language_model.layers.30.mlp.shared_expert.gate_proj",
498
+ "model.language_model.layers.30.mlp.shared_expert.up_proj",
499
+ "model.language_model.layers.30.mlp.shared_expert.down_proj",
500
+ "model.language_model.layers.30.mlp.shared_expert_gate",
501
+ "model.language_model.layers.31.self_attn.q_proj",
502
+ "model.language_model.layers.31.self_attn.k_proj",
503
+ "model.language_model.layers.31.self_attn.v_proj",
504
+ "model.language_model.layers.31.self_attn.o_proj",
505
+ "model.language_model.layers.31.mlp.gate",
506
+ "model.language_model.layers.31.mlp.shared_expert.gate_proj",
507
+ "model.language_model.layers.31.mlp.shared_expert.up_proj",
508
+ "model.language_model.layers.31.mlp.shared_expert.down_proj",
509
+ "model.language_model.layers.31.mlp.shared_expert_gate",
510
+ "model.language_model.layers.32.linear_attn",
511
+ "model.language_model.layers.32.linear_attn.norm",
512
+ "model.language_model.layers.32.linear_attn.out_proj",
513
+ "model.language_model.layers.32.linear_attn.in_proj_qkv",
514
+ "model.language_model.layers.32.linear_attn.in_proj_z",
515
+ "model.language_model.layers.32.linear_attn.in_proj_b",
516
+ "model.language_model.layers.32.linear_attn.in_proj_a",
517
+ "model.language_model.layers.32.mlp.gate",
518
+ "model.language_model.layers.32.mlp.shared_expert.gate_proj",
519
+ "model.language_model.layers.32.mlp.shared_expert.up_proj",
520
+ "model.language_model.layers.32.mlp.shared_expert.down_proj",
521
+ "model.language_model.layers.32.mlp.shared_expert_gate",
522
+ "model.language_model.layers.33.linear_attn",
523
+ "model.language_model.layers.33.linear_attn.norm",
524
+ "model.language_model.layers.33.linear_attn.out_proj",
525
+ "model.language_model.layers.33.linear_attn.in_proj_qkv",
526
+ "model.language_model.layers.33.linear_attn.in_proj_z",
527
+ "model.language_model.layers.33.linear_attn.in_proj_b",
528
+ "model.language_model.layers.33.linear_attn.in_proj_a",
529
+ "model.language_model.layers.33.mlp.gate",
530
+ "model.language_model.layers.33.mlp.shared_expert.gate_proj",
531
+ "model.language_model.layers.33.mlp.shared_expert.up_proj",
532
+ "model.language_model.layers.33.mlp.shared_expert.down_proj",
533
+ "model.language_model.layers.33.mlp.shared_expert_gate",
534
+ "model.language_model.layers.34.linear_attn",
535
+ "model.language_model.layers.34.linear_attn.norm",
536
+ "model.language_model.layers.34.linear_attn.out_proj",
537
+ "model.language_model.layers.34.linear_attn.in_proj_qkv",
538
+ "model.language_model.layers.34.linear_attn.in_proj_z",
539
+ "model.language_model.layers.34.linear_attn.in_proj_b",
540
+ "model.language_model.layers.34.linear_attn.in_proj_a",
541
+ "model.language_model.layers.34.mlp.gate",
542
+ "model.language_model.layers.34.mlp.shared_expert.gate_proj",
543
+ "model.language_model.layers.34.mlp.shared_expert.up_proj",
544
+ "model.language_model.layers.34.mlp.shared_expert.down_proj",
545
+ "model.language_model.layers.34.mlp.shared_expert_gate",
546
+ "model.language_model.layers.35.self_attn.q_proj",
547
+ "model.language_model.layers.35.self_attn.k_proj",
548
+ "model.language_model.layers.35.self_attn.v_proj",
549
+ "model.language_model.layers.35.self_attn.o_proj",
550
+ "model.language_model.layers.35.mlp.gate",
551
+ "model.language_model.layers.35.mlp.shared_expert.gate_proj",
552
+ "model.language_model.layers.35.mlp.shared_expert.up_proj",
553
+ "model.language_model.layers.35.mlp.shared_expert.down_proj",
554
+ "model.language_model.layers.35.mlp.shared_expert_gate",
555
+ "model.language_model.layers.36.linear_attn",
556
+ "model.language_model.layers.36.linear_attn.norm",
557
+ "model.language_model.layers.36.linear_attn.out_proj",
558
+ "model.language_model.layers.36.linear_attn.in_proj_qkv",
559
+ "model.language_model.layers.36.linear_attn.in_proj_z",
560
+ "model.language_model.layers.36.linear_attn.in_proj_b",
561
+ "model.language_model.layers.36.linear_attn.in_proj_a",
562
+ "model.language_model.layers.36.mlp.gate",
563
+ "model.language_model.layers.36.mlp.shared_expert.gate_proj",
564
+ "model.language_model.layers.36.mlp.shared_expert.up_proj",
565
+ "model.language_model.layers.36.mlp.shared_expert.down_proj",
566
+ "model.language_model.layers.36.mlp.shared_expert_gate",
567
+ "model.language_model.layers.37.linear_attn",
568
+ "model.language_model.layers.37.linear_attn.norm",
569
+ "model.language_model.layers.37.linear_attn.out_proj",
570
+ "model.language_model.layers.37.linear_attn.in_proj_qkv",
571
+ "model.language_model.layers.37.linear_attn.in_proj_z",
572
+ "model.language_model.layers.37.linear_attn.in_proj_b",
573
+ "model.language_model.layers.37.linear_attn.in_proj_a",
574
+ "model.language_model.layers.37.mlp.gate",
575
+ "model.language_model.layers.37.mlp.shared_expert.gate_proj",
576
+ "model.language_model.layers.37.mlp.shared_expert.up_proj",
577
+ "model.language_model.layers.37.mlp.shared_expert.down_proj",
578
+ "model.language_model.layers.37.mlp.shared_expert_gate",
579
+ "model.language_model.layers.38.linear_attn",
580
+ "model.language_model.layers.38.linear_attn.norm",
581
+ "model.language_model.layers.38.linear_attn.out_proj",
582
+ "model.language_model.layers.38.linear_attn.in_proj_qkv",
583
+ "model.language_model.layers.38.linear_attn.in_proj_z",
584
+ "model.language_model.layers.38.linear_attn.in_proj_b",
585
+ "model.language_model.layers.38.linear_attn.in_proj_a",
586
+ "model.language_model.layers.38.mlp.gate",
587
+ "model.language_model.layers.38.mlp.shared_expert.gate_proj",
588
+ "model.language_model.layers.38.mlp.shared_expert.up_proj",
589
+ "model.language_model.layers.38.mlp.shared_expert.down_proj",
590
+ "model.language_model.layers.38.mlp.shared_expert_gate",
591
+ "model.language_model.layers.39.self_attn.q_proj",
592
+ "model.language_model.layers.39.self_attn.k_proj",
593
+ "model.language_model.layers.39.self_attn.v_proj",
594
+ "model.language_model.layers.39.self_attn.o_proj",
595
+ "model.language_model.layers.39.mlp.gate",
596
+ "model.language_model.layers.39.mlp.shared_expert.gate_proj",
597
+ "model.language_model.layers.39.mlp.shared_expert.up_proj",
598
+ "model.language_model.layers.39.mlp.shared_expert.down_proj",
599
+ "model.language_model.layers.39.mlp.shared_expert_gate",
600
+ "lm_head"
601
+ ],
602
+ "kv_cache_scheme": null,
603
+ "quant_method": "compressed-tensors",
604
+ "quantization_status": "compressed",
605
+ "sparsity_config": {},
606
+ "transform_config": {},
607
+ "version": "0.17.2.a20260611"
608
+ },
609
+ "text_config": {
610
+ "attention_bias": false,
611
+ "attention_dropout": 0.0,
612
+ "attn_output_gate": true,
613
+ "bos_token_id": 248044,
614
+ "dtype": "bfloat16",
615
+ "eos_token_id": 248044,
616
+ "full_attention_interval": 4,
617
+ "head_dim": 256,
618
+ "hidden_act": "silu",
619
+ "hidden_size": 2048,
620
+ "initializer_range": 0.02,
621
+ "layer_types": [
622
+ "linear_attention",
623
+ "linear_attention",
624
+ "linear_attention",
625
+ "full_attention",
626
+ "linear_attention",
627
+ "linear_attention",
628
+ "linear_attention",
629
+ "full_attention",
630
+ "linear_attention",
631
+ "linear_attention",
632
+ "linear_attention",
633
+ "full_attention",
634
+ "linear_attention",
635
+ "linear_attention",
636
+ "linear_attention",
637
+ "full_attention",
638
+ "linear_attention",
639
+ "linear_attention",
640
+ "linear_attention",
641
+ "full_attention",
642
+ "linear_attention",
643
+ "linear_attention",
644
+ "linear_attention",
645
+ "full_attention",
646
+ "linear_attention",
647
+ "linear_attention",
648
+ "linear_attention",
649
+ "full_attention",
650
+ "linear_attention",
651
+ "linear_attention",
652
+ "linear_attention",
653
+ "full_attention",
654
+ "linear_attention",
655
+ "linear_attention",
656
+ "linear_attention",
657
+ "full_attention",
658
+ "linear_attention",
659
+ "linear_attention",
660
+ "linear_attention",
661
+ "full_attention"
662
+ ],
663
+ "linear_conv_kernel_dim": 4,
664
+ "linear_key_head_dim": 128,
665
+ "linear_num_key_heads": 16,
666
+ "linear_num_value_heads": 32,
667
+ "linear_value_head_dim": 128,
668
+ "mamba_ssm_dtype": "float32",
669
+ "max_position_embeddings": 262144,
670
+ "model_type": "qwen3_5_moe_text",
671
+ "moe_intermediate_size": 512,
672
+ "mtp_num_hidden_layers": 1,
673
+ "mtp_use_dedicated_embeddings": false,
674
+ "num_attention_heads": 16,
675
+ "num_experts": 256,
676
+ "num_experts_per_tok": 8,
677
+ "num_hidden_layers": 40,
678
+ "num_key_value_heads": 2,
679
+ "output_router_logits": false,
680
+ "pad_token_id": 248044,
681
+ "partial_rotary_factor": 0.25,
682
+ "rms_norm_eps": 1e-06,
683
+ "rope_parameters": {
684
+ "mrope_interleaved": true,
685
+ "mrope_section": [
686
+ 11,
687
+ 11,
688
+ 10
689
+ ],
690
+ "partial_rotary_factor": 0.25,
691
+ "rope_theta": 10000000,
692
+ "rope_type": "default"
693
+ },
694
+ "router_aux_loss_coef": 0.0,
695
+ "shared_expert_intermediate_size": 512,
696
+ "tie_word_embeddings": false,
697
+ "use_cache": false,
698
+ "vocab_size": 248320
699
+ },
700
+ "tie_word_embeddings": false,
701
+ "transformers_version": "5.13.0.dev0",
702
+ "video_token_id": 248057,
703
+ "vision_config": {
704
+ "deepstack_visual_indexes": [],
705
+ "depth": 27,
706
+ "dtype": "bfloat16",
707
+ "hidden_act": "gelu_pytorch_tanh",
708
+ "hidden_size": 1152,
709
+ "in_channels": 3,
710
+ "initializer_range": 0.02,
711
+ "intermediate_size": 4304,
712
+ "model_type": "qwen3_5_moe_vision",
713
+ "num_heads": 16,
714
+ "num_position_embeddings": 2304,
715
+ "out_hidden_size": 2048,
716
+ "patch_size": 16,
717
+ "spatial_merge_size": 2,
718
+ "temporal_patch_size": 2
719
+ },
720
+ "vision_end_token_id": 248054,
721
+ "vision_start_token_id": 248053
722
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 248044,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 248046,
6
+ 248044
7
+ ],
8
+ "pad_token_id": 248044,
9
+ "temperature": 1.0,
10
+ "top_k": 20,
11
+ "top_p": 0.95,
12
+ "transformers_version": "5.13.0.dev0"
13
+ }
model-00001-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb6f50d899f94a03944652b481e28d15e744930b1a54231ebe42532869500d4f
3
+ size 5001397632
model-00002-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d4ca417c3a3ae96c4f4a998d44a605199202bd55de16b7c0dc3a6fe2221198a
3
+ size 5003042292
model-00003-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca0412892cf59f2b78a45d0a0b03af1fb8cd9f25fdb2ac7816e5551eb06f85ff
3
+ size 5003007980
model-00004-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2534d5f266960c0efc948492e867f7fc46b81937a6ec3bddd665b9652507726
3
+ size 5002613264
model-00005-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9357f320ba5d2d2e0f29704ec8d0bd95dcdde126a685ed44c5c6713b6ccc8b42
3
+ size 3912487608
model.safetensors.index.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4476d383a36995be5bc7542015f708d91f4177fa1108cc354fbd4a1ef2c53e6d
3
+ size 10624898
processor_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 16,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 16777216,
24
+ "shortest_edge": 65536
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen3VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": true,
35
+ "fps": 2,
36
+ "image_mean": [
37
+ 0.5,
38
+ 0.5,
39
+ 0.5
40
+ ],
41
+ "image_std": [
42
+ 0.5,
43
+ 0.5,
44
+ 0.5
45
+ ],
46
+ "max_frames": 768,
47
+ "merge_size": 2,
48
+ "min_frames": 4,
49
+ "patch_size": 16,
50
+ "resample": 3,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "return_metadata": false,
53
+ "size": {
54
+ "longest_edge": 25165824,
55
+ "shortest_edge": 4096
56
+ },
57
+ "temporal_patch_size": 2,
58
+ "video_processor_type": "Qwen3VLVideoProcessor"
59
+ }
60
+ }
recipe.yaml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ default_stage:
2
+ default_modifiers:
3
+ QuantizationModifier:
4
+ targets: [Linear]
5
+ ignore: [lm_head, model.language_model.embed_tokens, 're:.*visual.*', 're:.*vision.*',
6
+ 're:.*attn.*', 're:.*shared_expert.*', 're:.*mtp.*', 're:.*mlp\.gate$']
7
+ scheme: NVFP4A16
8
+ bypass_divisibility_checks: false
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": false,
13
+ "local_files_only": false,
14
+ "model_max_length": 262144,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
26
+ "processor_class": "Qwen3VLProcessor",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null,
30
+ "video_token": "<|video_pad|>",
31
+ "vision_bos_token": "<|vision_start|>",
32
+ "vision_eos_token": "<|vision_end|>"
33
+ }