jucho2725 commited on
Commit
8293295
·
verified ·
1 Parent(s): cb59a3a

Release BotPsy-0.8B (BF16 safetensors)

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
ATTRIBUTIONS.md ADDED
The diff for this file is too large to render. See raw diff
 
LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ license_link: https://huggingface.co/qvac/BotPsy-0.8B/blob/main/LICENSE
4
+ language:
5
+ - en
6
+ library_name: transformers
7
+ pipeline_tag: text-generation
8
+ base_model:
9
+ - Qwen/Qwen3.5-0.8B
10
+ base_model_relation: finetune
11
+ tags:
12
+ - tool-calling
13
+ - function-calling
14
+ - agent
15
+ - agentic
16
+ - on-device
17
+ - edge
18
+ - qwen3_5
19
+ - tether-ai
20
+ - qvac
21
+ ---
22
+
23
+ # BotPsy-0.8B
24
+
25
+ **BotPsy-0.8B** is a 0.8B-parameter model designed for function calling and agentic workflows, built on top of [Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B) and suitable for on-device deployment. BotPsy is a "personal assistant" that uses tools to perform a variety of simple tasks for the user, in domains such as web search & research, travel & lifestyle, commerce & finance, business & customer operations, device & vehicle control, files & documents, calendar, and email & messaging. Due to its small parameter count, it is best suited to tasks of low to medium difficulty. BotPsy achieves state-of-the-art (SOTA) tool-use and agentic performance for its size, outperforming every model of up to 1.2B parameters that we tested. As a small model, BotPsy still makes mistakes and is not intended for high-stakes use; please read the [Intended Use and Limitations](#intended-use-and-limitations) section for more information.
26
+
27
+ This repository holds the BF16 weights in Hugging Face safetensors format. GGUF files (BF16, Q8_0 and Q4_K_M) for llama.cpp and the QVAC SDK are in [qvac/BotPsy-0.8B-GGUFs](https://huggingface.co/qvac/BotPsy-0.8B-GGUFs). The full write-up, with every benchmark and the training method, is the [BotPsy blog post](https://huggingface.co/blog/qvac/botpsy).
28
+
29
+ **Copyright Complaints**: We will take appropriate actions in response to notice of copyright infringement. If you believe your work has been used or copied in a manner that infringes upon your intellectual property rights, please email [data-apps@tether.io](mailto:data-apps@tether.io) identifying and describing both the copyrighted work and alleged infringing content to file a notice of infringement.
30
+
31
+ | | |
32
+ |:---|:---|
33
+ | **Developed by** | [Tether AI Research](https://tether.io/)<sup>*</sup> |
34
+ | **Model type** | Causal language model for tool calling (Qwen3.5 architecture: hybrid Gated DeltaNet + gated attention), used text-only |
35
+ | **Parameters** | 0.8B |
36
+ | **Base model** | [Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B) |
37
+ | **Post-training** | SFT, then multi-teacher on-policy distillation (MOPD), then two rounds of RL (DAPO) |
38
+ | **Reasoning** | Thinks before it answers (thinking mode, `enable_thinking=True`) |
39
+ | **Language** | English (recommended) |
40
+ | **Precision** | BF16 (this repository); BF16, Q8_0 and Q4_K_M GGUF in [BotPsy-0.8B-GGUFs](https://huggingface.co/qvac/BotPsy-0.8B-GGUFs) |
41
+ | **License** | [Apache 2.0](https://huggingface.co/qvac/BotPsy-0.8B/blob/main/LICENSE) |
42
+ | **Blog post** | [BotPsy on Hugging Face](https://huggingface.co/blog/qvac/botpsy) |
43
+ | **Collection** | [BotPsy](https://huggingface.co/collections/qvac/botpsy) |
44
+
45
+ <sup>*</sup> References to Tether AI Research are references to Tether Data, S.A. de C.V.
46
+
47
+ ## Key Highlights
48
+
49
+ ### Benchmark results
50
+ - **Twice the performance of its base model:** BotPsy roughly doubles the agentic capability of Qwen3.5-0.8B-Think on key benchmarks: BFCL v4 rises from 23.4 to 44.0, ACEBench from 30.1 to 58.7, and τ-bench from 23.2 to 51.5 (mean of the retail, telecom and banking subsets).
51
+ - **Best agent in its category:** BotPsy outperforms leading models in the ≤1.2B-parameter weight class (Qwen3.5-0.8B-Think, LFM2.5-1.2B-Think, MiniCPM5-1B-Think) on all six tool-use and agentic benchmarks: BFCL v4, ACEBench, τ-bench, ToolSandbox, Claw-Eval and BrowseComp-Plus.
52
+ - **Outperforms its larger sibling:** BotPsy has the highest score of all models tested on five of the six benchmarks, beating Qwen3.5-2B-Think, a model 2.5× its size, on BFCL v4 (44.0 vs 37.7), ACEBench (58.7 vs 55.4), τ-bench (51.5 vs 46.5), ToolSandbox (64.6 vs 41.2) and BrowseComp-Plus (4.5 vs 2.8). Only on Claw-Eval does Qwen3.5-2B-Think lead (48.9 vs 46.5).
53
+
54
+ ### Model capabilities
55
+ - **More reliable in multi-turn workflows:** On τ²-bench, where the agent must hold a long customer conversation, follow a strict policy, and act on the customer's behalf, it scores 82.5 in telecom, ahead of Qwen3.5-2B-Think (69.3). On BFCL v4's multi-turn tasks, it rises from 7.5 to 46.1 over its base, nearly double Qwen3.5-2B-Think (23.8). Grouped by application, its multi-step scores lead all models tested in commerce and services (58.3 vs 47.4 for the next best, Qwen3.5-2B-Think) and in device and system management (46.1 vs 31.9).
56
+ - **Knows when (not) to call tools:** An agent that acts must also know when not to act. On BFCL v4's hallucination tests, which check that the model declines when no appropriate tool exists, BotPsy scores 86.1, the highest of all models tested. On ACEBench's special cases, where the request is incomplete, contains wrong parameters, or cannot be served by the given tools, it scores 51.3, up from 13.7 for its base model.
57
+ - **Follows instructions while preserving knowledge:** BotPsy specializes in tool use while preserving general skills. Instruction following improves sharply, with IFEval rising from 59.7 to 90.8 and IFBench from 22.0 to 55.9, the highest IFBench score of all models tested. General knowledge also improves, with GPQA Diamond rising from 33.2 to 38.1 and MMLU-Pro from 41.6 to 48.9. On all four benchmarks, BotPsy outperforms every other model of 1.2B parameters or fewer that we tested.
58
+
59
+ ### Safety, efficiency and deployment
60
+ - **Safer than leading models in its category:** In automated red-teaming across six harm categories, BotPsy produces unsafe responses 21% of the time, compared with 36% for its base model. This is the lowest rate of all models of up to 1.2B parameters (LFM2.5-1.2B-Think: 35%; MiniCPM5-1B-Think: 47%). Under prompt-injection attacks, which matter most for agents that read untrusted tool outputs, the unsafe rate drops from 46% for its base model to 31%.
61
+ - **More efficient reasoning and less looping:** On questions that all five models answer correctly, BotPsy reaches the answer with about 3× fewer reasoning tokens than its base model on GPQA Diamond (3,690 vs 11,563) and 2.7× fewer on MMLU-Pro (1,912 vs 5,105). Across all IFBench attempts, its rate of getting stuck in repetitive reasoning loops falls from 22.9% to 1.4%, and runs that hit the 32k-token limit fall from 28.3% to 0.2%. Shorter, more decisive reasoning should reduce latency on-device.
62
+ - **Open-source and ready to use:** BotPsy is released with open weights under the Apache 2.0 license for research and educational use. It is available in three precisions (bf16, Q8, Q4), as Hugging Face safetensors and as GGUF files for the QVAC SDK and llama.cpp.
63
+
64
+ ## Benchmark Results
65
+
66
+ All five models were evaluated in thinking mode with one shared evaluation harness. BotPsy was served from these BF16 weights with vLLM. Best score per row in **bold**, second best <u>underlined</u>; multipliers give parameter count relative to BotPsy-0.8B.
67
+
68
+ | Benchmark | **BotPsy-0.8B**<br><sub>ours</sub> | Qwen3.5-0.8B-Think<br><sub>base · 1×</sub> | Qwen3.5-2B-Think<br><sub>2.5×</sub> | LFM2.5-1.2B-Think<br><sub>1.5×</sub> | MiniCPM5-1B-Think<br><sub>1.25×</sub> |
69
+ | :--- | :---: | :---: | :---: | :---: | :---: |
70
+ | ***Tool use & agents*** | | | | | |
71
+ | BFCL v4¹ | **44.0** | 23.4 | <u>37.7</u> | 28.1 | 22.8 |
72
+ | ACEBench² | **58.7** | 30.1 | <u>55.4</u> | 39.4 | 24.5 |
73
+ | τ-bench³ | **51.5** | 23.2 | <u>46.5</u> | 6.5 | 28.8 |
74
+ | Claw-Eval⁴ | <u>46.5</u> | 39.3 | **48.9** | 31.6 | 31.0 |
75
+ | BrowseComp-Plus⁵ | **4.5** | 1.9 | <u>2.8</u> | 0.2 | 0.8 |
76
+ | ToolSandbox⁶ | **64.6** | 30.5 | 41.2 | <u>45.7</u> | 28.1 |
77
+ | *Average* | ***45.0*** | *24.7* | *<u>38.8</u>* | *25.3* | *22.7* |
78
+ | ***Knowledge*** | | | | | |
79
+ | GPQA Diamond⁷ | <u>38.1</u> | 33.2 | **59.9** | 35.0 | 15.8 |
80
+ | MMLU-Pro⁸ | <u>48.9</u> | 41.6 | **65.5** | 39.4 | 40.0 |
81
+ | ***Instruction following*** | | | | | |
82
+ | IFEval⁹ | **90.8** | 59.7 | 80.0 | <u>85.6</u> | 78.4 |
83
+ | IFBench⁹ | **55.9** | 22.0 | <u>40.9</u> | 33.9 | 40.6 |
84
+ | Multi-IF¹⁰ | <u>67.2</u> | 43.2 | 66.9 | **68.2** | 53.4 |
85
+
86
+ <details>
87
+ <summary>Evaluation footnotes</summary>
88
+
89
+ - All scores are percentages (higher is better).
90
+ - All models were evaluated in thinking (reasoning) mode.
91
+ - All benchmarks that use an external API were run on **November 3, 2026**.
92
+ - ¹ BFCL v4: overall score calculated using the official weighted formula (40% Agentic, 30% Multi-Turn, 10% Live, 10% Non-Live, and 10% Hallucination), averaged over 3 runs.
93
+ - ² ACEBench: overall accuracy. All models were evaluated in function-calling (FC) mode; mean of 2 runs.
94
+ - ³ τ-bench: average of τ²-bench (retail, telecom) and τ³-bench (banking), excluding airline; mean of 3 runs.
95
+ - ⁴ Claw-Eval: official average task score, where each task scores safety × (0.8 × completion + 0.2 × robustness); mean of 3 runs.
96
+ - ⁵ BrowseComp-Plus: accuracy, with a maximum of 30 steps for all models.
97
+ - ⁶ ToolSandbox: mean similarity score over 8 settings.
98
+ - ⁷ GPQA Diamond: accuracy over all 198 questions, mean of 3 runs, thinking enabled.
99
+ - ⁸ MMLU-Pro: accuracy.
100
+ - ⁹ IFEval, IFBench: prompt-level strict accuracy.
101
+ - ¹⁰ Multi-IF: average of 3 runs.
102
+
103
+ </details>
104
+
105
+ BotPsy's weaker spots are open-ended search and a few areas where Qwen3.5-2B-Think still leads: BrowseComp-Plus deep research (4.5, the best of the five but low in absolute terms), BFCL web search (14.0) and memory (16.3), Claw-Eval, and ACEBench's special cases. On τ³-banking no model gets above 5. Knowledge still scales mainly with parameter count, so BotPsy is designed to call tools for facts it does not know, not to serve as a knowledge model. See the [blog post](https://huggingface.co/blog/qvac/botpsy) for the multi-turn, app-level and efficiency analyses.
106
+
107
+ ## Training
108
+
109
+ BotPsy is based on Qwen3.5-0.8B and is post-trained in four sequential stages. Each stage starts from the previous stage's best checkpoint.
110
+
111
+ 1. **Learning from demonstrations (SFT):** full-parameter supervised fine-tuning on tool-use conversations, including multi-turn agent trajectories from simulated environments, replayed single, parallel and multi-step calls, and cases where no tool should be called.
112
+ 2. **Learning from teachers (MOPD):** multi-teacher on-policy distillation. The student generates its own responses and a specialist teacher provides feedback on every token, using the per-token reverse KL divergence as the training signal. The three teachers are Qwen3.5-4B models, each RL-trained for one skill (tool use, general reasoning, instruction following), and every prompt is routed to one of them.
113
+ 3. **Learning from rules (RL, round 1):** DAPO with rule-based rewards, focused on tool calling with instruction following and STEM multiple-choice questions. The tool-calling reward checks the reasoning and tool-call format, then gives partial credit for matching tool names, argument names and argument values.
114
+ 4. **Learning from rules and environments (RL, round 2):** DAPO on general-domain verifiable tasks: math, code, knowledge questions, instruction following, structured outputs and multi-step tool use in a simulated workplace environment.
115
+
116
+ Training code and training data are not part of this release. The datasets used are listed under [Licensing](#licensing).
117
+
118
+ ## Usage
119
+
120
+ BotPsy keeps the Qwen3.5 architecture, so Hugging Face Transformers, vLLM and llama.cpp run it without custom code. Two settings matter.
121
+
122
+ - **Turn thinking on.** BotPsy was trained and evaluated in thinking mode. The chat template defaults to non-thinking, so pass `enable_thinking=True`.
123
+ - **Sampling.** Our evaluations used `temperature=0.3`, `top_p=0.95`, `top_k=20`, `presence_penalty=1.5` and up to 32,768 new tokens. `generation_config.json` sets the first three; presence penalty is available in vLLM and llama.cpp.
124
+
125
+ ### Transformers
126
+
127
+ Requires a `transformers` release with Qwen3.5 support (tested with 5.19.0). Install `flash-linear-attention` and `causal-conv1d` for the fast Gated DeltaNet kernels; without them Transformers falls back to a slower reference implementation.
128
+
129
+ ```python
130
+ import torch
131
+ from transformers import AutoModelForCausalLM, AutoTokenizer
132
+
133
+ model_id = "qvac/BotPsy-0.8B"
134
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
135
+ device = "cuda" if torch.cuda.is_available() else "cpu"
136
+ model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16).to(device)
137
+
138
+ tools = [{
139
+ "type": "function",
140
+ "function": {
141
+ "name": "create_event",
142
+ "description": "Add an event to the user's calendar",
143
+ "parameters": {
144
+ "type": "object",
145
+ "properties": {
146
+ "title": {"type": "string"},
147
+ "day": {"type": "string", "description": "Day of the week"},
148
+ "time": {"type": "string", "description": "Start time, 24h HH:MM"},
149
+ },
150
+ "required": ["title", "day", "time"],
151
+ },
152
+ },
153
+ }]
154
+ messages = [{"role": "user", "content": "Add the dentist on Friday at 3 pm."}]
155
+
156
+ inputs = tokenizer.apply_chat_template(
157
+ messages, tools=tools, add_generation_prompt=True, enable_thinking=True,
158
+ return_dict=True, return_tensors="pt",
159
+ ).to(model.device)
160
+ out = model.generate(**inputs, max_new_tokens=4096) # sampling from generation_config.json
161
+ print(tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
162
+ ```
163
+
164
+ The answer ends with a tool call in the Qwen3.5 XML format:
165
+
166
+ ```
167
+ <tool_call>
168
+ <function=create_event>
169
+ <parameter=title>
170
+ Dentist
171
+ </parameter>
172
+ ...
173
+ </function>
174
+ </tool_call>
175
+ ```
176
+
177
+ ### vLLM (OpenAI-compatible server)
178
+
179
+ ```bash
180
+ vllm serve qvac/BotPsy-0.8B --language-model-only \
181
+ --enable-auto-tool-choice --tool-call-parser qwen3_xml --reasoning-parser qwen3
182
+ ```
183
+
184
+ ```python
185
+ from openai import OpenAI
186
+
187
+ client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
188
+ resp = client.chat.completions.create(
189
+ model="qvac/BotPsy-0.8B",
190
+ messages=[{"role": "user", "content": "Add the dentist on Friday at 3 pm."}],
191
+ tools=tools, # same list as in the Transformers example
192
+ temperature=0.3, top_p=0.95, presence_penalty=1.5, max_tokens=8192,
193
+ extra_body={"top_k": 20, "chat_template_kwargs": {"enable_thinking": True}},
194
+ )
195
+ print(resp.choices[0].message.tool_calls)
196
+ ```
197
+
198
+ ### llama.cpp and the QVAC SDK
199
+
200
+ Use the GGUF files in [qvac/BotPsy-0.8B-GGUFs](https://huggingface.co/qvac/BotPsy-0.8B-GGUFs); its model card has llama.cpp and QVAC SDK examples.
201
+
202
+ ## Intended Use and Limitations
203
+
204
+ BotPsy has been developed to advance the state of the art and to support research and educational uses. Models developed based on our work could be suitable for tasks in domains such as device & system management (settings, files & documents, clocks & alarms), personal productivity & work (calendar & tasks, email, collaboration tools), communication (messaging), information retrieval & research (web search, weather, news), media & lifestyle (video, music, recipes & fitness, photos) and commerce & services (maps & travel, finance, shopping & delivery). Due to its small parameter count, it is best suited to tasks of low to medium difficulty.
205
+
206
+ BotPsy has been primarily trained and tested in English, which is the recommended language. It has also been evaluated on Multi-IF, which covers seven additional languages (Chinese, French, Hindi, Italian, Portuguese, Russian and Spanish): it performs well in most of them, but scores much lower in Hindi and Russian. BotPsy is a small language model, and it makes mistakes. It is not intended for safety-critical or high-stakes automated decisions, or for applications involving money, personal information, health and other sensitive topics.
207
+
208
+ ### Safety
209
+
210
+ We did not add a separate input or output filter to the model; its safety behaviour comes from post-training. In automated red teaming with [DeepTeam](https://github.com/confident-ai/deepteam) across six risk areas (illegal activity, toxicity, graphic content, personal safety, misinformation, bias), BotPsy answers 21% of attack prompts unsafely, down from 36% for its base model. Bias (40%) and misinformation (33%) remain the weakest areas, and prompt injection is the most effective attack style (31%). For use cases with strict safety requirements, we recommend a separate guardrail, such as input and output moderation, especially when the model reads tool outputs or other untrusted text.
211
+
212
+ ## Related Resources
213
+
214
+ - [BotPsy blog post](https://huggingface.co/blog/qvac/botpsy): methodology, all benchmarks, app-level breakdown, inference efficiency
215
+ - [BotPsy-0.8B-GGUFs](https://huggingface.co/qvac/BotPsy-0.8B-GGUFs): BF16, Q8_0 and Q4_K_M GGUF files for llama.cpp and the QVAC SDK
216
+ - [BotPsy collection](https://huggingface.co/collections/qvac/botpsy)
217
+ - [QVAC SDK](https://qvac.tether.io/dev/sdk/): on-device AI deployment framework
218
+ - [Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B): base model
219
+
220
+ ## Citation
221
+
222
+ ```bibtex
223
+ @misc{botpsy2026,
224
+ title = {BotPsy: On-Device Personal Assistant with a Sub-Billion-Parameter Agentic Language Model},
225
+ author = {Tether AI Research},
226
+ year = {2026},
227
+ howpublished = {Hugging Face blog},
228
+ url = {https://huggingface.co/blog/qvac/botpsy}
229
+ }
230
+ ```
231
+
232
+ ## Copyright
233
+
234
+ We will take appropriate actions in response to notice of copyright infringement. If you believe your work has been used or copied in a manner that infringes upon your intellectual property rights, please email [data-apps@tether.io](mailto:data-apps@tether.io) identifying and describing both the copyrighted work and alleged infringing content to file a notice of infringement.
235
+
236
+ ## Licensing
237
+
238
+ This model which was trained as described in the [blog post](https://huggingface.co/blog/qvac/botpsy) is licensed by Tether Data, S.A. de C.V. under the [Apache 2.0](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md) license. As described in the blog post, this model is a version of the Qwen3.5-0.8B (Thinking) model ([https://huggingface.co/Qwen/Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B)) which is licensed under the Apache 2.0 license ([https://choosealicense.com/licenses/apache-2.0/](https://choosealicense.com/licenses/apache-2.0/)).
239
+
240
+ As described in the blog post, the Qwen3.5-4B model ([https://huggingface.co/Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B)) which is licensed under the Apache 2.0 license ([https://choosealicense.com/licenses/apache-2.0/](https://choosealicense.com/licenses/apache-2.0/)) was put through three different reinforcement learning processes to create three versions of the model and each of those three versions of the model were then used as a teacher model.
241
+
242
+ One version of the teacher model used the following datasets:
243
+
244
+ - conv_tool_use_pivot forming a part of the Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1 dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1](https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
245
+
246
+ - toolcall forming a part of the Tool N1 dataset ([https://github.com/NVlabs/Tool-N1](https://github.com/NVlabs/Tool-N1)) made available under the Apache 2.0 license ([https://github.com/NVlabs/Tool-N1/blob/master/LICENSE](https://github.com/NVlabs/Tool-N1/blob/master/LICENSE));
247
+
248
+ - rlpr_mcq forming a part of the SuperGPQA dataset ([https://huggingface.co/datasets/m-a-p/SuperGPQA](https://huggingface.co/datasets/m-a-p/SuperGPQA)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/));
249
+
250
+ - Nemotron-RL-instruction_following dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following](https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/));
251
+
252
+ - xlam-irrelevance-7.5k dataset ([https://huggingface.co/datasets/MadeAgents/xlam-irrelevance-7.5k](https://huggingface.co/datasets/MadeAgents/xlam-irrelevance-7.5k)) made available under the the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
253
+
254
+ - When2Call dataset ([https://huggingface.co/datasets/nvidia/When2Call](https://huggingface.co/datasets/nvidia/When2Call)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
255
+
256
+ - rlla_4k forming a part of the ToolRL dataset ([https://github.com/qiancheng0/ToolRL](https://github.com/qiancheng0/ToolRL)) made available under the Apache 2.0 license ([https://github.com/qiancheng0/ToolRL?tab=Apache-2.0-1-ov-file](https://github.com/qiancheng0/ToolRL?tab=Apache-2.0-1-ov-file)); and
257
+
258
+ - fc_pivot forming a part of the Nemotron-RL-Agentic-Function-Calling-Pivot-v1 dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Function-Calling-Pivot-v1](https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Function-Calling-Pivot-v1)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/)).
259
+
260
+ One version of the teacher model used the following datasets:
261
+
262
+ - Nemotron-RL-knowledge-mcqa dataset ([https://huggingface.co/datasets/nvidia/emotron-RL-knowledge-mcqa](https://huggingface.co/datasets/nvidia/Nemotron-RL-knowledge-mcqa)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/)); and
263
+
264
+ - rlpr_mcq forming a part of the SuperGPQA dataset ([https://huggingface.co/datasets/m-a-p/SuperGPQA](https://huggingface.co/datasets/m-a-p/SuperGPQA)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/)).
265
+
266
+ One version of the teacher model used the following datasets:
267
+
268
+ - Nemotron-RL-instruction_following dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following](https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
269
+
270
+ - Nemotron-RL-Instruction-Following-Calendar-v2 dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-Instruction-Following-Calendar-v2](https://huggingface.co/datasets/nvidia/Nemotron-RL-Instruction-Following-Calendar-v2)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/)); and
271
+
272
+ - Nemotron-RL-instruction_following-structured_outputs dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following-structured_outputs](https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following-structured_outputs)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/)).
273
+
274
+ As described in the blog post, the model was fine tuned using the teacher models described above and the following datasets:
275
+
276
+ - AReal_tau2 dataset ([https://huggingface.co/datasets/inclusionAI/AReaL-tau2-data](https://huggingface.co/datasets/inclusionAI/AReaL-tau2-data)) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
277
+
278
+ - EnvFactory-SFT-FILTERED dataset ([https://huggingface.co/datasets/LARK-Lab/EnvFactory-SFT-FILTERED](https://huggingface.co/datasets/LARK-Lab/EnvFactory-SFT-FILTERED)) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
279
+
280
+ - xlam_v2 forming a part of the xlam-function-calling-60k dataset ([https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k](https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
281
+
282
+ - Glaive_v1 forming a part of the glaive-function-calling-v2 dataset ([https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2](https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2)) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
283
+
284
+ - toolace_v2 dataset forming a part of the ToolACE dataset ([https://huggingface.co/datasets/Team-ACE/ToolACE](https://huggingface.co/datasets/Team-ACE/ToolACE)) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
285
+
286
+ - When2call_v2 dataset ([https://huggingface.co/datasets/nvidia/When2Call](https://huggingface.co/datasets/nvidia/When2Call)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://creativecommons.org/licenses/by/4.0/legalcode](https://creativecommons.org/licenses/by/4.0/legalcode));
287
+
288
+ - nemotron_interactive forming a part of the Nemotron-SFT-Agentic-v2 dataset ([https://huggingface.co/datasets/nvidia/Nemotron-SFT-Agentic-v2](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Agentic-v2)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-4.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-4.0.md));
289
+
290
+ - Infinity-nstruct dataset ([https://huggingface.co/datasets/BAAI/Infinity-Instruct](https://huggingface.co/datasets/BAAI/Infinity-Instruct)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-sa-4.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-sa-4.0.md));
291
+
292
+ - toolbench_v1 dataset ([https://huggingface.co/datasets/tuandunghcmut/toolbench-v1](https://huggingface.co/datasets/tuandunghcmut/toolbench-v1)) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
293
+
294
+ - Toolmind__apigen_mt forming a part of the ToolMind dataset ([https://huggingface.co/datasets/Nanbeige/ToolMind](https://huggingface.co/datasets/Nanbeige/ToolMind)) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
295
+
296
+ - Toucan_sft_v1 forming a part of the Toucan-1.5M dataset (https://huggingface.co/datasets/Agent-Ark/Toucan-1.5M) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
297
+
298
+ - an unpublished synthetic dataset generated by Tether Data using Qwen3.5-9B ([https://huggingface.co/Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B)) and Qwen3.6-27B ([https://huggingface.co/Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B)), both of which are licensed under the Apache-2.0 license ([https://choosealicense.com/licenses/apache-2.0/](https://choosealicense.com/licenses/apache-2.0/)) and τ²-Bench made available under the MIT license ([https://github.com/eligotts/tau2-bench?tab=License-1-ov-file](https://github.com/eligotts/tau2-bench?tab=License-1-ov-file));
299
+
300
+ - toolmind__xlam forming a part of the ToolMind dataset (https://huggingface.co/datasets/Nanbeige/ToolMind) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
301
+
302
+ - xlam_irrelevance_v2 forming part of the xlam-irrelevance-7.5k dataset ([https://huggingface.co/datasets/MadeAgents/xlam-irrelevance-7.5k](https://huggingface.co/datasets/MadeAgents/xlam-irrelevance-7.5k)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-4.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-4.0.md));
303
+
304
+ - ultrachat_200k dataset ([https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k](https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k)) made available under the MIT license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/mit.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/mit.md));
305
+
306
+ - toolmind__graphsyn forming a part of the ToolMind dataset (https://huggingface.co/datasets/Nanbeige/ToolMind) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
307
+
308
+ - smolagents_traces (SFT/smolagents_toolcalling_traces_think) dataset forming a part of the smoltalk2 dataset ([https://huggingface.co/datasets/HuggingFaceTB/smoltalk2](https://huggingface.co/datasets/HuggingFaceTB/smoltalk2)) made available under the Apache 2.0 license ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md));
309
+
310
+ - ultradata_if_think(IF / think split) forming a part of the UltraData-SFT-2605 dataset ([https://huggingface.co/datasets/openbmb/UltraData-SFT-2605](https://huggingface.co/datasets/openbmb/UltraData-SFT-2605)) made available under the Apache 2.0 license ([https://choosealicense.com/licenses/apache-2.0/](https://choosealicense.com/licenses/apache-2.0/));
311
+
312
+ - conv_tool_use_pivot forming a part of the Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1 dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1](https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
313
+
314
+ - toolcall forming a part of the Tool N1 dataset ([https://github.com/NVlabs/Tool-N1](https://github.com/NVlabs/Tool-N1)) made available under the Apache 2.0 license ([https://github.com/NVlabs/Tool-N1/blob/master/LICENSE](https://github.com/NVlabs/Tool-N1/blob/master/LICENSE));
315
+
316
+ - IF_multi_constraints_upto5 dataset ([https://huggingface.co/datasets/allenai/IF_multi_constraints_upto5](https://huggingface.co/datasets/allenai/IF_multi_constraints_upto5)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/));
317
+
318
+ - rlpr_mcq forming a part of the SuperGPQA dataset ([https://huggingface.co/datasets/m-a-p/SuperGPQA](https://huggingface.co/datasets/m-a-p/SuperGPQA)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/));
319
+
320
+ - Instruction_following forming a part of the Nemotron-RL-instruction_following dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following](https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/));
321
+
322
+ - xlam_irrelevance-7.5K dataset ([https://huggingface.co/datasets/MadeAgents/xlam-irrelevance-7.5k](https://huggingface.co/datasets/MadeAgents/xlam-irrelevance-7.5k)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license (https://choosealicense.com/licenses/cc-by-4.0/);
323
+
324
+ - Calendar-Scheduling-Dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-Instruction-Following-Calendar-v2](https://huggingface.co/datasets/nvidia/Nemotron-RL-Instruction-Following-Calendar-v2)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
325
+
326
+ - When2Call dataset ([https://huggingface.co/datasets/nvidia/When2Call](https://huggingface.co/datasets/nvidia/When2Call)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license (https://choosealicense.com/licenses/cc-by-4.0/);
327
+
328
+ - rlla forming a part of the ToolRL dataset ([https://github.com/qiancheng0/ToolRL](https://github.com/qiancheng0/ToolRL)) made available under the Apache 2.0 license ([https://github.com/NVlabs/Tool-N1/blob/master/LICENSE](https://github.com/NVlabs/Tool-N1/blob/master/LICENSE));
329
+
330
+ - fc_pivot forming a part of the Nemotron-RL-Agentic-Function-Calling-Pivot-v1 dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Function-Calling-Pivot-v1](https://huggingface.co/datasets/nvidia/Nemotron-RL-Agentic-Function-Calling-Pivot-v1)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license (https://choosealicense.com/licenses/cc-by-4.0/);
331
+
332
+ - math_with_judge_simple_agent forming a part of the DAPO-Math-17k dataset ([https://huggingface.co/datasets/BytedTsinghua-SIA/DAPO-Math-17k](https://huggingface.co/datasets/BytedTsinghua-SIA/DAPO-Math-17k)) dataset made available under the Apache 2.0 license ([https://github.com/NVlabs/Tool-N1/blob/master/LICENSE](https://github.com/NVlabs/Tool-N1/blob/master/LICENSE));
333
+
334
+ - math_with_judge_simple_agent forming a part of the Skywork-OR1-RL-Data dataset ([https://huggingface.co/datasets/Skywork/Skywork-OR1-RL-Data](https://huggingface.co/datasets/Skywork/Skywork-OR1-RL-Data)) made accessible on Huggingface at the foregoing link;
335
+
336
+ - Nemotron-3-Nano-RL-Training-Blend dataset ([https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend](https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license (https://opendatacommons.org/licenses/by/1-0/);
337
+
338
+ - portions of the mcqa_simple_agent forming a part of the Nemotron-3-Nano-RL-Training-Blend dataset ([https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend](https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/)) which are a modified subset of the Nemotron-RL-knowledge-mcqa dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-knowledge-mcqa](https://huggingface.co/datasets/nvidia/Nemotron-RL-knowledge-mcqa)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/));
339
+
340
+ - portions of the code_gen_simple_agent forming a part of the Nemotron-3-Nano-RL-Training-Blend dataset ([https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend](https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/)) which are a subset of the Nemotron-RL-coding-competitive_coding dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-coding-competitive_coding](https://huggingface.co/datasets/nvidia/Nemotron-RL-coding-competitive_coding)) made available under the CC-BY-SA 4.0 (Creative Commons Share Attribution Alike 4.0 International) ([https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-sa-4.0.md](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/cc-by-sa-4.0.md));
341
+
342
+ - portions of instruction_following_simple_agent forming a part of the Nemotron-3-Nano-RL-Training-Blend dataset ([https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend](https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/)) which are a subset of the Nemotron-RL-instruction_following dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following](https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/));
343
+
344
+ - portions of workplace_assistant_simple_agent forming a part of the Nemotron-3-Nano-RL-Training-Blend dataset ([https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend](https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/)) which are a subset of the Nemotron-RL-agent-workplace_assistant dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-agent-workplace_assistant](https://huggingface.co/datasets/nvidia/Nemotron-RL-agent-workplace_assistant)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/)); and
345
+
346
+ - portions of structured_outputs_simple_agent forming a part of the Nemotron-3-Nano-RL-Training-Blend dataset ([https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend](https://huggingface.co/datasets/nvidia/Nemotron-3-Nano-RL-Training-Blend)) made available under the ODC-BY (Open Data Commons Attribution License v1.0) license ([https://opendatacommons.org/licenses/by/1-0/](https://opendatacommons.org/licenses/by/1-0/)) which are a subset of the Nemotron-RL-instruction_following-structured_outputs dataset ([https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following-structured_outputs](https://huggingface.co/datasets/nvidia/Nemotron-RL-instruction_following-structured_outputs)) made available under the CC-BY 4.0 (Creative Commons Attribution 4.0 International) license ([https://choosealicense.com/licenses/cc-by-4.0/](https://choosealicense.com/licenses/cc-by-4.0/)).
347
+
348
+ The full text of each license is reproduced in [ATTRIBUTIONS.md](https://huggingface.co/qvac/BotPsy-0.8B/blob/main/ATTRIBUTIONS.md).
chat_template.jinja ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- if tools and tools is iterable and tools is not mapping %}
46
+ {{- '<|im_start|>system\n' }}
47
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
48
+ {%- for tool in tools %}
49
+ {{- "\n" }}
50
+ {{- tool | tojson }}
51
+ {%- endfor %}
52
+ {{- "\n</tools>" }}
53
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
54
+ {%- if messages[0].role == 'system' %}
55
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
56
+ {%- if content %}
57
+ {{- '\n\n' + content }}
58
+ {%- endif %}
59
+ {%- endif %}
60
+ {{- '<|im_end|>\n' }}
61
+ {%- else %}
62
+ {%- if messages[0].role == 'system' %}
63
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
64
+ {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
65
+ {%- endif %}
66
+ {%- endif %}
67
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
68
+ {%- for message in messages[::-1] %}
69
+ {%- set index = (messages|length - 1) - loop.index0 %}
70
+ {%- if ns.multi_step_tool and message.role == "user" %}
71
+ {%- set content = render_content(message.content, false)|trim %}
72
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
73
+ {%- set ns.multi_step_tool = false %}
74
+ {%- set ns.last_query_index = index %}
75
+ {%- endif %}
76
+ {%- endif %}
77
+ {%- endfor %}
78
+ {%- if ns.multi_step_tool %}
79
+ {{- raise_exception('No user query found in messages.') }}
80
+ {%- endif %}
81
+ {%- for message in messages %}
82
+ {%- set content = render_content(message.content, true)|trim %}
83
+ {%- if message.role == "system" %}
84
+ {%- if not loop.first %}
85
+ {{- raise_exception('System message must be at the beginning.') }}
86
+ {%- endif %}
87
+ {%- elif message.role == "user" %}
88
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
89
+ {%- elif message.role == "assistant" %}
90
+ {%- set reasoning_content = '' %}
91
+ {%- if message.reasoning_content is string %}
92
+ {%- set reasoning_content = message.reasoning_content %}
93
+ {%- else %}
94
+ {%- if '</think>' in content %}
95
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
96
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
97
+ {%- endif %}
98
+ {%- endif %}
99
+ {%- set reasoning_content = reasoning_content|trim %}
100
+ {{- '<|im_start|>' + message.role + '\n' -}}
101
+ {% generation %}
102
+ {%- if loop.index0 > ns.last_query_index %}
103
+ {{- '<think>\n' + reasoning_content + '\n</think>\n\n' + content -}}
104
+ {%- else %}
105
+ {{- content -}}
106
+ {%- endif %}
107
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
108
+ {%- for tool_call in message.tool_calls %}
109
+ {%- if tool_call.function is defined %}
110
+ {%- set tool_call = tool_call.function %}
111
+ {%- endif %}
112
+ {%- if loop.first %}
113
+ {%- if content|trim %}
114
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
115
+ {%- else %}
116
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
117
+ {%- endif %}
118
+ {%- else %}
119
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
120
+ {%- endif %}
121
+ {%- if tool_call.arguments is defined %}
122
+ {%- for args_name, args_value in tool_call.arguments|items %}
123
+ {{- '<parameter=' + args_name + '>\n' }}
124
+ {%- 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 %}
125
+ {{- args_value }}
126
+ {{- '\n</parameter>\n' }}
127
+ {%- endfor %}
128
+ {%- endif %}
129
+ {{- '</function>\n</tool_call>' }}
130
+ {%- endfor %}
131
+ {%- endif %}
132
+ {{- '<|im_end|>\n' }}
133
+ {%- endgeneration %}
134
+ {%- elif message.role == "tool" %}
135
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
136
+ {{- '<|im_start|>user' }}
137
+ {%- endif %}
138
+ {{- '\n<tool_response>\n' }}
139
+ {{- content }}
140
+ {{- '\n</tool_response>' }}
141
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
142
+ {{- '<|im_end|>\n' }}
143
+ {%- elif loop.last %}
144
+ {{- '<|im_end|>\n' }}
145
+ {%- endif %}
146
+ {%- else %}
147
+ {{- raise_exception('Unexpected message role.') }}
148
+ {%- endif %}
149
+ {%- endfor %}
150
+ {%- if add_generation_prompt %}
151
+ {{- '<|im_start|>assistant\n' }}
152
+ {%- if enable_thinking is defined and enable_thinking is true %}
153
+ {{- '<think>\n' }}
154
+ {%- else %}
155
+ {{- '<think>\n\n</think>\n\n' }}
156
+ {%- endif %}
157
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "bos_token_id": null,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 248046,
8
+ "image_token_id": 248056,
9
+ "model_type": "qwen3_5",
10
+ "pad_token_id": 248044,
11
+ "text_config": {
12
+ "attention_bias": false,
13
+ "attention_dropout": 0.0,
14
+ "attn_output_gate": true,
15
+ "bos_token_id": null,
16
+ "dtype": "bfloat16",
17
+ "eos_token_id": 248046,
18
+ "full_attention_interval": 4,
19
+ "head_dim": 256,
20
+ "hidden_act": "silu",
21
+ "hidden_size": 1024,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3584,
24
+ "layer_types": [
25
+ "linear_attention",
26
+ "linear_attention",
27
+ "linear_attention",
28
+ "full_attention",
29
+ "linear_attention",
30
+ "linear_attention",
31
+ "linear_attention",
32
+ "full_attention",
33
+ "linear_attention",
34
+ "linear_attention",
35
+ "linear_attention",
36
+ "full_attention",
37
+ "linear_attention",
38
+ "linear_attention",
39
+ "linear_attention",
40
+ "full_attention",
41
+ "linear_attention",
42
+ "linear_attention",
43
+ "linear_attention",
44
+ "full_attention",
45
+ "linear_attention",
46
+ "linear_attention",
47
+ "linear_attention",
48
+ "full_attention"
49
+ ],
50
+ "linear_conv_kernel_dim": 4,
51
+ "linear_key_head_dim": 128,
52
+ "linear_num_key_heads": 16,
53
+ "linear_num_value_heads": 16,
54
+ "linear_value_head_dim": 128,
55
+ "mamba_ssm_dtype": "float32",
56
+ "max_position_embeddings": 262144,
57
+ "mlp_only_layers": [],
58
+ "model_type": "qwen3_5_text",
59
+ "mtp_num_hidden_layers": 0,
60
+ "mtp_use_dedicated_embeddings": false,
61
+ "num_attention_heads": 8,
62
+ "num_hidden_layers": 24,
63
+ "num_key_value_heads": 2,
64
+ "pad_token_id": 248044,
65
+ "partial_rotary_factor": 0.25,
66
+ "rms_norm_eps": 1e-06,
67
+ "rope_parameters": {
68
+ "mrope_interleaved": true,
69
+ "mrope_section": [
70
+ 11,
71
+ 11,
72
+ 10
73
+ ],
74
+ "partial_rotary_factor": 0.25,
75
+ "rope_theta": 10000000,
76
+ "rope_type": "default"
77
+ },
78
+ "tie_word_embeddings": true,
79
+ "use_cache": false,
80
+ "vocab_size": 248320
81
+ },
82
+ "tie_word_embeddings": true,
83
+ "transformers_version": "5.8.1",
84
+ "video_token_id": 248057,
85
+ "vision_config": {
86
+ "deepstack_visual_indexes": [],
87
+ "depth": 12,
88
+ "dtype": "bfloat16",
89
+ "hidden_act": "gelu_pytorch_tanh",
90
+ "hidden_size": 768,
91
+ "in_channels": 3,
92
+ "initializer_range": 0.02,
93
+ "intermediate_size": 3072,
94
+ "model_type": "qwen3_5_vision",
95
+ "num_heads": 12,
96
+ "num_position_embeddings": 2304,
97
+ "out_hidden_size": 1024,
98
+ "patch_size": 16,
99
+ "spatial_merge_size": 2,
100
+ "temporal_patch_size": 2
101
+ },
102
+ "vision_end_token_id": 248054,
103
+ "vision_start_token_id": 248053
104
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": true,
3
+ "eos_token_id": [
4
+ 248046,
5
+ 248044
6
+ ],
7
+ "pad_token_id": 248044,
8
+ "temperature": 0.3,
9
+ "top_k": 20,
10
+ "top_p": 0.95,
11
+ "transformers_version": "5.8.1",
12
+ "use_cache": true
13
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a52e9fb1552e8592542e3de8104af9040b56c60644f5a9c2c270621a3b0ab48
3
+ size 1706030528
processor_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 16,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 16777216,
24
+ "shortest_edge": 65536
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen3VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": true,
35
+ "fps": 2,
36
+ "image_mean": [
37
+ 0.5,
38
+ 0.5,
39
+ 0.5
40
+ ],
41
+ "image_std": [
42
+ 0.5,
43
+ 0.5,
44
+ 0.5
45
+ ],
46
+ "max_frames": 768,
47
+ "merge_size": 2,
48
+ "min_frames": 4,
49
+ "patch_size": 16,
50
+ "resample": 3,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "return_metadata": false,
53
+ "size": {
54
+ "longest_edge": 25165824,
55
+ "shortest_edge": 4096
56
+ },
57
+ "temporal_patch_size": 2,
58
+ "video_processor_type": "Qwen3VLVideoProcessor"
59
+ }
60
+ }
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,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "bos_token": null,
7
+ "clean_up_tokenization_spaces": false,
8
+ "eos_token": "<|im_end|>",
9
+ "errors": "replace",
10
+ "image_token": "<|image_pad|>",
11
+ "model_max_length": 262144,
12
+ "model_specific_special_tokens": {
13
+ "audio_bos_token": "<|audio_start|>",
14
+ "audio_eos_token": "<|audio_end|>",
15
+ "audio_token": "<|audio_pad|>",
16
+ "image_token": "<|image_pad|>",
17
+ "video_token": "<|video_pad|>",
18
+ "vision_bos_token": "<|vision_start|>",
19
+ "vision_eos_token": "<|vision_end|>"
20
+ },
21
+ "pad_token": "<|endoftext|>",
22
+ "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+",
23
+ "processor_class": "Qwen3VLProcessor",
24
+ "split_special_tokens": false,
25
+ "tokenizer_class": "Qwen2Tokenizer",
26
+ "unk_token": null,
27
+ "video_token": "<|video_pad|>",
28
+ "vision_bos_token": "<|vision_start|>",
29
+ "vision_eos_token": "<|vision_end|>"
30
+ }