JarvisPei AlexDL commited on
Commit
1db3ba4
·
0 Parent(s):

Release NeoHorse-1-9B-MLX

Browse files

Co-authored-by: AlexDL <AlexDL@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Original Qwen model:
191
+ Copyright 2026 Alibaba Cloud
192
+
193
+ Fine-tuning and repackaging modifications:
194
+ Copyright 2026 TokenRhythm
195
+
196
+ NeoHorse-1-9B is based on Qwen/Qwen3.5-9B and was modified
197
+ by TokenRhythm through fine-tuning and repackaging.
198
+
199
+ Licensed under the Apache License, Version 2.0 (the "License");
200
+ you may not use this file except in compliance with the License.
201
+ You may obtain a copy of the License at
202
+
203
+ http://www.apache.org/licenses/LICENSE-2.0
204
+
205
+ Unless required by applicable law or agreed to in writing, software
206
+ distributed under the License is distributed on an "AS IS" BASIS,
207
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
208
+ See the License for the specific language governing permissions and
209
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: mlx
4
+ pipeline_tag: text-generation
5
+ base_model: TokenRhythm/NeoHorse-1-9B
6
+ tags:
7
+ - agentic
8
+ - tool-use
9
+ - coding
10
+ - reasoning
11
+ - instruction-following
12
+ - mlx
13
+ - bf16
14
+ ---
15
+
16
+ ## MLX local inference
17
+
18
+ This is the **unquantized BF16 MLX** version of [NeoHorse-1-9B](https://huggingface.co/TokenRhythm/NeoHorse-1-9B) for Apple Silicon. Converted from the original BF16 weights with MLX-LM. No weight quantization is applied; MLX-LM adapts tensor names/layouts and normalization representation for its runtime. Benchmark scores below refer to the original model, not a separate evaluation of this MLX version.
19
+
20
+ ```bash
21
+ pip install "mlx-lm>=0.31.3"
22
+ mlx_lm.chat --model TokenRhythm/NeoHorse-1-9B-MLX
23
+ ```
24
+
25
+ The model downloads automatically from Hugging Face. The original chat template is preserved. See [Deployment](#deployment) for local checkpoints, the chat API, and tool calling.
26
+
27
+ <div align="center">
28
+ <h1>NeoHorse-1-9B</h1>
29
+ <p><b>Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness.</b></p>
30
+ </div>
31
+
32
+ <div align="center">
33
+ <a href="https://github.com/TokenRhythm/NeoHorse"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-NeoHorse-181717?logo=github&logoColor=white"></a>
34
+ <a href="https://tokenrhythm.ai/"><img alt="Company" src="https://img.shields.io/badge/Company-TokenRhythm-F97316?logo=homeassistant&logoColor=white"></a>
35
+ <a href="https://huggingface.co/TokenRhythm"><img alt="Hugging Face" src="https://img.shields.io/badge/Hugging%20Face-Models-FFD21E?logo=huggingface&logoColor=000000"></a>
36
+ <a href="https://x.com/opensquilla"><img alt="Twitter / X" src="https://img.shields.io/badge/Twitter%20%2F%20X-OpenSquilla-111827?logo=x&logoColor=white"></a>
37
+ <a href="https://www.apache.org/licenses/LICENSE-2.0"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/License-Apache--2.0-64748B"></a>
38
+ </div>
39
+
40
+ <p align="center">
41
+ <a href="https://arxiv.org/abs/2609.08183"><b>Technical Report</b></a>
42
+ </p>
43
+
44
+ <style>
45
+ /* Reusable benchmark table architecture. Inline styles remain as a fallback for HF rendering. */
46
+ .vl-table {
47
+ width: 100%;
48
+ min-width: 100%;
49
+ border-collapse: collapse;
50
+ table-layout: fixed;
51
+ font-size: 15px;
52
+ }
53
+ .vl-table th {
54
+ font-size: 15px !important;
55
+ line-height: 1.2;
56
+ color: #c2410c;
57
+ background: rgba(249,115,22,.10);
58
+ }
59
+ .vl-table td:not(.benchmark-cell):not([colspan]) {
60
+ font-size: 15px;
61
+ line-height: 1.2;
62
+ vertical-align: middle;
63
+ }
64
+ .vl-table .benchmark-cell {
65
+ padding: 12px 10px 12px 18px !important;
66
+ vertical-align: middle;
67
+ }
68
+ .vl-table .benchmark-capability {
69
+ font-size: 15px;
70
+ font-weight: 600;
71
+ line-height: 1.22;
72
+ color: #c2410c;
73
+ }
74
+ .vl-table .benchmark-name {
75
+ margin-top: 4px;
76
+ font-size: 11px;
77
+ font-weight: 400;
78
+ line-height: 1.2;
79
+ color: inherit;
80
+ }
81
+ .vl-table .metric-stack {
82
+ display: flex;
83
+ flex-direction: column;
84
+ gap: 7px;
85
+ padding: 3px 0;
86
+ }
87
+ .vl-table .metric-label {
88
+ font-size: 10px;
89
+ font-weight: 400;
90
+ line-height: 1.1;
91
+ color: inherit;
92
+ }
93
+ .vl-table .metric-value {
94
+ margin-top: 2px;
95
+ font-size: 15px;
96
+ line-height: 1.15;
97
+ color: inherit;
98
+ }
99
+ .model-table td:first-child {
100
+ width: 34%;
101
+ font-weight: 600;
102
+ }
103
+ /* HF's theme toggle sets the dark class on an ancestor. */
104
+ .dark .vl-table th,
105
+ .dark .vl-table .benchmark-capability {
106
+ color: #fdba74 !important;
107
+ }
108
+ </style>
109
+
110
+ NeoHorse-1-9B is a 9B causal language model and an initial prototype on the path toward **recursive self-improvement (RSI)**. It is post-trained from Qwen3.5-9B for text-based agent harnesses, tool use, coding, and instruction following.
111
+
112
+ Derived from [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B) and fine-tuned by TokenRhythm. The source checkpoint was repackaged for text-only inference. This repository contains **language-model weights only**, converted to MLX BF16 without weight quantization.
113
+
114
+ <p align="center">
115
+ <a href="https://huggingface.co/TokenRhythm/NeoHorse-1-9B/resolve/main/9B_head_fig.jpg">
116
+ <img src="https://huggingface.co/TokenRhythm/NeoHorse-1-9B/resolve/main/9B_head_fig.jpg" alt="NeoHorse-1-9B evaluation results" width="100%">
117
+ </a>
118
+ </p>
119
+
120
+ ## Highlights
121
+
122
+ - **Path toward RSI:** the routing harness assigns tasks to a heterogeneous model pool, records tool interactions and outcomes, estimates capability demand, and uses capability-level feedback to shape the next training mixture. Updated models can return to the harness, closing a prototype evaluation–selection–update loop; extending this loop across successive iterations is the next step toward RSI.
123
+ - **Agentic post-training framework:** the associated research explores routing-guided curriculum SFT and routing-guided on-policy distillation to turn execution trajectories into training signal while preserving execution and harness context around each response.
124
+ - **Data quality:** exact and near-duplicate removal, evaluation decontamination, structural validation, six-dimensional semantic evaluation, and subscene-level Scene/Goal/Outcome labeling.
125
+ - **Broad gains:** 69.04 macro average across ten benchmarks versus 65.60 for Qwen3.5-9B (**+3.44**).
126
+
127
+ ## Model Details
128
+
129
+ <div style="width:100%;max-width:none;margin:16px 0;padding:0;overflow-x:auto">
130
+ <table class="vl-table model-table" width="100%" style="display:table;width:100%;min-width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px">
131
+ <thead><tr>
132
+ <th style="padding:9px 10px;text-align:left;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Property</th>
133
+ <th style="padding:9px 10px;text-align:left;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Value</th>
134
+ </tr></thead><tbody>
135
+ <tr>
136
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Model family</td>
137
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">NeoHorse Agent-Native Causal Language Model</td>
138
+ </tr>
139
+ <tr>
140
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Parameters</td>
141
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">Approximately <strong>9B</strong></td>
142
+ </tr>
143
+ <tr>
144
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Base model</td>
145
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)"><a href="https://huggingface.co/Qwen/Qwen3.5-9B">Qwen3.5-9B</a></td>
146
+ </tr>
147
+ <tr>
148
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Post-training</td>
149
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">Routing-guided agentic post-training</td>
150
+ </tr>
151
+ <tr>
152
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Interface</td>
153
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">Text input and text output</td>
154
+ </tr>
155
+ <tr>
156
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Context length</td>
157
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">262,144 natively and extensible up to 1,010,000 tokens.</td>
158
+ </tr>
159
+ <tr>
160
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Weight format / precision</td>
161
+ <td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">MLX Safetensors / BF16 (unquantized)</td>
162
+ </tr>
163
+ </tbody></table>
164
+ </div>
165
+
166
+ ## Evaluation
167
+ The 9B track compares NeoHorse-1-9B with five representative open-weight baselines: Granite-4.2-8B, Qwen3.5-9B, Ornith-1.5-9B, Gemma-4-12B-it, and Muse-Glimmer-30B. Results cover ten benchmarks and are grouped by capability. Higher is better; `Δ` is NeoHorse-1-9B minus Qwen3.5-9B. **Bold** and <u>underline</u> mark the best and second-best results in each benchmark row, respectively; ties share the same formatting.
168
+
169
+ <div style="overflow-x:auto">
170
+ <table class="vl-table" width="100%" style="display:table;width:100%;min-width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px">
171
+ <thead><tr><th style="padding:9px 8px;text-align:left;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Benchmark</th>
172
+ <th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Granite-4.2-8B</th>
173
+ <th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Qwen3.5-9B</th>
174
+ <th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Ornith-1.5-9B</th>
175
+ <th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Gemma-4-12B-it</th>
176
+ <th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Muse-Glimmer-30B</th>
177
+ <th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.18)">NeoHorse-1-9B</th>
178
+ <th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.18)">Δ vs Qwen3.5-9B</th></tr></thead><tbody>
179
+ <tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">🤖 Agentic</td></tr>
180
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">QwenClawBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">37.01</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">44.04</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>47.27</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">43.53</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">46.11</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>48.73</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+4.69</span></div></td></tr>
181
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">WorkBuddy Bench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">35.07</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">39.60</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">29.29</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">29.65</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>45.85</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><u>40.15</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+0.55</span></div></td></tr>
182
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">PinchBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">56.93</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>74.55</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">68.22</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">58.89</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">71.35</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>82.25</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+7.70</span></div></td></tr>
183
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">VitaBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">23.00</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">31.25</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">26.75</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">36.50</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>48.50</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><u>42.25</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+11.00</span></div></td></tr>
184
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">BFCL v4</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">52.06</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">64.88</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>65.03</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">62.06</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">53.74</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>67.43</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+2.55</span></div></td></tr>
185
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">tau2-Bench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">62.28</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>88.04</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">83.68</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">59.37</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">76.64</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>90.82</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+2.78</span></div></td></tr>
186
+ <tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">💻 Coding</td></tr>
187
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">HumanEval</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">96.34</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">92.68</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">93.90</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>100.00</strong></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>98.17</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><u>98.17</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+5.49</span></div></td></tr>
188
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">LiveCodeBench v6</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>72.00</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">65.14</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">47.43</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>73.14</strong></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">65.71</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value">65.14</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+0.00</span></div></td></tr>
189
+ <tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">📚 Instruction Following</td></tr>
190
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">IFBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>78.00</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">66.33</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">40.00</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">77.67</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>78.67</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value">66.33</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+0.00</span></div></td></tr>
191
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">IFEval</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">92.98</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">89.46</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">71.35</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>94.27</strong></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>93.90</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value">89.09</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">-0.37</span></div></td></tr>
192
+ <tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">📊 Overall</td></tr>
193
+ <tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">Ten-benchmark average</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">60.57</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">65.60</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">57.29</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">63.51</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>67.86</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>69.04</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+3.44</span></div></td></tr>
194
+ </tbody></table>
195
+ </div>
196
+
197
+
198
+ > **Reported protocol:** SGLang v0.5.17 · `temperature=1.0` · `top_p=0.95` · `top_k=20` · `min_p=0.0` · `presence_penalty=1.5` · `repetition_penalty=1.0` · thinking mode enabled with `enable_thinking=true` and `force_nonempty_content=true`. QwenClawBench, WorkBuddy Bench, and tau2-Bench use three runs; PinchBench and VitaBench use one run; the remaining benchmarks follow their official protocols. VitaBench uses the DeepSeek-V4-Flash simulator and judge.
199
+
200
+ ## Deployment
201
+
202
+ Use [MLX-LM](https://github.com/ml-explore/mlx-lm) on an Apple Silicon Mac to run this checkpoint.
203
+
204
+ ### Install and select a local checkpoint
205
+
206
+ ```bash
207
+ pip install "mlx-lm>=0.31.3"
208
+ MODEL_PATH="/path/to/NeoHorse-1-9B-MLX"
209
+ ```
210
+
211
+ Set `MODEL_PATH` to the downloaded MLX directory containing `config.json`, tokenizer files, `chat_template.jinja`, and model weights. You can also use `TokenRhythm/NeoHorse-1-9B-MLX` as the model path to download it automatically from Hugging Face.
212
+
213
+ ### Chat locally
214
+
215
+ ```bash
216
+ mlx_lm.chat --model "$MODEL_PATH"
217
+ ```
218
+
219
+ ### Start an API server
220
+
221
+ ```bash
222
+ mlx_lm.server \
223
+ --model "$MODEL_PATH" \
224
+ --host 127.0.0.1 \
225
+ --port 8080
226
+ ```
227
+
228
+ The server exposes an OpenAI-compatible `/v1/chat/completions` endpoint. In the requests below, `default_model` refers to the checkpoint selected with `--model`.
229
+
230
+ ### Basic Usage
231
+
232
+ After the server starts, run this request in another terminal:
233
+
234
+ ```bash
235
+ curl http://127.0.0.1:8080/v1/chat/completions \
236
+ -H 'Content-Type: application/json' \
237
+ -d '{
238
+ "model": "default_model",
239
+ "messages": [
240
+ {"role": "user", "content": "Write a Python function that returns the first n Fibonacci numbers."}
241
+ ],
242
+ "max_tokens": 2048,
243
+ "stream": false
244
+ }'
245
+ ```
246
+
247
+ The generated reply is returned in `choices[0].message.content`.
248
+
249
+ ### Tool Calling
250
+
251
+ Pass function definitions in the `tools` field:
252
+
253
+ ```bash
254
+ curl http://127.0.0.1:8080/v1/chat/completions \
255
+ -H 'Content-Type: application/json' \
256
+ -d '{
257
+ "model": "default_model",
258
+ "messages": [
259
+ {"role": "user", "content": "Use get_weather to check the current weather in Beijing in celsius."}
260
+ ],
261
+ "tools": [
262
+ {
263
+ "type": "function",
264
+ "function": {
265
+ "name": "get_weather",
266
+ "description": "Get the current weather for a city.",
267
+ "parameters": {
268
+ "type": "object",
269
+ "properties": {
270
+ "city": {"type": "string", "description": "City name."},
271
+ "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}
272
+ },
273
+ "required": ["city", "unit"]
274
+ }
275
+ }
276
+ }
277
+ ],
278
+ "max_tokens": 2048,
279
+ "stream": false
280
+ }'
281
+ ```
282
+
283
+ MLX-LM reads the preserved chat template to format tool requests and parse generated calls. When the model chooses to call a tool, the call is returned in `choices[0].message.tool_calls`. Your application executes the function, appends the assistant message and a `role: "tool"` result with the matching `tool_call_id`, then sends the conversation back to the same endpoint for the final answer.
284
+
285
+ ## License
286
+
287
+ NeoHorse-1-9B is released under the **Apache License 2.0**.
288
+
289
+ The upstream model is [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B). Its original copyright notice, Copyright 2026 Alibaba Cloud, is retained in the license file. TokenRhythm fine-tuned and repackaged the source checkpoint for text-only inference. This repository provides its MLX BF16 conversion without weight quantization.
290
+
291
+ ## Citation
292
+
293
+ ```
294
+ @misc{neohorse2026,
295
+ title = {NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness},
296
+ author = {NeoHorse Team},
297
+ year = {2026},
298
+ howpublished = {arXiv preprint},
299
+ eprint = {2609.08183},
300
+ archivePrefix = {arXiv},
301
+ primaryClass = {cs.CL},
302
+ url = {https://arxiv.org/abs/2609.08183}
303
+ }
304
+ ```
305
+
306
+ For questions or issue reports, use the [NeoHorse project repository](https://github.com/TokenRhythm/NeoHorse).
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 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 | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attn_output_gate": true,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": [
10
+ 248044,
11
+ 248046
12
+ ],
13
+ "full_attention_interval": 4,
14
+ "head_dim": 256,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 4096,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 12288,
19
+ "layer_types": [
20
+ "linear_attention",
21
+ "linear_attention",
22
+ "linear_attention",
23
+ "full_attention",
24
+ "linear_attention",
25
+ "linear_attention",
26
+ "linear_attention",
27
+ "full_attention",
28
+ "linear_attention",
29
+ "linear_attention",
30
+ "linear_attention",
31
+ "full_attention",
32
+ "linear_attention",
33
+ "linear_attention",
34
+ "linear_attention",
35
+ "full_attention",
36
+ "linear_attention",
37
+ "linear_attention",
38
+ "linear_attention",
39
+ "full_attention",
40
+ "linear_attention",
41
+ "linear_attention",
42
+ "linear_attention",
43
+ "full_attention",
44
+ "linear_attention",
45
+ "linear_attention",
46
+ "linear_attention",
47
+ "full_attention",
48
+ "linear_attention",
49
+ "linear_attention",
50
+ "linear_attention",
51
+ "full_attention"
52
+ ],
53
+ "linear_conv_kernel_dim": 4,
54
+ "linear_key_head_dim": 128,
55
+ "linear_num_key_heads": 16,
56
+ "linear_num_value_heads": 32,
57
+ "linear_value_head_dim": 128,
58
+ "mamba_ssm_dtype": "float32",
59
+ "max_position_embeddings": 262144,
60
+ "mlp_only_layers": [],
61
+ "model_type": "qwen3_5",
62
+ "modification_notice": "Modified by TokenRhythm: language-model weights fine-tuned from Qwen/Qwen3.5-9B; repackaged for text-only inference by changing config and tensor key prefixes. Tensor values are unchanged by repackaging. Original model: Copyright 2026 Alibaba Cloud.",
63
+ "mtp_num_hidden_layers": 1,
64
+ "mtp_use_dedicated_embeddings": false,
65
+ "num_attention_heads": 16,
66
+ "num_hidden_layers": 32,
67
+ "num_key_value_heads": 4,
68
+ "rms_norm_eps": 1e-06,
69
+ "rope_parameters": {
70
+ "mrope_interleaved": true,
71
+ "mrope_section": [
72
+ 11,
73
+ 11,
74
+ 10
75
+ ],
76
+ "rope_theta": 10000000,
77
+ "partial_rotary_factor": 0.25,
78
+ "type": "default"
79
+ },
80
+ "tie_word_embeddings": false,
81
+ "transformers_version": "5.16.1",
82
+ "use_cache": true,
83
+ "vocab_size": 248320
84
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token_id": [
3
+ 248044,
4
+ 248046
5
+ ]
6
+ }
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e543151f87dc88c76ea0167232b5fde0b29f1724f785ade3f23673754c9228c0
3
+ size 5292705351
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cbe9bef2690ee96ffb21efbdc3be3d8def2a12ad5a266406d42c62de284e9a6
3
+ size 5290355591
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee2438374ca9666b69e4263bdc6a7c925fa74bdd6070d9bc90fecd1b06027a5f
3
+ size 5290363915
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51b74ab403f947620817909da06e22829543c49e4dffc0544099dc1b757428bb
3
+ size 2034237582
model.safetensors.index.json ADDED
@@ -0,0 +1,435 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 17907606528,
4
+ "total_parameters": 8953801728
5
+ },
6
+ "weight_map": {
7
+ "language_model.lm_head.weight": "model-00004-of-00004.safetensors",
8
+ "language_model.model.embed_tokens.weight": "model-00001-of-00004.safetensors",
9
+ "language_model.model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
10
+ "language_model.model.layers.0.linear_attn.A_log": "model-00001-of-00004.safetensors",
11
+ "language_model.model.layers.0.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
12
+ "language_model.model.layers.0.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
13
+ "language_model.model.layers.0.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
14
+ "language_model.model.layers.0.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
15
+ "language_model.model.layers.0.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
16
+ "language_model.model.layers.0.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
17
+ "language_model.model.layers.0.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
18
+ "language_model.model.layers.0.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
19
+ "language_model.model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
20
+ "language_model.model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
21
+ "language_model.model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
22
+ "language_model.model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
23
+ "language_model.model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
24
+ "language_model.model.layers.1.linear_attn.A_log": "model-00001-of-00004.safetensors",
25
+ "language_model.model.layers.1.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
26
+ "language_model.model.layers.1.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
27
+ "language_model.model.layers.1.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
28
+ "language_model.model.layers.1.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
29
+ "language_model.model.layers.1.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
30
+ "language_model.model.layers.1.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
31
+ "language_model.model.layers.1.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
32
+ "language_model.model.layers.1.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
33
+ "language_model.model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
34
+ "language_model.model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
35
+ "language_model.model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
36
+ "language_model.model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
37
+ "language_model.model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
38
+ "language_model.model.layers.10.linear_attn.A_log": "model-00002-of-00004.safetensors",
39
+ "language_model.model.layers.10.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
40
+ "language_model.model.layers.10.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
41
+ "language_model.model.layers.10.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
42
+ "language_model.model.layers.10.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
43
+ "language_model.model.layers.10.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
44
+ "language_model.model.layers.10.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
45
+ "language_model.model.layers.10.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
46
+ "language_model.model.layers.10.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
47
+ "language_model.model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
48
+ "language_model.model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
49
+ "language_model.model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
50
+ "language_model.model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
51
+ "language_model.model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
52
+ "language_model.model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
53
+ "language_model.model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
54
+ "language_model.model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
55
+ "language_model.model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
56
+ "language_model.model.layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
57
+ "language_model.model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
58
+ "language_model.model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
59
+ "language_model.model.layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
60
+ "language_model.model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
61
+ "language_model.model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
62
+ "language_model.model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
63
+ "language_model.model.layers.12.linear_attn.A_log": "model-00002-of-00004.safetensors",
64
+ "language_model.model.layers.12.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
65
+ "language_model.model.layers.12.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
66
+ "language_model.model.layers.12.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
67
+ "language_model.model.layers.12.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
68
+ "language_model.model.layers.12.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
69
+ "language_model.model.layers.12.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
70
+ "language_model.model.layers.12.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
71
+ "language_model.model.layers.12.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
72
+ "language_model.model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
73
+ "language_model.model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
74
+ "language_model.model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
75
+ "language_model.model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
76
+ "language_model.model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
77
+ "language_model.model.layers.13.linear_attn.A_log": "model-00002-of-00004.safetensors",
78
+ "language_model.model.layers.13.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
79
+ "language_model.model.layers.13.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
80
+ "language_model.model.layers.13.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
81
+ "language_model.model.layers.13.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
82
+ "language_model.model.layers.13.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
83
+ "language_model.model.layers.13.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
84
+ "language_model.model.layers.13.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
85
+ "language_model.model.layers.13.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
86
+ "language_model.model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
87
+ "language_model.model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
88
+ "language_model.model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
89
+ "language_model.model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
90
+ "language_model.model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
91
+ "language_model.model.layers.14.linear_attn.A_log": "model-00002-of-00004.safetensors",
92
+ "language_model.model.layers.14.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
93
+ "language_model.model.layers.14.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
94
+ "language_model.model.layers.14.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
95
+ "language_model.model.layers.14.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
96
+ "language_model.model.layers.14.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
97
+ "language_model.model.layers.14.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
98
+ "language_model.model.layers.14.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
99
+ "language_model.model.layers.14.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
100
+ "language_model.model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
101
+ "language_model.model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
102
+ "language_model.model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
103
+ "language_model.model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
104
+ "language_model.model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
105
+ "language_model.model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
106
+ "language_model.model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
107
+ "language_model.model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
108
+ "language_model.model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
109
+ "language_model.model.layers.15.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
110
+ "language_model.model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
111
+ "language_model.model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
112
+ "language_model.model.layers.15.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
113
+ "language_model.model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
114
+ "language_model.model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
115
+ "language_model.model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
116
+ "language_model.model.layers.16.linear_attn.A_log": "model-00002-of-00004.safetensors",
117
+ "language_model.model.layers.16.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
118
+ "language_model.model.layers.16.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
119
+ "language_model.model.layers.16.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
120
+ "language_model.model.layers.16.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
121
+ "language_model.model.layers.16.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
122
+ "language_model.model.layers.16.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
123
+ "language_model.model.layers.16.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
124
+ "language_model.model.layers.16.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
125
+ "language_model.model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
126
+ "language_model.model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
127
+ "language_model.model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
128
+ "language_model.model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
129
+ "language_model.model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
130
+ "language_model.model.layers.17.linear_attn.A_log": "model-00002-of-00004.safetensors",
131
+ "language_model.model.layers.17.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
132
+ "language_model.model.layers.17.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
133
+ "language_model.model.layers.17.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
134
+ "language_model.model.layers.17.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
135
+ "language_model.model.layers.17.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
136
+ "language_model.model.layers.17.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
137
+ "language_model.model.layers.17.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
138
+ "language_model.model.layers.17.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
139
+ "language_model.model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
140
+ "language_model.model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
141
+ "language_model.model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
142
+ "language_model.model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
143
+ "language_model.model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
144
+ "language_model.model.layers.18.linear_attn.A_log": "model-00002-of-00004.safetensors",
145
+ "language_model.model.layers.18.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
146
+ "language_model.model.layers.18.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
147
+ "language_model.model.layers.18.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
148
+ "language_model.model.layers.18.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
149
+ "language_model.model.layers.18.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
150
+ "language_model.model.layers.18.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
151
+ "language_model.model.layers.18.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
152
+ "language_model.model.layers.18.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
153
+ "language_model.model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
154
+ "language_model.model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
155
+ "language_model.model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
156
+ "language_model.model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
157
+ "language_model.model.layers.19.input_layernorm.weight": "model-00002-of-00004.safetensors",
158
+ "language_model.model.layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
159
+ "language_model.model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
160
+ "language_model.model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
161
+ "language_model.model.layers.19.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
162
+ "language_model.model.layers.19.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
163
+ "language_model.model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
164
+ "language_model.model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
165
+ "language_model.model.layers.19.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
166
+ "language_model.model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
167
+ "language_model.model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
168
+ "language_model.model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
169
+ "language_model.model.layers.2.linear_attn.A_log": "model-00001-of-00004.safetensors",
170
+ "language_model.model.layers.2.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
171
+ "language_model.model.layers.2.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
172
+ "language_model.model.layers.2.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
173
+ "language_model.model.layers.2.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
174
+ "language_model.model.layers.2.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
175
+ "language_model.model.layers.2.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
176
+ "language_model.model.layers.2.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
177
+ "language_model.model.layers.2.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
178
+ "language_model.model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
179
+ "language_model.model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
180
+ "language_model.model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
181
+ "language_model.model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
182
+ "language_model.model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
183
+ "language_model.model.layers.20.linear_attn.A_log": "model-00003-of-00004.safetensors",
184
+ "language_model.model.layers.20.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
185
+ "language_model.model.layers.20.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
186
+ "language_model.model.layers.20.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
187
+ "language_model.model.layers.20.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
188
+ "language_model.model.layers.20.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
189
+ "language_model.model.layers.20.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
190
+ "language_model.model.layers.20.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
191
+ "language_model.model.layers.20.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
192
+ "language_model.model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
193
+ "language_model.model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
194
+ "language_model.model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
195
+ "language_model.model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
196
+ "language_model.model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
197
+ "language_model.model.layers.21.linear_attn.A_log": "model-00003-of-00004.safetensors",
198
+ "language_model.model.layers.21.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
199
+ "language_model.model.layers.21.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
200
+ "language_model.model.layers.21.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
201
+ "language_model.model.layers.21.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
202
+ "language_model.model.layers.21.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
203
+ "language_model.model.layers.21.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
204
+ "language_model.model.layers.21.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
205
+ "language_model.model.layers.21.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
206
+ "language_model.model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
207
+ "language_model.model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
208
+ "language_model.model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
209
+ "language_model.model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
210
+ "language_model.model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
211
+ "language_model.model.layers.22.linear_attn.A_log": "model-00003-of-00004.safetensors",
212
+ "language_model.model.layers.22.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
213
+ "language_model.model.layers.22.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
214
+ "language_model.model.layers.22.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
215
+ "language_model.model.layers.22.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
216
+ "language_model.model.layers.22.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
217
+ "language_model.model.layers.22.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
218
+ "language_model.model.layers.22.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
219
+ "language_model.model.layers.22.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
220
+ "language_model.model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
221
+ "language_model.model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
222
+ "language_model.model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
223
+ "language_model.model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
224
+ "language_model.model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
225
+ "language_model.model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
226
+ "language_model.model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
227
+ "language_model.model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
228
+ "language_model.model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "language_model.model.layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
230
+ "language_model.model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
231
+ "language_model.model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
232
+ "language_model.model.layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
233
+ "language_model.model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
234
+ "language_model.model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
235
+ "language_model.model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
236
+ "language_model.model.layers.24.linear_attn.A_log": "model-00003-of-00004.safetensors",
237
+ "language_model.model.layers.24.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
238
+ "language_model.model.layers.24.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
239
+ "language_model.model.layers.24.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
240
+ "language_model.model.layers.24.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
241
+ "language_model.model.layers.24.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
242
+ "language_model.model.layers.24.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
243
+ "language_model.model.layers.24.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
244
+ "language_model.model.layers.24.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
245
+ "language_model.model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
246
+ "language_model.model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
247
+ "language_model.model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
248
+ "language_model.model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
249
+ "language_model.model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
250
+ "language_model.model.layers.25.linear_attn.A_log": "model-00003-of-00004.safetensors",
251
+ "language_model.model.layers.25.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
252
+ "language_model.model.layers.25.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
253
+ "language_model.model.layers.25.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
254
+ "language_model.model.layers.25.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
255
+ "language_model.model.layers.25.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
256
+ "language_model.model.layers.25.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
257
+ "language_model.model.layers.25.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
258
+ "language_model.model.layers.25.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
259
+ "language_model.model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
260
+ "language_model.model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
261
+ "language_model.model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
262
+ "language_model.model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
263
+ "language_model.model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
264
+ "language_model.model.layers.26.linear_attn.A_log": "model-00003-of-00004.safetensors",
265
+ "language_model.model.layers.26.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
266
+ "language_model.model.layers.26.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
267
+ "language_model.model.layers.26.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
268
+ "language_model.model.layers.26.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
269
+ "language_model.model.layers.26.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
270
+ "language_model.model.layers.26.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
271
+ "language_model.model.layers.26.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
272
+ "language_model.model.layers.26.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
273
+ "language_model.model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
274
+ "language_model.model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
275
+ "language_model.model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
276
+ "language_model.model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
277
+ "language_model.model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
278
+ "language_model.model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
279
+ "language_model.model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
280
+ "language_model.model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
281
+ "language_model.model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
282
+ "language_model.model.layers.27.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
283
+ "language_model.model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
284
+ "language_model.model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
285
+ "language_model.model.layers.27.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
286
+ "language_model.model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
287
+ "language_model.model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
288
+ "language_model.model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
289
+ "language_model.model.layers.28.linear_attn.A_log": "model-00003-of-00004.safetensors",
290
+ "language_model.model.layers.28.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
291
+ "language_model.model.layers.28.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
292
+ "language_model.model.layers.28.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
293
+ "language_model.model.layers.28.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
294
+ "language_model.model.layers.28.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
295
+ "language_model.model.layers.28.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
296
+ "language_model.model.layers.28.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
297
+ "language_model.model.layers.28.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
298
+ "language_model.model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
299
+ "language_model.model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
300
+ "language_model.model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
301
+ "language_model.model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
302
+ "language_model.model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
303
+ "language_model.model.layers.29.linear_attn.A_log": "model-00003-of-00004.safetensors",
304
+ "language_model.model.layers.29.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
305
+ "language_model.model.layers.29.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
306
+ "language_model.model.layers.29.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
307
+ "language_model.model.layers.29.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
308
+ "language_model.model.layers.29.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
309
+ "language_model.model.layers.29.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
310
+ "language_model.model.layers.29.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
311
+ "language_model.model.layers.29.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
312
+ "language_model.model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
313
+ "language_model.model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
314
+ "language_model.model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
315
+ "language_model.model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
316
+ "language_model.model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
317
+ "language_model.model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
318
+ "language_model.model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
319
+ "language_model.model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
320
+ "language_model.model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
321
+ "language_model.model.layers.3.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
322
+ "language_model.model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
323
+ "language_model.model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
324
+ "language_model.model.layers.3.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
325
+ "language_model.model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
326
+ "language_model.model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
327
+ "language_model.model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
328
+ "language_model.model.layers.30.linear_attn.A_log": "model-00003-of-00004.safetensors",
329
+ "language_model.model.layers.30.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
330
+ "language_model.model.layers.30.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
331
+ "language_model.model.layers.30.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
332
+ "language_model.model.layers.30.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
333
+ "language_model.model.layers.30.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
334
+ "language_model.model.layers.30.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
335
+ "language_model.model.layers.30.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
336
+ "language_model.model.layers.30.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
337
+ "language_model.model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
338
+ "language_model.model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
339
+ "language_model.model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
340
+ "language_model.model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
341
+ "language_model.model.layers.31.input_layernorm.weight": "model-00003-of-00004.safetensors",
342
+ "language_model.model.layers.31.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
343
+ "language_model.model.layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
344
+ "language_model.model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
345
+ "language_model.model.layers.31.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
346
+ "language_model.model.layers.31.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
347
+ "language_model.model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
348
+ "language_model.model.layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
349
+ "language_model.model.layers.31.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
350
+ "language_model.model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
351
+ "language_model.model.layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
352
+ "language_model.model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
353
+ "language_model.model.layers.4.linear_attn.A_log": "model-00001-of-00004.safetensors",
354
+ "language_model.model.layers.4.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
355
+ "language_model.model.layers.4.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
356
+ "language_model.model.layers.4.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
357
+ "language_model.model.layers.4.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
358
+ "language_model.model.layers.4.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
359
+ "language_model.model.layers.4.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
360
+ "language_model.model.layers.4.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
361
+ "language_model.model.layers.4.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
362
+ "language_model.model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
363
+ "language_model.model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
364
+ "language_model.model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
365
+ "language_model.model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
366
+ "language_model.model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
367
+ "language_model.model.layers.5.linear_attn.A_log": "model-00001-of-00004.safetensors",
368
+ "language_model.model.layers.5.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
369
+ "language_model.model.layers.5.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
370
+ "language_model.model.layers.5.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
371
+ "language_model.model.layers.5.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
372
+ "language_model.model.layers.5.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
373
+ "language_model.model.layers.5.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
374
+ "language_model.model.layers.5.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
375
+ "language_model.model.layers.5.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
376
+ "language_model.model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
377
+ "language_model.model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
378
+ "language_model.model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
379
+ "language_model.model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
380
+ "language_model.model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
381
+ "language_model.model.layers.6.linear_attn.A_log": "model-00001-of-00004.safetensors",
382
+ "language_model.model.layers.6.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
383
+ "language_model.model.layers.6.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
384
+ "language_model.model.layers.6.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
385
+ "language_model.model.layers.6.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
386
+ "language_model.model.layers.6.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
387
+ "language_model.model.layers.6.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
388
+ "language_model.model.layers.6.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
389
+ "language_model.model.layers.6.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
390
+ "language_model.model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
391
+ "language_model.model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
392
+ "language_model.model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
393
+ "language_model.model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
394
+ "language_model.model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
395
+ "language_model.model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
396
+ "language_model.model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
397
+ "language_model.model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
398
+ "language_model.model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
399
+ "language_model.model.layers.7.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
400
+ "language_model.model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
401
+ "language_model.model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
402
+ "language_model.model.layers.7.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
403
+ "language_model.model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
404
+ "language_model.model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
405
+ "language_model.model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
406
+ "language_model.model.layers.8.linear_attn.A_log": "model-00002-of-00004.safetensors",
407
+ "language_model.model.layers.8.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
408
+ "language_model.model.layers.8.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
409
+ "language_model.model.layers.8.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
410
+ "language_model.model.layers.8.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
411
+ "language_model.model.layers.8.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
412
+ "language_model.model.layers.8.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
413
+ "language_model.model.layers.8.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
414
+ "language_model.model.layers.8.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
415
+ "language_model.model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
416
+ "language_model.model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
417
+ "language_model.model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
418
+ "language_model.model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
419
+ "language_model.model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
420
+ "language_model.model.layers.9.linear_attn.A_log": "model-00002-of-00004.safetensors",
421
+ "language_model.model.layers.9.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
422
+ "language_model.model.layers.9.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
423
+ "language_model.model.layers.9.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
424
+ "language_model.model.layers.9.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
425
+ "language_model.model.layers.9.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
426
+ "language_model.model.layers.9.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
427
+ "language_model.model.layers.9.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
428
+ "language_model.model.layers.9.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
429
+ "language_model.model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
430
+ "language_model.model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
431
+ "language_model.model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
432
+ "language_model.model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
433
+ "language_model.model.norm.weight": "model-00003-of-00004.safetensors"
434
+ }
435
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": true,
13
+ "local_files_only": false,
14
+ "model_max_length": 262144,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "tool_parser_type": "qwen3_coder",
29
+ "unk_token": null,
30
+ "video_token": "<|video_pad|>",
31
+ "vision_bos_token": "<|vision_start|>",
32
+ "vision_eos_token": "<|vision_end|>"
33
+ }