MegatronPrimer commited on
Commit
09293f6
·
0 Parent(s):

Release dots3-note preview

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +44 -0
  2. LICENSE +202 -0
  3. README.md +315 -0
  4. README_CN.md +292 -0
  5. added_tokens.json +87 -0
  6. assets/bench_cn1.png +3 -0
  7. assets/bench_cn2.png +3 -0
  8. assets/bench_en1.png +3 -0
  9. assets/bench_en2.png +3 -0
  10. assets/benchmark_appendix_cn_multimodal.png +3 -0
  11. assets/benchmark_appendix_cn_reasoning.png +3 -0
  12. assets/benchmark_appendix_en_multimodal.png +3 -0
  13. assets/benchmark_appendix_en_reasoning.png +3 -0
  14. assets/dots logo@3x.png +0 -0
  15. chat_template.jinja +144 -0
  16. config.json +209 -0
  17. generation_config.json +3 -0
  18. merges.txt +0 -0
  19. model-00001-of-00131.safetensors +3 -0
  20. model-00002-of-00131.safetensors +3 -0
  21. model-00003-of-00131.safetensors +3 -0
  22. model-00004-of-00131.safetensors +3 -0
  23. model-00005-of-00131.safetensors +3 -0
  24. model-00006-of-00131.safetensors +3 -0
  25. model-00007-of-00131.safetensors +3 -0
  26. model-00008-of-00131.safetensors +3 -0
  27. model-00009-of-00131.safetensors +3 -0
  28. model-00010-of-00131.safetensors +3 -0
  29. model-00011-of-00131.safetensors +3 -0
  30. model-00012-of-00131.safetensors +3 -0
  31. model-00013-of-00131.safetensors +3 -0
  32. model-00014-of-00131.safetensors +3 -0
  33. model-00015-of-00131.safetensors +3 -0
  34. model-00016-of-00131.safetensors +3 -0
  35. model-00017-of-00131.safetensors +3 -0
  36. model-00018-of-00131.safetensors +3 -0
  37. model-00019-of-00131.safetensors +3 -0
  38. model-00020-of-00131.safetensors +3 -0
  39. model-00021-of-00131.safetensors +3 -0
  40. model-00022-of-00131.safetensors +3 -0
  41. model-00023-of-00131.safetensors +3 -0
  42. model-00024-of-00131.safetensors +3 -0
  43. model-00025-of-00131.safetensors +3 -0
  44. model-00026-of-00131.safetensors +3 -0
  45. model-00027-of-00131.safetensors +3 -0
  46. model-00028-of-00131.safetensors +3 -0
  47. model-00029-of-00131.safetensors +3 -0
  48. model-00030-of-00131.safetensors +3 -0
  49. model-00031-of-00131.safetensors +3 -0
  50. model-00032-of-00131.safetensors +3 -0
.gitattributes ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
37
+ assets/bench_en1.png filter=lfs diff=lfs merge=lfs -text
38
+ assets/bench_en2.png filter=lfs diff=lfs merge=lfs -text
39
+ assets/bench_cn1.png filter=lfs diff=lfs merge=lfs -text
40
+ assets/bench_cn2.png filter=lfs diff=lfs merge=lfs -text
41
+ assets/benchmark_appendix_en_reasoning.png filter=lfs diff=lfs merge=lfs -text
42
+ assets/benchmark_appendix_en_multimodal.png filter=lfs diff=lfs merge=lfs -text
43
+ assets/benchmark_appendix_cn_reasoning.png filter=lfs diff=lfs merge=lfs -text
44
+ assets/benchmark_appendix_cn_multimodal.png filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+
3
+ license: apache-2.0
4
+ library_name: transformers
5
+ pipeline_tag: image-text-to-text
6
+ tags:
7
+ - dots3
8
+ - dots3-note
9
+ - audio
10
+ - multimodal
11
+ - long-context
12
+ - agentic
13
+
14
+
15
+ ---
16
+
17
+ <p align="left">
18
+ <a href="https://huggingface.co/dots-studio/dots3-note-prev/blob/main/README_CN.md">中文</a>&nbsp;|&nbsp;English
19
+ </p>
20
+ <br>
21
+
22
+ <div align="center">
23
+ <img src="assets/dots%20logo@3x.png" alt="dots logo" width="200" />
24
+ <h1>dots3-note Preview</h1>
25
+ </div>
26
+
27
+ <div align="center" style="line-height: 1;">
28
+ <a href="https://github.com/studio-dots-ai/dots3-note-prev"><img alt="GitHub: studio-dots-ai" src="https://img.shields.io/badge/GitHub-studio--dots--ai-181717?logo=github&amp;logoColor=white" /></a>
29
+ <a href="https://github.com/huggingface/transformers/pull/47844"><img alt="Transformers: dots3-note" src="https://img.shields.io/badge/Transformers-dots3--note-yellow" /></a>
30
+ <a href="https://github.com/sgl-project/sglang/pull/33829"><img alt="SGLang: dots3-note" src="https://img.shields.io/badge/SGLang-dots3--note-blue" /></a>
31
+ <a href="https://recipes.vllm.ai/dots-studio/dots3-note-prev"><img alt="vLLM: dots3-note" src="https://img.shields.io/badge/vLLM-dots3--note-red" /></a>
32
+ <a href="https://modelscope.cn/collections/dots-studio/dots3-note"><img alt="ModelScope: dots-studio" src="https://img.shields.io/badge/ModelScope-dots--studio-624AFF" /></a>
33
+
34
+ <a href="https://www.xiaohongshu.com/user/profile/683ffe42000000001d021a4c"><img alt="Dots Studio" src="https://img.shields.io/badge/RedNote-Dots%20Studio-FF2442" /></a>
35
+ <a href="https://discord.gg/haym6hEUE"><img alt="Discord" src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&amp;logoColor=white" /></a>
36
+ <a href="https://x.com/dotsstudioai"><img alt="X: dotsstudioai" src="https://img.shields.io/badge/X-%40dotsstudioai-black" /></a>
37
+ <a href="#license"><img alt="License: Apache 2.0" src="https://img.shields.io/badge/License-Apache%202.0-blue" /></a>
38
+ </div>
39
+
40
+ <p align="center">
41
+ 🌐&nbsp;<a href="https://studio.dots.ai/dots/dots3-en.html"><b>Tech Blog</b></a>&nbsp;&nbsp;|&nbsp;&nbsp;
42
+ 📄&nbsp;<b>Full Report (coming soon)</b>
43
+ </p>
44
+
45
+ ---
46
+
47
+
48
+ ## Table of Contents
49
+
50
+ - [Model Introduction](#model-introduction)
51
+ - [Model Overview](#model-overview)
52
+ - [Evaluation Results](#evaluation-results)
53
+ - [General Reasoning and Agent](#general-reasoning-and-agent)
54
+ - [Multimodal Understanding](#multimodal-understanding)
55
+ - [Model Links](#model-links)
56
+ - [Quickstart](#quickstart)
57
+ - [Deployment](#deployment)
58
+ - [Transformers](#transformers)
59
+ - [SGLang](#sglang)
60
+ - [vLLM](#vllm)
61
+ - [Benchmark Appendix](#benchmark-appendix)
62
+ - [License](#license)
63
+ - [Contact Us](#contact-us)
64
+
65
+ ---
66
+
67
+ ## Model Introduction
68
+
69
+ dots3-note preview is the first open-weight model in the dots3 family. It is a Mixture-of-Experts model with 280B total parameters, 16B activated parameters, and support for a context length of up to 512K tokens. The model can understand text, images, video, and audio, and produces text outputs.
70
+
71
+ dots3-note preview is optimized for a broad range of tasks, including:
72
+
73
+ - General knowledge and instruction following;
74
+ - Mathematical and logical reasoning;
75
+ - Tool use and multi-step agent workflows;
76
+ - Interactive tasks that require exploration, memory updates, and adaptation;
77
+ - Code generation and code-based problem solving;
78
+ - Image, document, chart, audio, and video understanding;
79
+ - Long-context information processing.
80
+
81
+ The dots3 family is designed to include models with different trade-offs among capability, latency, and inference cost. dots3-note preview is the most lightweight member of the family.
82
+
83
+
84
+
85
+ ## Model Overview
86
+
87
+ | Property | Value |
88
+ | :--- | :--- |
89
+ | Architecture | Multimodal MoE |
90
+ | Total Parameters | 280B |
91
+ | Activated Parameters | 16B |
92
+ | MTP | 1 shared layer, 1.13B |
93
+ | Number of Layers | 1 dense + 45 MoE |
94
+ | Hidden Size | 5120 |
95
+ | FFN Hidden Size | 13824 (dense), 1536 (per expert) |
96
+ | Experts | 256 routed + 1 shared, top-8 |
97
+ | Attention | 13 DSA + 33 SWA (~1:3) |
98
+ | DSA | Top-2048 |
99
+ | Context Length | 512K |
100
+ | Vocabulary Size | 152K |
101
+ | Vision Encoder | MoE ViT, 7B total, 1.2B activated |
102
+ | Audio Encoder | Dense, 800M |
103
+ | Supported Precision | BF16, FP8 |
104
+ | Input | Text, image, video, audio |
105
+ | Output | Text |
106
+
107
+
108
+ ## Evaluation Results
109
+
110
+ ### General Reasoning and Agent
111
+
112
+ ![General Reasoning and Agent evaluation results](assets/bench_en1.png)
113
+
114
+ ### Multimodal Understanding
115
+
116
+ ![Multimodal Understanding evaluation results](assets/bench_en2.png)
117
+
118
+ ## Model Links
119
+
120
+ | Model Name | Description | HuggingFace | ModelScope |
121
+ | --- | --- | --- | --- |
122
+ | dots3-note-prev | Preview multimodal model | 🤗 [Model](https://huggingface.co/dots-studio/dots3-note-prev) | <span style="white-space: nowrap;"><img src="https://modelscope.cn/favicon.ico" width="16" alt="ModelScope" style="display: inline-block; vertical-align: middle; margin: 0;" />&nbsp;<a href="https://modelscope.cn/models/dots-studio/dots3-note-prev">Model</a></span> |
123
+ | dots3-note-prev-fp8 | FP8-quantized preview multimodal model | 🤗 [Model](https://huggingface.co/dots-studio/dots3-note-prev-fp8) | <span style="white-space: nowrap;"><img src="https://modelscope.cn/favicon.ico" width="16" alt="ModelScope" style="display: inline-block; vertical-align: middle; margin: 0;" />&nbsp;<a href="https://modelscope.cn/models/dots-studio/dots3-note-prev-fp8">Model</a></span> |
124
+
125
+ ## Quickstart
126
+
127
+ Recommended: serve the FP8 checkpoint on one 8-GPU node with [SGLang](#sglang) or [vLLM](#vllm).
128
+
129
+ ```python
130
+ from openai import OpenAI
131
+
132
+ client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="EMPTY")
133
+
134
+ response = client.chat.completions.create(
135
+ model="dots3-note-prev",
136
+ messages=[
137
+ {"role": "user", "content": "Hello! Can you briefly introduce yourself?"},
138
+ ],
139
+ temperature=1.0,
140
+ top_p=0.95,
141
+ max_tokens=256,
142
+ # Set enable_thinking=True for reasoning; False returns a direct response.
143
+ extra_body={"chat_template_kwargs": {"enable_thinking": False}},
144
+ )
145
+ print(response.choices[0].message.content)
146
+ ```
147
+
148
+ For a multimodal request, replace `messages` with one of these public examples:
149
+
150
+ ```python
151
+ examples = {
152
+ "image": [
153
+ {"type": "image_url", "image_url": {"url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cats.png"}},
154
+ {"type": "text", "text": "How many cats are in this image?"},
155
+ ],
156
+ "audio": [
157
+ {"type": "audio_url", "audio_url": {"url": "https://huggingface.co/datasets/hf-internal-testing/dummy-audio-samples/resolve/main/mary_had_lamb.mp3"}},
158
+ {"type": "text", "text": "Transcribe this nursery rhyme."},
159
+ ],
160
+ "video": [
161
+ {"type": "video_url", "video_url": {"url": "https://huggingface.co/datasets/merve/vlm_test_images/resolve/main/concert.mp4"}},
162
+ {"type": "text", "text": "Describe the performance and what can be heard."},
163
+ ],
164
+ }
165
+ messages = [{"role": "user", "content": examples["image"]}]
166
+ ```
167
+
168
+ Video inputs include their audio track when available.
169
+
170
+ ## Deployment
171
+
172
+ The commands below target FP8 on one 8-GPU node. BF16 requires more memory. Tune the context length to available memory, concurrency, and input modalities.
173
+
174
+ Native support is available on [vLLM](https://recipes.vllm.ai/dots-studio/dots3-note-prev) `main`. [Transformers #47844](https://github.com/huggingface/transformers/pull/47844) and [SGLang #33829](https://github.com/sgl-project/sglang/pull/33829) are still under review; until they are merged, use the PR revisions below.
175
+
176
+ ### Transformers
177
+
178
+ First install mutually compatible [PyTorch and torchvision](https://pytorch.org/get-started/locally/) builds supported by your NVIDIA driver. For audio and video, also install a PyTorch-compatible `torchcodec` (included below) and FFmpeg with your system package manager. Then install [Transformers #47844](https://github.com/huggingface/transformers/pull/47844):
179
+
180
+ ```bash
181
+ pip install accelerate pillow torchcodec kernels==0.16.0 "transformers @ git+https://github.com/huggingface/transformers.git@refs/pull/47844/head"
182
+ ```
183
+
184
+ Run a minimal local inference:
185
+
186
+ ```python
187
+ from transformers import AutoModelForMultimodalLM, AutoProcessor
188
+
189
+ model_id = "dots-studio/dots3-note-prev-fp8"
190
+ processor = AutoProcessor.from_pretrained(model_id)
191
+ model = AutoModelForMultimodalLM.from_pretrained(model_id, dtype="auto", device_map="auto")
192
+
193
+ messages = [
194
+ {"role": "user", "content": "Hello! Please briefly introduce yourself."},
195
+ ]
196
+ inputs = processor.tokenizer.apply_chat_template(
197
+ messages,
198
+ add_generation_prompt=True,
199
+ return_tensors="pt",
200
+ return_dict=True,
201
+ enable_thinking=False,
202
+ ).to(model.device)
203
+ outputs = model.generate(**inputs, max_new_tokens=128)
204
+ print(processor.decode(outputs[0, inputs.input_ids.shape[1] :], skip_special_tokens=True))
205
+ ```
206
+
207
+ Use SGLang or vLLM for multi-GPU OpenAI-compatible serving.
208
+
209
+ ### SGLang
210
+
211
+
212
+ Recommended: use the release image [lmsysorg/sglang:dev-dots3-note](https://hub.docker.com/r/lmsysorg/sglang/tags). Full one-node recipes and tuning notes are in the [Dots3-Note cookbook](https://github.com/sgl-project/sglang/blob/main/docs/cookbook/autoregressive/RedNote/Dots3-Note.mdx). Source support is tracked in [SGLang #33829](https://github.com/sgl-project/sglang/pull/33829).
213
+
214
+ Docker (the image downloads the checkpoint from Hugging Face on first run):
215
+
216
+ ```bash
217
+ docker run --gpus all --ipc=host -p 8000:8000 \
218
+ lmsysorg/sglang:dev-dots3-note \
219
+ sglang serve \
220
+ --model-path dots-studio/dots3-note-prev-fp8 \
221
+ --served-model-name dots3-note-prev \
222
+ --host 0.0.0.0 \
223
+ --port 8000 \
224
+ --context-length 524288 \
225
+ --enable-dp-attention \
226
+ --dp-size 8 \
227
+ --tp-size 8 \
228
+ --ep-size 8 \
229
+ --moe-dense-tp-size 1 \
230
+ --page-size 64 \
231
+ --trust-remote-code \
232
+ --attention-backend fa3 \
233
+ --moe-a2a-backend deepep \
234
+ --enable-multimodal \
235
+ --speculative-algorithm NEXTN \
236
+ --speculative-num-steps 3 \
237
+ --speculative-eagle-topk 1 \
238
+ --speculative-num-draft-tokens 4 \
239
+ --speculative-draft-model-path dots-studio/dots3-note-prev-fp8
240
+ ```
241
+
242
+ Or install from source / the PR and run the same `sglang serve` arguments locally. `--attention-backend fa3` sets prefill, decode, and (when speculative decoding is enabled) draft attention. MTP/NEXTN (`--speculative-algorithm NEXTN` and the related flags) is optional and can reduce TPOT by more than 50%. Prefill CUDA graph is not supported yet.
243
+
244
+ Optional features:
245
+
246
+ ```bash
247
+ # Load only the language model
248
+ --language-only
249
+
250
+ # Enable OpenAI-compatible tool calling
251
+ --tool-call-parser dots
252
+ ```
253
+
254
+ ### vLLM
255
+
256
+ Native dots3-note preview support is available on [vLLM](https://recipes.vllm.ai/dots-studio/dots3-note-prev) `main`. Use a recent nightly build until it is included in a stable release.
257
+
258
+ The following example deploys the FP8 checkpoint on eight NVIDIA H100 GPUs with TP=8 and EP=8:
259
+
260
+ ```bash
261
+ vllm serve dots-studio/dots3-note-prev-fp8 \
262
+ --served-model-name dots3-note-prev \
263
+ --host 0.0.0.0 \
264
+ --tensor-parallel-size 8 \
265
+ --enable-expert-parallel \
266
+ --moe-backend deep_gemm \
267
+ --max-model-len 262144
268
+ ```
269
+
270
+ Optional features:
271
+
272
+ ```bash
273
+ # Load only the language model
274
+ --language-model-only
275
+
276
+ # Enable three-token MTP speculative decoding
277
+ --speculative-config '{"method":"mtp","num_speculative_tokens":3}'
278
+
279
+ # Enable OpenAI-compatible automatic tool calling
280
+ --enable-auto-tool-choice --tool-call-parser dots
281
+
282
+ ```
283
+
284
+ ## Benchmark Appendix
285
+
286
+ ![General Reasoning and Agent benchmark appendix](assets/benchmark_appendix_en_reasoning.png)
287
+
288
+ ![Multimodal benchmark appendix](assets/benchmark_appendix_en_multimodal.png)
289
+
290
+ ## License
291
+
292
+ Copyright (c) 2026 Xiaohongshu.
293
+
294
+ Developed and released by dots studio.
295
+
296
+ The dots3-note preview model weights and modeling code in this repository are licensed under the Apache License, Version 2.0.
297
+
298
+ See the LICENSE file for details.
299
+
300
+ Transformers, SGLang, vLLM, and other third-party software are subject to their respective licenses.
301
+
302
+
303
+ ## Contact Us
304
+
305
+ For questions and feedback, please contact us through:
306
+
307
+ - Email: dots-model-feedback@xiaohongshu.com
308
+
309
+ ---
310
+
311
+ <p align="center">
312
+
313
+ <i>dots3-note preview is developed and released by dots studio.</i>
314
+
315
+ </p>
README_CN.md ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p align="left">
2
+ <a href="https://huggingface.co/dots-studio/dots3-note-prev">English</a>&nbsp;|&nbsp;中文
3
+ </p>
4
+ <br>
5
+
6
+ <div align="center">
7
+ <img src="assets/dots%20logo@3x.png" alt="dots logo" width="200" />
8
+ <h1>dots3-note Preview</h1>
9
+ </div>
10
+
11
+ <div align="center" style="line-height: 1;">
12
+ <a href="https://github.com/studio-dots-ai/dots3-note-prev"><img alt="GitHub: studio-dots-ai" src="https://img.shields.io/badge/GitHub-studio--dots--ai-181717?logo=github&amp;logoColor=white" /></a>
13
+ <a href="https://github.com/huggingface/transformers/pull/47844"><img alt="Transformers: dots3-note" src="https://img.shields.io/badge/Transformers-dots3--note-yellow" /></a>
14
+ <a href="https://github.com/sgl-project/sglang/pull/33829"><img alt="SGLang: dots3-note" src="https://img.shields.io/badge/SGLang-dots3--note-blue" /></a>
15
+ <a href="https://recipes.vllm.ai/dots-studio/dots3-note-prev"><img alt="vLLM: dots3-note" src="https://img.shields.io/badge/vLLM-dots3--note-red" /></a>
16
+ <a href="https://modelscope.cn/collections/dots-studio/dots3-note"><img alt="ModelScope: dots-studio" src="https://img.shields.io/badge/ModelScope-dots--studio-624AFF" /></a>
17
+
18
+ <a href="https://www.xiaohongshu.com/user/profile/683ffe42000000001d021a4c"><img alt="Dots Studio" src="https://img.shields.io/badge/RedNote-Dots%20Studio-FF2442" /></a>
19
+ <a href="https://discord.gg/haym6hEUE"><img alt="Discord" src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&amp;logoColor=white" /></a>
20
+ <a href="https://x.com/dotsstudioai"><img alt="X: dotsstudioai" src="https://img.shields.io/badge/X-%40dotsstudioai-black" /></a>
21
+ <a href="#许可证"><img alt="License: Apache 2.0" src="https://img.shields.io/badge/License-Apache%202.0-blue" /></a>
22
+ </div>
23
+
24
+ <p align="center">
25
+ 🌐&nbsp;<a href="https://studio.dots.ai/dots/dots3-zh.html"><b>技术博客</b></a>&nbsp;&nbsp;|&nbsp;&nbsp;
26
+ 📄&nbsp;<b>完整报告(即将发布)</b>
27
+ </p>
28
+
29
+ ---
30
+
31
+ ## 目录
32
+
33
+ - [模型介绍](#模型介绍)
34
+ - [模型概览](#模型概览)
35
+ - [评测结果](#评测结果)
36
+ - [通用推理与智能体](#通用推理与智能体)
37
+ - [多模态理解](#多模态理解)
38
+ - [模型链接](#模型链接)
39
+ - [快速开始](#快速开始)
40
+ - [部署](#部署)
41
+ - [Transformers](#transformers)
42
+ - [SGLang](#sglang)
43
+ - [vLLM](#vllm)
44
+ - [评测附录](#评测附录)
45
+ - [许可证](#许可证)
46
+ - [联系我们](#联系我们)
47
+
48
+ ---
49
+
50
+ ## 模型介绍
51
+
52
+ dots3-note preview 是 dots3 系列首个开放权重模型。该模型采用混合专家(Mixture-of-Experts,MoE)架构,总参数量为 280B,激活参数量为 16B,支持最长 512K 个 token 的上下文。模型支持文本、图像、视频和音频理解,并生成文本输出。
53
+
54
+ dots3-note preview 针对以下任务进行了优化:
55
+
56
+ - 通用知识与指令遵循;
57
+ - 数学与逻辑推理;
58
+ - 工具使用与多步骤智能体工作流;
59
+ - 需要探索、记忆更新和适应能力的交互式任务;
60
+ - 代码生成与基于代码的问题求解;
61
+ - 图像、文档、图表、音频和视频理解;
62
+ - 长上下文信息处理。
63
+
64
+ dots3 系列包含在能力、时延和推理成本之间采用不同权衡的多款模型,dots3-note preview 是该系列中最轻量级的成员。
65
+
66
+ ## 模型概览
67
+
68
+ | 属性 | 值 |
69
+ | :--- | :--- |
70
+ | 架构 | 多模态混合专家模型(MoE) |
71
+ | 总参数量 | 280B |
72
+ | 激活参数量 | 16B |
73
+ | MTP | 1 个共享层,1.13B 参数 |
74
+ | 层数 | 1 个稠密层 + 45 个 MoE 层 |
75
+ | 隐藏层维度 | 5120 |
76
+ | FFN 中间层维度 | 13824(稠密层),1536(每个专家) |
77
+ | 专家数量 | 256 个路由专家 + 1 个共享专家,Top-8 激活 |
78
+ | 注意力机制 | 13 DSA + 33 SWA(约 1:3) |
79
+ | DSA | Top-2048 |
80
+ | 上下文长度 | 512K |
81
+ | 词表大小 | 152K |
82
+ | 视觉编码器 | MoE ViT,总参数量 7B,激活参数量 1.2B |
83
+ | 音频编码器 | 稠密模型,800M |
84
+ | 支持精度 | BF16、FP8 |
85
+ | 输入 | 文本、图像、视频、音频 |
86
+ | 输出 | 文本 |
87
+
88
+ ## 评测结果
89
+
90
+ ### 通用推理与智能体
91
+
92
+ ![通用推理与智能体评测结果](assets/bench_cn1.png)
93
+
94
+ ### 多模态理解
95
+
96
+ ![多模态理解评测结果](assets/bench_cn2.png)
97
+
98
+ ## 模型链接
99
+
100
+ | 模型名称 | 简介 | Hugging Face | ModelScope |
101
+ | --- | --- | --- | --- |
102
+ | dots3-note-prev | 预览版多模态模型 | 🤗 [模型](https://huggingface.co/dots-studio/dots3-note-prev) | <span style="white-space: nowrap;"><img src="https://modelscope.cn/favicon.ico" width="16" alt="ModelScope" style="display: inline-block; vertical-align: middle; margin: 0;" />&nbsp;<a href="https://modelscope.cn/models/dots-studio/dots3-note-prev">模型</a></span> |
103
+ | dots3-note-prev-fp8 | FP8 量化预览版多模态模型 | 🤗 [模型](https://huggingface.co/dots-studio/dots3-note-prev-fp8) | <span style="white-space: nowrap;"><img src="https://modelscope.cn/favicon.ico" width="16" alt="ModelScope" style="display: inline-block; vertical-align: middle; margin: 0;" />&nbsp;<a href="https://modelscope.cn/models/dots-studio/dots3-note-prev-fp8">模型</a></span> |
104
+
105
+ ## 快速开始
106
+
107
+ 建议使用 [SGLang](#sglang) 或 [vLLM](#vllm),在单个 8 卡节点上部署 FP8 权重。
108
+
109
+ ```python
110
+ from openai import OpenAI
111
+
112
+ client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="EMPTY")
113
+
114
+ response = client.chat.completions.create(
115
+ model="dots3-note-prev",
116
+ messages=[
117
+ {"role": "user", "content": "你好!请简单介绍一下你自己。"},
118
+ ],
119
+ temperature=1.0,
120
+ top_p=0.95,
121
+ max_tokens=256,
122
+ # 启用推理时设置 enable_thinking=True;设置为 False 时直接回复。
123
+ extra_body={"chat_template_kwargs": {"enable_thinking": False}},
124
+ )
125
+ print(response.choices[0].message.content)
126
+ ```
127
+
128
+ 如需发起多模态请求,可将 `messages` 替换为以下任一公开示例:
129
+
130
+ ```python
131
+ examples = {
132
+ "image": [
133
+ {"type": "image_url", "image_url": {"url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cats.png"}},
134
+ {"type": "text", "text": "这张图片中有几只猫?"},
135
+ ],
136
+ "audio": [
137
+ {"type": "audio_url", "audio_url": {"url": "https://huggingface.co/datasets/hf-internal-testing/dummy-audio-samples/resolve/main/mary_had_lamb.mp3"}},
138
+ {"type": "text", "text": "请转写这段童谣。"},
139
+ ],
140
+ "video": [
141
+ {"type": "video_url", "video_url": {"url": "https://huggingface.co/datasets/merve/vlm_test_images/resolve/main/concert.mp4"}},
142
+ {"type": "text", "text": "请描述这场表演以及视频中可以听到的内容。"},
143
+ ],
144
+ }
145
+ messages = [{"role": "user", "content": examples["image"]}]
146
+ ```
147
+
148
+ 如果视频包含音轨,模型也会同时处理其中的音频。
149
+
150
+ ## 部署
151
+
152
+ 以下命令面向单个 8 卡节点上的 FP8 部署。BF16 需要更多显存,请根据可用显存、并发量和输入模态调整上下文长度。
153
+
154
+ [vLLM](https://recipes.vllm.ai/dots-studio/dots3-note-prev) 的 `main` 分支已原生支持 dots3-note preview。[Transformers #47844](https://github.com/huggingface/transformers/pull/47844) 和 [SGLang #33829](https://github.com/sgl-project/sglang/pull/33829) 仍在审核中;合并前请使用下文指定的 PR 版本。
155
+
156
+ ### Transformers
157
+
158
+ 请先安装 NVIDIA 驱动支持且相互兼容的 [PyTorch 和 torchvision](https://pytorch.org/get-started/locally/) 版本。若需处理音频和视频,还应安装与 PyTorch 兼容的 `torchcodec`(包含在下方命令中),并通过系统包管理器安装 FFmpeg。随后安装 [Transformers #47844](https://github.com/huggingface/transformers/pull/47844):
159
+
160
+ ```bash
161
+ pip install accelerate pillow torchcodec kernels==0.16.0 "transformers @ git+https://github.com/huggingface/transformers.git@refs/pull/47844/head"
162
+ ```
163
+
164
+ 运行最小化本地推理示例:
165
+
166
+ ```python
167
+ from transformers import AutoModelForMultimodalLM, AutoProcessor
168
+
169
+ model_id = "dots-studio/dots3-note-prev-fp8"
170
+ processor = AutoProcessor.from_pretrained(model_id)
171
+ model = AutoModelForMultimodalLM.from_pretrained(model_id, dtype="auto", device_map="auto")
172
+
173
+ messages = [
174
+ {"role": "user", "content": "你好!请简单介绍一下你自己。"},
175
+ ]
176
+ inputs = processor.tokenizer.apply_chat_template(
177
+ messages,
178
+ add_generation_prompt=True,
179
+ return_tensors="pt",
180
+ return_dict=True,
181
+ enable_thinking=False,
182
+ ).to(model.device)
183
+ outputs = model.generate(**inputs, max_new_tokens=128)
184
+ print(processor.decode(outputs[0, inputs.input_ids.shape[1] :], skip_special_tokens=True))
185
+ ```
186
+
187
+ 如需提供多 GPU、兼容 OpenAI API 的服务,请使用 SGLang 或 vLLM。
188
+
189
+ ### SGLang
190
+
191
+ 推荐使用发布镜像 [lmsysorg/sglang:dev-dots3-note](https://hub.docker.com/r/lmsysorg/sglang/tags)。完整的单节点部署方案和调优说明请参阅 [Dots3-Note cookbook](https://github.com/sgl-project/sglang/blob/main/docs/cookbook/autoregressive/RedNote/Dots3-Note.mdx)。源码支持进展请参阅 [SGLang #33829](https://github.com/sgl-project/sglang/pull/33829)。
192
+
193
+ Docker 部署(首次运行时,镜像会从 Hugging Face 下载模型权重):
194
+
195
+ ```bash
196
+ docker run --gpus all --ipc=host -p 8000:8000 \
197
+ lmsysorg/sglang:dev-dots3-note \
198
+ sglang serve \
199
+ --model-path dots-studio/dots3-note-prev-fp8 \
200
+ --served-model-name dots3-note-prev \
201
+ --host 0.0.0.0 \
202
+ --port 8000 \
203
+ --context-length 524288 \
204
+ --enable-dp-attention \
205
+ --dp-size 8 \
206
+ --tp-size 8 \
207
+ --ep-size 8 \
208
+ --moe-dense-tp-size 1 \
209
+ --page-size 64 \
210
+ --trust-remote-code \
211
+ --attention-backend fa3 \
212
+ --moe-a2a-backend deepep \
213
+ --enable-multimodal \
214
+ --speculative-algorithm NEXTN \
215
+ --speculative-num-steps 3 \
216
+ --speculative-eagle-topk 1 \
217
+ --speculative-num-draft-tokens 4 \
218
+ --speculative-draft-model-path dots-studio/dots3-note-prev-fp8
219
+ ```
220
+
221
+ 也可以从源码或相应 PR 安装,并在本地使用相同的 `sglang serve` 参数。`--attention-backend fa3` 会设置预填充、解码以及启用投机解码时的草稿模型注意力后端。MTP/NEXTN(`--speculative-algorithm NEXTN` 及相关参数)为可选功能,可将 TPOT 降低 50% 以上。目前尚不支持预填充阶段的 CUDA Graph。
222
+
223
+ 可选功能:
224
+
225
+ ```bash
226
+ # 仅加载语言模型
227
+ --language-only
228
+
229
+ # 启用兼容 OpenAI API 的工具调用
230
+ --tool-call-parser dots
231
+ ```
232
+
233
+ ### vLLM
234
+
235
+ [vLLM](https://recipes.vllm.ai/dots-studio/dots3-note-prev) 的 `main` 分支已原生支持 dots3-note preview。在该功能进入稳定版本前,请使用较新的 nightly build。
236
+
237
+ 以下示例使用 8 张 NVIDIA H100 GPU,以 TP=8、EP=8 部署 FP8 权重:
238
+
239
+ ```bash
240
+ vllm serve dots-studio/dots3-note-prev-fp8 \
241
+ --served-model-name dots3-note-prev \
242
+ --host 0.0.0.0 \
243
+ --tensor-parallel-size 8 \
244
+ --enable-expert-parallel \
245
+ --moe-backend deep_gemm \
246
+ --max-model-len 262144
247
+ ```
248
+
249
+ 可选功能:
250
+
251
+ ```bash
252
+ # 仅加载语言模型
253
+ --language-model-only
254
+
255
+ # 启用 3-token MTP 投机解码
256
+ --speculative-config '{"method":"mtp","num_speculative_tokens":3}'
257
+
258
+ # 启用兼容 OpenAI API 的自动工具调用
259
+ --enable-auto-tool-choice --tool-call-parser dots
260
+ ```
261
+
262
+ ## 评测附录
263
+
264
+ ![通用推理与智能体评测附录](assets/benchmark_appendix_cn_reasoning.png)
265
+
266
+ ![多模态评测附录](assets/benchmark_appendix_cn_multimodal.png)
267
+
268
+ ## 许可证
269
+
270
+ Copyright (c) 2026 Xiaohongshu.
271
+
272
+ 由 dots studio 开发并发布。
273
+
274
+ 本仓库中的 dots3-note preview 模型权重和建模代码基于 Apache License 2.0 发布。
275
+
276
+ 详情请参阅 LICENSE 文件。
277
+
278
+ Transformers、SGLang、vLLM 及其他第三方软件适用其各自的许可证。
279
+
280
+ ## 联系我们
281
+
282
+ 如有问题或反馈,请通过以下方式联系我们:
283
+
284
+ - 邮箱:dots-model-feedback@xiaohongshu.com
285
+
286
+ ---
287
+
288
+ <p align="center">
289
+
290
+ <i>dots3-note preview is developed and released by dots studio.</i>
291
+
292
+ </p>
added_tokens.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|alttext|>": 151711,
3
+ "<|assistant|>": 151667,
4
+ "<|audio_comp_end|>": 151719,
5
+ "<|audio_comp_pad|>": 151720,
6
+ "<|audio_comp_start|>": 151718,
7
+ "<|audio_gen_end|>": 151716,
8
+ "<|audio_gen_pad|>": 151717,
9
+ "<|audio_gen_start|>": 151715,
10
+ "<|box_end|>": 151670,
11
+ "<|box_start|>": 151669,
12
+ "<|discarddensecaption|>": 151712,
13
+ "<|endofalttext|>": 151713,
14
+ "<|endofassistant|>": 151668,
15
+ "<|endofexecution|>": 151655,
16
+ "<|endofimg|>": 151662,
17
+ "<|endofobservation|>": 151653,
18
+ "<|endofpdfmeta|>": 151710,
19
+ "<|endofresponse|>": 151649,
20
+ "<|endofslice|>": 151678,
21
+ "<|endofsystemprompt|>": 151664,
22
+ "<|endofsystem|>": 151651,
23
+ "<|endoftext|>": 151643,
24
+ "<|endofurl|>": 151708,
25
+ "<|endofuserprompt|>": 151647,
26
+ "<|endofuser|>": 151666,
27
+ "<|execution|>": 151654,
28
+ "<|im_end>": 151659,
29
+ "<|im_end|>": 151645,
30
+ "<|im_start|>": 151644,
31
+ "<|imgpad|>": 151660,
32
+ "<|imgrowend|>": 151679,
33
+ "<|img|>": 151661,
34
+ "<|observation|>": 151652,
35
+ "<|pdfmeta|>": 151709,
36
+ "<|pictotext|>": 151676,
37
+ "<|pic|>": 151674,
38
+ "<|polygon_end|>": 151682,
39
+ "<|polygon_start|>": 151681,
40
+ "<|ref_end|>": 151672,
41
+ "<|ref_start|>": 151671,
42
+ "<|reject-unknown|>": 151656,
43
+ "<|response|>": 151648,
44
+ "<|sec-cot|>": 151657,
45
+ "<|sec-end-cot|>": 151658,
46
+ "<|slice|>": 151677,
47
+ "<|systemprompt|>": 151663,
48
+ "<|system|>": 151650,
49
+ "<|task:doc layout with format json|>": 151700,
50
+ "<|task:image captioning|>": 151701,
51
+ "<|task:image en-captioning|>": 151683,
52
+ "<|task:image en-concept|>": 151689,
53
+ "<|task:image en-dense-captioning|>": 151687,
54
+ "<|task:image grounding|>": 151691,
55
+ "<|task:image orientation|>": 151692,
56
+ "<|task:image zh-captioning|>": 151684,
57
+ "<|task:image zh-concept|>": 151690,
58
+ "<|task:image zh-dense-captioning|>": 151688,
59
+ "<|task:object detection|>": 151685,
60
+ "<|task:ocr of chart with format matplotlib|>": 151697,
61
+ "<|task:ocr of chart with format mermaid|>": 151698,
62
+ "<|task:ocr of molecule with format molgrapher|>": 151695,
63
+ "<|task:ocr of staff with format ekern|>": 151696,
64
+ "<|task:ocr with format html|>": 151705,
65
+ "<|task:ocr with format image captioning|>": 151703,
66
+ "<|task:ocr with format json|>": 151694,
67
+ "<|task:ocr with format latex|>": 151693,
68
+ "<|task:ocr with nodes,lines and circle|>": 151704,
69
+ "<|task:ocr-detection and recognition|>": 151699,
70
+ "<|task:ocr|>": 151686,
71
+ "<|task:table captioning|>": 151702,
72
+ "<|task:video captioning|>": 151706,
73
+ "<|text|>": 151675,
74
+ "<|to_think|>": 151714,
75
+ "<|url|>": 151707,
76
+ "<|userprompt|>": 151646,
77
+ "<|user|>": 151665,
78
+ "<|video_pad|>": 151680,
79
+ "[SEP]": 151673,
80
+ "<think>": 151721,
81
+ "</think>": 151722,
82
+ "<no_think>": 151723,
83
+ "<dots_function_call>": 151724,
84
+ "</dots_function_call>": 151725,
85
+ "<dots_function_response>": 151726,
86
+ "</dots_function_response>": 151727
87
+ }
assets/bench_cn1.png ADDED

Git LFS Details

  • SHA256: 473ed6125b2966f2cb9f51d8a29d2abef1bd23bf9043f72356dd16f213e63f1b
  • Pointer size: 131 Bytes
  • Size of remote file: 502 kB
assets/bench_cn2.png ADDED

Git LFS Details

  • SHA256: e795a70d82eb77ecac6743d0f61045dc3d037b40ea917b425645730043abdb27
  • Pointer size: 131 Bytes
  • Size of remote file: 290 kB
assets/bench_en1.png ADDED

Git LFS Details

  • SHA256: 9a2f88cde1353884bf9d7c2a47b278debd8c92757dbba9e61dc2dcfe00475fb6
  • Pointer size: 131 Bytes
  • Size of remote file: 730 kB
assets/bench_en2.png ADDED

Git LFS Details

  • SHA256: fcf1d2d99752ae9d36cff2e1e619ca1ef9c23901ac6ede46f1defb990efedda9
  • Pointer size: 131 Bytes
  • Size of remote file: 299 kB
assets/benchmark_appendix_cn_multimodal.png ADDED

Git LFS Details

  • SHA256: 1c41249b076ab0fe5d1daaa24c7e59721d155de1e25351467b7b065dd7cfeded
  • Pointer size: 131 Bytes
  • Size of remote file: 363 kB
assets/benchmark_appendix_cn_reasoning.png ADDED

Git LFS Details

  • SHA256: 9b3567487f2068e550cf6c0cfedf3b1b6b0148379df7a81ce1221b5fd0b129db
  • Pointer size: 131 Bytes
  • Size of remote file: 787 kB
assets/benchmark_appendix_en_multimodal.png ADDED

Git LFS Details

  • SHA256: 03a3cf92a37c3bf5efa507a07f522d916b238ec900c4cdebee03d50ae96fd51d
  • Pointer size: 131 Bytes
  • Size of remote file: 357 kB
assets/benchmark_appendix_en_reasoning.png ADDED

Git LFS Details

  • SHA256: 0dddc20ced4b0c43353d885c368e4e45306f744929def7a1821059c37f76420d
  • Pointer size: 131 Bytes
  • Size of remote file: 786 kB
assets/dots logo@3x.png ADDED
chat_template.jinja ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if enable_thinking is not defined -%}
2
+ {%- set enable_thinking = true -%}
3
+ {%- endif -%}
4
+ {%- if clear_thinking is not defined -%}
5
+ {%- set clear_thinking = false -%}
6
+ {%- endif -%}
7
+
8
+ {%- set image_count = namespace(value=0) -%}
9
+ {%- set audio_count = namespace(value=0) -%}
10
+ {%- set video_count = namespace(value=0) -%}
11
+ {%- set last_user_index = namespace(value=-1) -%}
12
+
13
+ {%- macro render_content(content) -%}
14
+ {%- if not content -%}
15
+ {{- '' -}}
16
+ {%- elif content is string -%}
17
+ {{- content -}}
18
+ {%- else -%}
19
+ {%- for item in content -%}
20
+ {%- if item['type'] == 'image' or 'image' in item or 'image_url' in item -%}
21
+ {%- set image_count.value = image_count.value + 1 -%}
22
+ {%- if not loop.first -%}{{- '\n' -}}{%- endif -%}
23
+ {%- if add_vision_id -%}Picture {{ image_count.value }}: {% endif -%}
24
+ <|img|><|imgpad|><|endofimg|>
25
+ {%- elif item['type'] == 'video' or 'video' in item or 'video_url' in item -%}
26
+ {%- set video_count.value = video_count.value + 1 -%}
27
+ {%- if not loop.first -%}{{- '\n' -}}{%- endif -%}
28
+ {%- if add_vision_id -%}Video {{ video_count.value }}: {% endif -%}
29
+ <|video_pad|>
30
+ {%- elif item['type'] == 'audio' or 'audio' in item or 'audio_url' in item -%}
31
+ {%- set audio_count.value = audio_count.value + 1 -%}
32
+ {%- if not loop.first -%}{{- '\n' -}}{%- endif -%}
33
+ {%- if add_vision_id -%}Audio {{ audio_count.value }}: {% endif -%}
34
+ <|audio_comp_start|><|audio_comp_pad|><|audio_comp_end|>
35
+ {%- elif 'text' in item -%}
36
+ {{- item['text'] -}}
37
+ {%- endif -%}
38
+ {%- endfor -%}
39
+ {%- endif -%}
40
+ {%- endmacro -%}
41
+
42
+ {%- if tools -%}
43
+ {{- '<|system|>' -}}
44
+ {%- if messages[0]['role'] == 'system' -%}
45
+ {{- render_content(messages[0]['content']) -}}
46
+ {%- else -%}
47
+ {{- 'You are a helpful assistant.' -}}
48
+ {%- endif -%}
49
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" -}}
50
+ {%- for tool in tools -%}
51
+ {{- "\n" -}}
52
+ {{- tool | tojson -}}
53
+ {%- endfor -%}
54
+ {{- "\n</tools>\n\nWhen making tool calls, use XML format to invoke tools and pass parameters:\n\n<dots_function_call>\n<invoke name=\"tool-name-1\">\n<parameter name=\"param-key-1\">\nparam-value-1\n</parameter>\n<parameter name=\"param-key-2\">\nparam-value-2\n</parameter>\n...\n</invoke>\n</dots_function_call><|endofsystem|>" -}}
55
+ {%- else -%}
56
+ {%- if messages[0]['role'] == 'system' -%}
57
+ {{- '<|system|>' -}}
58
+ {{- render_content(messages[0]['content']) -}}
59
+ {{- '<|endofsystem|>' -}}
60
+ {%- else -%}
61
+ {{- '<|system|>You are a helpful assistant.<|endofsystem|>' -}}
62
+ {%- endif -%}
63
+ {%- endif -%}
64
+
65
+ {%- for m in messages -%}
66
+ {%- if m['role'] == 'user' -%}
67
+ {%- set last_user_index.value = loop.index0 -%}
68
+ {%- endif -%}
69
+ {%- endfor -%}
70
+
71
+ {%- for message in messages -%}
72
+ {%- set content = render_content(message['content']) -%}
73
+ {%- if (message['role'] == 'user') or (message['role'] == 'system' and not loop.first) -%}
74
+ {{- '<|user|>' -}}
75
+ {{- content -}}
76
+ {%- if message['role'] == 'user' and enable_thinking is false and not content.endswith('<no_think>') -%}
77
+ {{- '<no_think>' -}}
78
+ {%- endif -%}
79
+ {{- '<|endofuser|>' -}}
80
+ {%- elif message['role'] == 'assistant' -%}
81
+ {%- set reasoning_content = '' -%}
82
+ {%- if message.reasoning_content is string -%}
83
+ {%- set reasoning_content = message.reasoning_content -%}
84
+ {%- else -%}
85
+ {%- if '</think>' in content -%}
86
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') -%}
87
+ {%- set content = content.split('</think>')[-1].lstrip('\n') -%}
88
+ {%- endif -%}
89
+ {%- endif -%}
90
+ {%- set reasoning_content = reasoning_content|trim -%}
91
+ {{- '<|assistant|>' -}}
92
+ {%- if enable_thinking is false -%}
93
+ {{- '<think>\n\n</think>\n\n' + content -}}
94
+ {%- elif clear_thinking and loop.index0 < last_user_index.value -%}
95
+ {{- '<think>\n\n</think>\n\n' + content -}}
96
+ {%- elif reasoning_content -%}
97
+ {{- '<think>\n' + reasoning_content + '\n</think>\n\n' + content -}}
98
+ {%- else -%}
99
+ {{- content -}}
100
+ {%- endif -%}
101
+ {%- if message.get('tool_calls') -%}
102
+ {%- for tool_call in message['tool_calls'] -%}
103
+ {%- if tool_call.function is defined -%}
104
+ {%- set tool_call = tool_call.function -%}
105
+ {%- endif -%}
106
+ {{- '\n<dots_function_call>\n<invoke name="' -}}
107
+ {{- tool_call.name -}}
108
+ {{- '">' -}}
109
+ {%- for arg_name, arg_value in tool_call.arguments.items() -%}
110
+ {{- '\n<parameter name="' -}}
111
+ {{- arg_name -}}
112
+ {{- '">' -}}
113
+ {{- '\n' -}}
114
+ {%- if arg_value is string -%}
115
+ {{- arg_value -}}
116
+ {%- else -%}
117
+ {{- arg_value|tojson -}}
118
+ {%- endif -%}
119
+ {{- '\n' -}}
120
+ {{- '</parameter>' -}}
121
+ {%- endfor -%}
122
+ {{- '\n</invoke>\n</dots_function_call>' -}}
123
+ {%- endfor -%}
124
+ {%- endif -%}
125
+ {{- '<|endofassistant|>' -}}
126
+ {%- elif message['role'] == 'tool' -%}
127
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1]['role'] != 'tool') -%}
128
+ {{- '<|user|>' -}}
129
+ {%- endif -%}
130
+ {{- '\n<dots_function_response>\n' -}}
131
+ {{- content -}}
132
+ {{- '\n</dots_function_response>' -}}
133
+ {%- if loop.last or (messages[loop.index0 + 1]['role'] != 'tool') -%}
134
+ {{- '<|endofuser|>' -}}
135
+ {%- endif -%}
136
+ {%- endif -%}
137
+ {%- endfor -%}
138
+
139
+ {%- if add_generation_prompt -%}
140
+ {{- '<|assistant|>' -}}
141
+ {%- if enable_thinking is false -%}
142
+ {{- '<think>\n\n</think>\n\n' -}}
143
+ {%- endif -%}
144
+ {%- endif -%}
config.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Dots3NoteForCausalLM"
4
+ ],
5
+ "apply_mla_qkv_lora_rescale": true,
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attention_gate_type": "headwise",
9
+ "bos_token_id": 151643,
10
+ "eos_token_id": 151668,
11
+ "first_k_dense_replace": 1,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 5120,
14
+ "index_head_dim": 128,
15
+ "index_n_heads": 64,
16
+ "index_topk": 2048,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 13824,
19
+ "kv_lora_rank": 512,
20
+ "layer_types": [
21
+ "full_attention",
22
+ "full_attention",
23
+ "sliding_attention",
24
+ "sliding_attention",
25
+ "sliding_attention",
26
+ "full_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "full_attention",
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "full_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "sliding_attention",
38
+ "full_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "full_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "full_attention",
47
+ "sliding_attention",
48
+ "sliding_attention",
49
+ "sliding_attention",
50
+ "full_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "sliding_attention",
54
+ "full_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "full_attention",
59
+ "sliding_attention",
60
+ "sliding_attention",
61
+ "sliding_attention",
62
+ "full_attention",
63
+ "sliding_attention",
64
+ "sliding_attention",
65
+ "sliding_attention",
66
+ "full_attention"
67
+ ],
68
+ "max_position_embeddings": 524288,
69
+ "model_type": "dots3_note",
70
+ "moe_intermediate_size": 1536,
71
+ "moe_layer_freq": 1,
72
+ "n_routed_experts": 256,
73
+ "n_shared_experts": 1,
74
+ "norm_topk_prob": true,
75
+ "num_attention_heads": 128,
76
+ "num_experts_per_tok": 8,
77
+ "num_hidden_layers": 46,
78
+ "num_key_value_heads": 128,
79
+ "pretraining_tp": 1,
80
+ "q_lora_rank": 1024,
81
+ "qk_nope_head_dim": 128,
82
+ "qk_rope_head_dim": 64,
83
+ "rms_norm_eps": 1e-05,
84
+ "rope_scaling": null,
85
+ "rope_theta": 80000000.0,
86
+ "routed_scaling_factor": 1.0,
87
+ "scoring_func": "sigmoid",
88
+ "sliding_window_size": 513,
89
+ "swa_attention_gate_type": "headwise",
90
+ "swa_kv_lora_rank": 1024,
91
+ "swa_num_attention_heads": 64,
92
+ "swa_num_key_value_heads": 64,
93
+ "swa_q_lora_rank": 1024,
94
+ "swa_qk_nope_head_dim": 192,
95
+ "swa_qk_rope_head_dim": 64,
96
+ "swa_rope_theta": 50000.0,
97
+ "swa_v_head_dim": 128,
98
+ "tie_word_embeddings": false,
99
+ "topk_method": "noaux_tc",
100
+ "torch_dtype": "bfloat16",
101
+ "transformers_version": "4.36.0",
102
+ "use_cache": true,
103
+ "v_head_dim": 128,
104
+ "vocab_size": 152064,
105
+ "vision_config": {
106
+ "embed_dim": 1536,
107
+ "hidden_size": 5120,
108
+ "intermediate_size": 4224,
109
+ "moe_intermediate_size": 2112,
110
+ "num_hidden_layers": 42,
111
+ "num_attention_heads": 24,
112
+ "num_channels": 3,
113
+ "patch_size": 14,
114
+ "spatial_merge_size": 2,
115
+ "temporal_patch_size": 1,
116
+ "rms_norm_eps": 1e-05,
117
+ "use_bias": false,
118
+ "use_qk_norm": true,
119
+ "attn_implementation": "flash_attention_3",
120
+ "initializer_range": 0.02,
121
+ "is_causal": false,
122
+ "post_norm": true,
123
+ "pre_pixel_shuffle": true,
124
+ "pyramid_num_routed": [
125
+ -1,
126
+ -1,
127
+ -1,
128
+ -1,
129
+ -1,
130
+ -1,
131
+ -1,
132
+ -1,
133
+ -1,
134
+ -1,
135
+ -1,
136
+ -1,
137
+ -1,
138
+ -1,
139
+ -1,
140
+ -1,
141
+ -1,
142
+ -1,
143
+ -1,
144
+ -1,
145
+ -1,
146
+ -1,
147
+ -1,
148
+ -1,
149
+ -1,
150
+ 4,
151
+ 8,
152
+ 12,
153
+ 16,
154
+ 20,
155
+ 24,
156
+ 28,
157
+ 32,
158
+ 36,
159
+ 40,
160
+ 44,
161
+ 48,
162
+ 52,
163
+ 56,
164
+ 60,
165
+ 64,
166
+ 64
167
+ ],
168
+ "capacity_factor": 2,
169
+ "router_scoring_func": "sigmoid",
170
+ "router_scale": 1.0,
171
+ "adapter_type": "patch_merger",
172
+ "adapter_in_dim": 1536,
173
+ "adapter_out_dim": 5120,
174
+ "adapter_merge_size": 2
175
+ },
176
+ "audio_config": {
177
+ "encoder_type": "dots",
178
+ "whisper_config": {
179
+ "d_model": 1280,
180
+ "encoder_attention_heads": 20,
181
+ "encoder_ffn_dim": 5120,
182
+ "encoder_layers": 32,
183
+ "num_mel_bins": 128,
184
+ "max_source_positions": 6000,
185
+ "activation_function": "swiglu"
186
+ },
187
+ "use_conv2d_stem": true,
188
+ "use_rope": true,
189
+ "use_rms_norm": true,
190
+ "use_causal": false,
191
+ "downsample_hidden_size": 480,
192
+ "conv_chunksize": 500,
193
+ "conv_stem_gradient_checkpointing": true,
194
+ "conv_bucket_step": 10,
195
+ "conv_bucket_max_elements": 20000,
196
+ "rope_parameters": {
197
+ "partial_rotary_factor": 0.5,
198
+ "rope_theta": 10000.0
199
+ },
200
+ "merge_factor": 1,
201
+ "chunk_seconds": 60,
202
+ "whisper_adapter_in_dim": 1280,
203
+ "whisper_adapter_out_dim": 5120,
204
+ "sampling_rate": 16000,
205
+ "audio_comp_start": "<|audio_comp_start|>",
206
+ "audio_comp_span": "<|audio_comp_pad|>",
207
+ "audio_comp_end": "<|audio_comp_end|>"
208
+ }
209
+ }
generation_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "eos_token_id": [151643, 151668]
3
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a36e362e81b9098dacf446f0d8b935b5334aeea115f2e64e4d68a05c9cedfc4
3
+ size 4293953752
model-00002-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc71944d3df6fbac4f81fa9240de3a79931b121e8371975d7ea7a41c0f4737a2
3
+ size 4288708792
model-00003-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29ecd0e31e75ef8e20f75de95f66d2ba0baf1bc167d3164ea3d53e816f2ba203
3
+ size 4283464768
model-00004-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ef137e2b3968f5176be6d43eed5a56595df9fd3bfa23181261fa3bb802cf62f
3
+ size 4293951256
model-00005-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8a5c2a65a18a21b96b44abb68192e62cbb57d33278d22f6b3bceb717dd51f0e
3
+ size 4290806048
model-00006-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:315bf17f5fe8b324e74babcfce0e8a916dbd84a433b7ce108c52b1cff1231846
3
+ size 4293952288
model-00007-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:828e6c8429968135a7ee584c4598998a2fc2a0349a0b7fbefdadd7fb6a2e6593
3
+ size 4293952272
model-00008-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce4d0556d81c94fa3ec48f73a8b557ed6363802d71c0e659f881f01cae9dc743
3
+ size 4279927712
model-00009-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97cca3004dcb95e0f35201c5fe7631599670ceb6a2ec68a7521cb9d7918377d2
3
+ size 4284515208
model-00010-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af032403973ac963beb7762aca5aff7567b330e0bf0e1763226bb6ff336ff1d0
3
+ size 4281239136
model-00011-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bbc13a782f9192561503f3224b1a20f7716c7928f91dbc432fb3011e7d66ebc
3
+ size 4288972024
model-00012-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4ecc94aae23704fc9d7d49be572b4245c19044dddae95ca67f6f3e964f7187f
3
+ size 4294608520
model-00013-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5e268cd2e7e5f58a23fd23fed692bc26512aefc61bfe6abfaf99d98064becab
3
+ size 4289758704
model-00014-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:803403d72995ddcb6c930981364553659e6538b2ce02952daddcc01535b469da
3
+ size 4288710080
model-00015-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27c57e59147cfa8d86a3d787bdd35d80aa98dd31b8bd535f0e4ee199efb4144a
3
+ size 4290020944
model-00016-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82795d86ac1f0779b2c8a6685f0b1e543b1e0edf676c79417d178228af146232
3
+ size 4282812328
model-00017-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa652e918a342b3c56931c9746622cc64ccd2c86391f102da8611bf9bee1e31d
3
+ size 4280846504
model-00018-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d356ef291d51b0b5e27bf1d02360b89ab3cf46fd53f44661ba62bbe47c7df9f
3
+ size 4283488768
model-00019-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9703d86bf8ba7887bf85209766a22916555774de3890f90e2ed761e231853e37
3
+ size 4289469016
model-00020-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39ddc124b579f0e9819c1ecca9c03051326a9e78c475ab0ffd233dc73179b319
3
+ size 4294007416
model-00021-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80911353e7cf208d167e31d7bacb9301b341ba2487a2ba781e75bd0edfa72c81
3
+ size 4293972616
model-00022-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f535d4ae795faf3bc59773285794fcbf48a08670ee164199bfc650370bd5cf7
3
+ size 4288719544
model-00023-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1c35cbdcc1b02ef936ff564130124eb4fdd8623a844da6cff9dd90c56fc2f20
3
+ size 4293956176
model-00024-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f1605b657a1744f5ab243626529d6044a3e47657906155641f74650d69e4008
3
+ size 4290807120
model-00025-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89787c5d9fd2234d674fb2036615c5c64b78b38f1ddd1821ce28d4c6d1a3bec8
3
+ size 4288708840
model-00026-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8387cd2f96053303bf7a8d1f90507cc2b3d4b90282676c07c322215f228a5d89
3
+ size 4288707776
model-00027-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e777b72a304c5096ae978b1a14ff5b49f04c5b79abf2efb99d917a37a96b01a
3
+ size 4293952472
model-00028-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e5d2a1efadf0bdb34fa6440f13806faecfbea7ed6c6177bc391e5849cea7aa2
3
+ size 4288708384
model-00029-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afb4de92fee1c0fb8b479d8e8c16119388b50b5a2373fafc918498e922d5baf4
3
+ size 4284515136
model-00030-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd29b3d64eb4778b94648dd8c86fd5caabf4759a2cf3a546df95cc1286087958
3
+ size 4288709456
model-00031-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf907a2cd1e0d2f64a94353fdb2ab0e22d3ccc65c732a06d5d619c286f1e6b58
3
+ size 4293952320
model-00032-of-00131.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:725f643a1a27c417b052d29156a855b66d60b32ed742a7f552db635f9c1a539c
3
+ size 4284515296