Image-Text-to-Text
Transformers
Safetensors
dots3_note
text-generation
dots3
dots3-note
audio
multimodal
long-context
agentic
conversational
fp8
Run this model with HF Jobs
Run dots-studio/dots3-note-prev-fp8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/dots-studio/dots3-note-prev-fp8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/dots-studio/dots3-note-prev-fp8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/dots-studio/dots3-note-prev-fp8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/dots-studio/dots3-note-prev-fp8. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use dots-studio/dots3-note-prev-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dots-studio/dots3-note-prev-fp8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="dots-studio/dots3-note-prev-fp8") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("dots-studio/dots3-note-prev-fp8") model = AutoModelForCausalLM.from_pretrained("dots-studio/dots3-note-prev-fp8", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dots-studio/dots3-note-prev-fp8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dots-studio/dots3-note-prev-fp8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dots-studio/dots3-note-prev-fp8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/dots-studio/dots3-note-prev-fp8
- SGLang
How to use dots-studio/dots3-note-prev-fp8 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "dots-studio/dots3-note-prev-fp8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dots-studio/dots3-note-prev-fp8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "dots-studio/dots3-note-prev-fp8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dots-studio/dots3-note-prev-fp8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use dots-studio/dots3-note-prev-fp8 with Docker Model Runner:
docker model run hf.co/dots-studio/dots3-note-prev-fp8
Commit ·
5123155
0
Parent(s):
Release dots3-note preview
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributesAdded+44
- LICENSEAdded+202
- README.mdAdded+315
- README_CN.mdAdded+292
- added_tokens.jsonAdded+87
- assets/bench_cn1.pngAdded
- assets/bench_cn2.pngAdded
- assets/bench_en1.pngAdded
- assets/bench_en2.pngAdded
- assets/benchmark_appendix_cn_multimodal.pngAdded
- assets/benchmark_appendix_cn_reasoning.pngAdded
- assets/benchmark_appendix_en_multimodal.pngAdded
- assets/benchmark_appendix_en_reasoning.pngAdded
- assets/dots logo@3x.pngAdded
- chat_template.jinjaAdded+144
- config.jsonAdded+218
- generation_config.jsonAdded+3
- merges.txtAdded
- model-00001-of-00131.safetensorsAdded+3
- model-00002-of-00131.safetensorsAdded+3
- model-00003-of-00131.safetensorsAdded+3
- model-00004-of-00131.safetensorsAdded+3
- model-00005-of-00131.safetensorsAdded+3
- model-00006-of-00131.safetensorsAdded+3
- model-00007-of-00131.safetensorsAdded+3
- model-00008-of-00131.safetensorsAdded+3
- model-00009-of-00131.safetensorsAdded+3
- model-00010-of-00131.safetensorsAdded+3
- model-00011-of-00131.safetensorsAdded+3
- model-00012-of-00131.safetensorsAdded+3
- model-00013-of-00131.safetensorsAdded+3
- model-00014-of-00131.safetensorsAdded+3
- model-00015-of-00131.safetensorsAdded+3
- model-00016-of-00131.safetensorsAdded+3
- model-00017-of-00131.safetensorsAdded+3
- model-00018-of-00131.safetensorsAdded+3
- model-00019-of-00131.safetensorsAdded+3
- model-00020-of-00131.safetensorsAdded+3
- model-00021-of-00131.safetensorsAdded+3
- model-00022-of-00131.safetensorsAdded+3
- model-00023-of-00131.safetensorsAdded+3
- model-00024-of-00131.safetensorsAdded+3
- model-00025-of-00131.safetensorsAdded+3
- model-00026-of-00131.safetensorsAdded+3
- model-00027-of-00131.safetensorsAdded+3
- model-00028-of-00131.safetensorsAdded+3
- model-00029-of-00131.safetensorsAdded+3
- model-00030-of-00131.safetensorsAdded+3
- model-00031-of-00131.safetensorsAdded+3
- model-00032-of-00131.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -textassets/bench_cn1.png filter=lfs diff=lfs merge=lfs -textassets/bench_en2.png filter=lfs diff=lfs merge=lfs -textassets/bench_cn2.png filter=lfs diff=lfs merge=lfs -textassets/bench_en1.png filter=lfs diff=lfs merge=lfs -textassets/benchmark_appendix_en_reasoning.png filter=lfs diff=lfs merge=lfs -textassets/benchmark_appendix_en_multimodal.png filter=lfs diff=lfs merge=lfs -textassets/benchmark_appendix_cn_reasoning.png filter=lfs diff=lfs merge=lfs -textassets/benchmark_appendix_cn_multimodal.png filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315---
license: apache-2.0library_name: transformerspipeline_tag: image-text-to-texttags:- dots3- dots3-note- audio- multimodal- long-context- agentic
---
<p align="left"> <a href="https://huggingface.co/dots-studio/dots3-note-prev-fp8/blob/main/README_CN.md">中文</a> | English</p><br>
<div align="center"> <img src="assets/dots%20logo@3x.png" alt="dots logo" width="200" /> <h1>dots3-note Preview</h1></div>
<div align="center" style="line-height: 1;"> <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&logoColor=white" /></a> <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> <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> <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> <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>
<a href="https://www.xiaohongshu.com/user/profile/683ffe42000000001d021a4c"><img alt="Dots Studio" src="https://img.shields.io/badge/RedNote-Dots%20Studio-FF2442" /></a> <a href="https://discord.gg/haym6hEUE"><img alt="Discord" src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white" /></a> <a href="https://x.com/dotsstudioai"><img alt="X: dotsstudioai" src="https://img.shields.io/badge/X-%40dotsstudioai-black" /></a> <a href="#license"><img alt="License: Apache 2.0" src="https://img.shields.io/badge/License-Apache%202.0-blue" /></a></div>
<p align="center"> 🌐 <a href="https://studio.dots.ai/dots/dots3-en.html"><b>Tech Blog</b></a> | 📄 <b>Full Report (coming soon)</b></p>
---
## Table of Contents
- [Model Introduction](#model-introduction)- [Model Overview](#model-overview)- [Evaluation Results](#evaluation-results) - [General Reasoning and Agent](#general-reasoning-and-agent) - [Multimodal Understanding](#multimodal-understanding)- [Model Links](#model-links)- [Quickstart](#quickstart)- [Deployment](#deployment) - [Transformers](#transformers) - [SGLang](#sglang) - [vLLM](#vllm)- [Benchmark Appendix](#benchmark-appendix)- [License](#license)- [Contact Us](#contact-us)
---
## Model Introduction
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.
dots3-note preview is optimized for a broad range of tasks, including:
- General knowledge and instruction following;- Mathematical and logical reasoning;- Tool use and multi-step agent workflows;- Interactive tasks that require exploration, memory updates, and adaptation;- Code generation and code-based problem solving;- Image, document, chart, audio, and video understanding;- Long-context information processing.
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.
## Model Overview
| Property | Value || :--- | :--- || Architecture | Multimodal MoE || Total Parameters | 280B || Activated Parameters | 16B || MTP | 1 shared layer, 1.13B || Number of Layers | 1 dense + 45 MoE || Hidden Size | 5120 || FFN Hidden Size | 13824 (dense), 1536 (per expert) || Experts | 256 routed + 1 shared, top-8 || Attention | 13 DSA + 33 SWA (~1:3) || DSA | Top-2048 || Context Length | 512K || Vocabulary Size | 152K || Vision Encoder | MoE ViT, 7B total, 1.2B activated || Audio Encoder | Dense, 800M || Supported Precision | BF16, FP8 || Input | Text, image, video, audio || Output | Text |
## Evaluation Results
### General Reasoning and Agent

### Multimodal Understanding

## Model Links
| Model Name | Description | HuggingFace | ModelScope || --- | --- | --- | --- || 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;" /> <a href="https://modelscope.cn/models/dots-studio/dots3-note-prev">Model</a></span> || 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;" /> <a href="https://modelscope.cn/models/dots-studio/dots3-note-prev-fp8">Model</a></span> |
## Quickstart
Recommended: serve the FP8 checkpoint on one 8-GPU node with [SGLang](#sglang) or [vLLM](#vllm).
```pythonfrom openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="EMPTY")
response = client.chat.completions.create( model="dots3-note-prev", messages=[ {"role": "user", "content": "Hello! Can you briefly introduce yourself?"}, ], temperature=1.0, top_p=0.95, max_tokens=256, # Set enable_thinking=True for reasoning; False returns a direct response. extra_body={"chat_template_kwargs": {"enable_thinking": False}},)print(response.choices[0].message.content)```
For a multimodal request, replace `messages` with one of these public examples:
```pythonexamples = { "image": [ {"type": "image_url", "image_url": {"url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cats.png"}}, {"type": "text", "text": "How many cats are in this image?"}, ], "audio": [ {"type": "audio_url", "audio_url": {"url": "https://huggingface.co/datasets/hf-internal-testing/dummy-audio-samples/resolve/main/mary_had_lamb.mp3"}}, {"type": "text", "text": "Transcribe this nursery rhyme."}, ], "video": [ {"type": "video_url", "video_url": {"url": "https://huggingface.co/datasets/merve/vlm_test_images/resolve/main/concert.mp4"}}, {"type": "text", "text": "Describe the performance and what can be heard."}, ],}messages = [{"role": "user", "content": examples["image"]}]```
Video inputs include their audio track when available.
## Deployment
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.
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.
### Transformers
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):
```bashpip install accelerate pillow torchcodec kernels==0.16.0 "transformers @ git+https://github.com/huggingface/transformers.git@refs/pull/47844/head"```
Run a minimal local inference:
```pythonfrom transformers import AutoModelForMultimodalLM, AutoProcessor
model_id = "dots-studio/dots3-note-prev-fp8"processor = AutoProcessor.from_pretrained(model_id)model = AutoModelForMultimodalLM.from_pretrained(model_id, dtype="auto", device_map="auto")
messages = [ {"role": "user", "content": "Hello! Please briefly introduce yourself."},]inputs = processor.tokenizer.apply_chat_template( messages, add_generation_prompt=True, return_tensors="pt", return_dict=True, enable_thinking=False,).to(model.device)outputs = model.generate(**inputs, max_new_tokens=128)print(processor.decode(outputs[0, inputs.input_ids.shape[1] :], skip_special_tokens=True))```
Use SGLang or vLLM for multi-GPU OpenAI-compatible serving.
### SGLang
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).
Docker (the image downloads the checkpoint from Hugging Face on first run):
```bashdocker run --gpus all --ipc=host -p 8000:8000 \ lmsysorg/sglang:dev-dots3-note \ sglang serve \ --model-path dots-studio/dots3-note-prev-fp8 \ --served-model-name dots3-note-prev \ --host 0.0.0.0 \ --port 8000 \ --context-length 524288 \ --enable-dp-attention \ --dp-size 8 \ --tp-size 8 \ --ep-size 8 \ --moe-dense-tp-size 1 \ --page-size 64 \ --trust-remote-code \ --attention-backend fa3 \ --moe-a2a-backend deepep \ --enable-multimodal \ --speculative-algorithm NEXTN \ --speculative-num-steps 3 \ --speculative-eagle-topk 1 \ --speculative-num-draft-tokens 4 \ --speculative-draft-model-path dots-studio/dots3-note-prev-fp8```
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.
Optional features:
```bash# Load only the language model--language-only
# Enable OpenAI-compatible tool calling--tool-call-parser dots```
### vLLM
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.
The following example deploys the FP8 checkpoint on eight NVIDIA H100 GPUs with TP=8 and EP=8:
```bashvllm serve dots-studio/dots3-note-prev-fp8 \ --served-model-name dots3-note-prev \ --host 0.0.0.0 \ --tensor-parallel-size 8 \ --enable-expert-parallel \ --moe-backend deep_gemm \ --max-model-len 262144```
Optional features:
```bash# Load only the language model--language-model-only
# Enable three-token MTP speculative decoding--speculative-config '{"method":"mtp","num_speculative_tokens":3}'
# Enable OpenAI-compatible automatic tool calling--enable-auto-tool-choice --tool-call-parser dots
```
## Benchmark Appendix


## License
Copyright (c) 2026 Xiaohongshu.
Developed and released by dots studio.
The dots3-note preview model weights and modeling code in this repository are licensed under the Apache License, Version 2.0.
See the LICENSE file for details.
Transformers, SGLang, vLLM, and other third-party software are subject to their respective licenses.
## Contact Us
For questions and feedback, please contact us through: - Email: dots-model-feedback@xiaohongshu.com
---
<p align="center">
<i>dots3-note preview is developed and released by dots studio.</i>
</p>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292<p align="left"> <a href="https://huggingface.co/dots-studio/dots3-note-prev-fp8">English</a> | 中文</p><br>
<div align="center"> <img src="assets/dots%20logo@3x.png" alt="dots logo" width="200" /> <h1>dots3-note Preview</h1></div>
<div align="center" style="line-height: 1;"> <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&logoColor=white" /></a> <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> <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> <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> <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>
<a href="https://www.xiaohongshu.com/user/profile/683ffe42000000001d021a4c"><img alt="Dots Studio" src="https://img.shields.io/badge/RedNote-Dots%20Studio-FF2442" /></a> <a href="https://discord.gg/haym6hEUE"><img alt="Discord" src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white" /></a> <a href="https://x.com/dotsstudioai"><img alt="X: dotsstudioai" src="https://img.shields.io/badge/X-%40dotsstudioai-black" /></a> <a href="#许可证"><img alt="License: Apache 2.0" src="https://img.shields.io/badge/License-Apache%202.0-blue" /></a></div>
<p align="center"> 🌐 <a href="https://studio.dots.ai/dots/dots3-zh.html"><b>技术博客</b></a> | 📄 <b>完整报告(即将发布)</b></p>
---
## 目录
- [模型介绍](#模型介绍)- [模型概览](#模型概览)- [评测结果](#评测结果) - [通用推理与智能体](#通用推理与智能体) - [多模态理解](#多模态理解)- [模型链接](#模型链接)- [快速开始](#快速开始)- [部署](#部署) - [Transformers](#transformers) - [SGLang](#sglang) - [vLLM](#vllm)- [评测附录](#评测附录)- [许可证](#许可证)- [联系我们](#联系我们)
---
## 模型介绍
dots3-note preview 是 dots3 系列首个开放权重模型。该模型采用混合专家(Mixture-of-Experts,MoE)架构,总参数量为 280B,激活参数量为 16B,支持最长 512K 个 token 的上下文。模型支持文本、图像、视频和音频理解,并生成文本输出。
dots3-note preview 针对以下任务进行了优化:
- 通用知识与指令遵循;- 数学与逻辑推理;- 工具使用与多步骤智能体工作流;- 需要探索、记忆更新和适应能力的交互式任务;- 代码生成与基于代码的问题求解;- 图像、文档、图表、音频和视频理解;- 长上下文信息处理。
dots3 系列包含在能力、时延和推理成本之间采用不同权衡的多款模型,dots3-note preview 是该系列中最轻量级的成员。
## 模型概览
| 属性 | 值 || :--- | :--- || 架构 | 多模态混合专家模型(MoE) || 总参数量 | 280B || 激活参数量 | 16B || MTP | 1 个共享层,1.13B 参数 || 层数 | 1 个稠密层 + 45 个 MoE 层 || 隐藏层维度 | 5120 || FFN 中间层维度 | 13824(稠密层),1536(每个专家) || 专家数量 | 256 个路由专家 + 1 个共享专家,Top-8 激活 || 注意力机制 | 13 DSA + 33 SWA(约 1:3) || DSA | Top-2048 || 上下文长度 | 512K || 词表大小 | 152K || 视觉编码器 | MoE ViT,总参数量 7B,激活参数量 1.2B || 音频编码器 | 稠密模型,800M || 支持精度 | BF16、FP8 || 输入 | 文本、图像、视频、音频 || 输出 | 文本 |
## 评测结果
### 通用推理与智能体

### 多模态理解

## 模型链接
| 模型名称 | 简介 | Hugging Face | ModelScope || --- | --- | --- | --- || 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;" /> <a href="https://modelscope.cn/models/dots-studio/dots3-note-prev">模型</a></span> || 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;" /> <a href="https://modelscope.cn/models/dots-studio/dots3-note-prev-fp8">模型</a></span> |
## 快速开始
建议使用 [SGLang](#sglang) 或 [vLLM](#vllm),在单个 8 卡节点上部署 FP8 权重。
```pythonfrom openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="EMPTY")
response = client.chat.completions.create( model="dots3-note-prev", messages=[ {"role": "user", "content": "你好!请简单介绍一下你自己。"}, ], temperature=1.0, top_p=0.95, max_tokens=256, # 启用推理时设置 enable_thinking=True;设置为 False 时直接回复。 extra_body={"chat_template_kwargs": {"enable_thinking": False}},)print(response.choices[0].message.content)```
如需发起多模态请求,可将 `messages` 替换为以下任一公开示例:
```pythonexamples = { "image": [ {"type": "image_url", "image_url": {"url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cats.png"}}, {"type": "text", "text": "这张图片中有几只猫?"}, ], "audio": [ {"type": "audio_url", "audio_url": {"url": "https://huggingface.co/datasets/hf-internal-testing/dummy-audio-samples/resolve/main/mary_had_lamb.mp3"}}, {"type": "text", "text": "请转写这段童谣。"}, ], "video": [ {"type": "video_url", "video_url": {"url": "https://huggingface.co/datasets/merve/vlm_test_images/resolve/main/concert.mp4"}}, {"type": "text", "text": "请描述这场表演以及视频中可以听到的内容。"}, ],}messages = [{"role": "user", "content": examples["image"]}]```
如果视频包含音轨,模型也会同时处理其中的音频。
## 部署
以下命令面向单个 8 卡节点上的 FP8 部署。BF16 需要更多显存,请根据可用显存、并发量和输入模态调整上下文长度。
[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 版本。
### Transformers
请先安装 NVIDIA 驱动支持且相互兼容的 [PyTorch 和 torchvision](https://pytorch.org/get-started/locally/) 版本。若需处理音频和视频,还应安装与 PyTorch 兼容的 `torchcodec`(包含在下方命令中),并通过系统包管理器安装 FFmpeg。随后安装 [Transformers #47844](https://github.com/huggingface/transformers/pull/47844):
```bashpip install accelerate pillow torchcodec kernels==0.16.0 "transformers @ git+https://github.com/huggingface/transformers.git@refs/pull/47844/head"```
运行最小化本地推理示例:
```pythonfrom transformers import AutoModelForMultimodalLM, AutoProcessor
model_id = "dots-studio/dots3-note-prev-fp8"processor = AutoProcessor.from_pretrained(model_id)model = AutoModelForMultimodalLM.from_pretrained(model_id, dtype="auto", device_map="auto")
messages = [ {"role": "user", "content": "你好!请简单介绍一下你自己。"},]inputs = processor.tokenizer.apply_chat_template( messages, add_generation_prompt=True, return_tensors="pt", return_dict=True, enable_thinking=False,).to(model.device)outputs = model.generate(**inputs, max_new_tokens=128)print(processor.decode(outputs[0, inputs.input_ids.shape[1] :], skip_special_tokens=True))```
如需提供多 GPU、兼容 OpenAI API 的服务,请使用 SGLang 或 vLLM。
### SGLang
推荐使用发布镜像 [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)。
Docker 部署(首次运行时,镜像会从 Hugging Face 下载模型权重):
```bashdocker run --gpus all --ipc=host -p 8000:8000 \ lmsysorg/sglang:dev-dots3-note \ sglang serve \ --model-path dots-studio/dots3-note-prev-fp8 \ --served-model-name dots3-note-prev \ --host 0.0.0.0 \ --port 8000 \ --context-length 524288 \ --enable-dp-attention \ --dp-size 8 \ --tp-size 8 \ --ep-size 8 \ --moe-dense-tp-size 1 \ --page-size 64 \ --trust-remote-code \ --attention-backend fa3 \ --moe-a2a-backend deepep \ --enable-multimodal \ --speculative-algorithm NEXTN \ --speculative-num-steps 3 \ --speculative-eagle-topk 1 \ --speculative-num-draft-tokens 4 \ --speculative-draft-model-path dots-studio/dots3-note-prev-fp8```
也可以从源码或相应 PR 安装,并在本地使用相同的 `sglang serve` 参数。`--attention-backend fa3` 会设置预填充、解码以及启用投机解码时的草稿模型注意力后端。MTP/NEXTN(`--speculative-algorithm NEXTN` 及相关参数)为可选功能,可将 TPOT 降低 50% 以上。目前尚不支持预填充阶段的 CUDA Graph。
可选功能:
```bash# 仅加载语言模型--language-only
# 启用兼容 OpenAI API 的工具调用--tool-call-parser dots```
### vLLM
[vLLM](https://recipes.vllm.ai/dots-studio/dots3-note-prev) 的 `main` 分支已原生支持 dots3-note preview。在该功能进入稳定版本前,请使用较新的 nightly build。
以下示例使用 8 张 NVIDIA H100 GPU,以 TP=8、EP=8 部署 FP8 权重:
```bashvllm serve dots-studio/dots3-note-prev-fp8 \ --served-model-name dots3-note-prev \ --host 0.0.0.0 \ --tensor-parallel-size 8 \ --enable-expert-parallel \ --moe-backend deep_gemm \ --max-model-len 262144```
可选功能:
```bash# 仅加载语言模型--language-model-only
# 启用 3-token MTP 投机解码--speculative-config '{"method":"mtp","num_speculative_tokens":3}'
# 启用兼容 OpenAI API 的自动工具调用--enable-auto-tool-choice --tool-call-parser dots```
## 评测附录


## 许可证
Copyright (c) 2026 Xiaohongshu.
由 dots studio 开发并发布。
本仓库中的 dots3-note preview 模型权重和建模代码基于 Apache License 2.0 发布。
详情请参阅 LICENSE 文件。
Transformers、SGLang、vLLM 及其他第三方软件适用其各自的许可证。
## 联系我们
如有问题或反馈,请通过以下方式联系我们:
- 邮箱:dots-model-feedback@xiaohongshu.com
---
<p align="center">
<i>dots3-note preview is developed and released by dots studio.</i>
</p>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ "<|alttext|>": 151711, "<|assistant|>": 151667, "<|audio_comp_end|>": 151719, "<|audio_comp_pad|>": 151720, "<|audio_comp_start|>": 151718, "<|audio_gen_end|>": 151716, "<|audio_gen_pad|>": 151717, "<|audio_gen_start|>": 151715, "<|box_end|>": 151670, "<|box_start|>": 151669, "<|discarddensecaption|>": 151712, "<|endofalttext|>": 151713, "<|endofassistant|>": 151668, "<|endofexecution|>": 151655, "<|endofimg|>": 151662, "<|endofobservation|>": 151653, "<|endofpdfmeta|>": 151710, "<|endofresponse|>": 151649, "<|endofslice|>": 151678, "<|endofsystemprompt|>": 151664, "<|endofsystem|>": 151651, "<|endoftext|>": 151643, "<|endofurl|>": 151708, "<|endofuserprompt|>": 151647, "<|endofuser|>": 151666, "<|execution|>": 151654, "<|im_end>": 151659, "<|im_end|>": 151645, "<|im_start|>": 151644, "<|imgpad|>": 151660, "<|imgrowend|>": 151679, "<|img|>": 151661, "<|observation|>": 151652, "<|pdfmeta|>": 151709, "<|pictotext|>": 151676, "<|pic|>": 151674, "<|polygon_end|>": 151682, "<|polygon_start|>": 151681, "<|ref_end|>": 151672, "<|ref_start|>": 151671, "<|reject-unknown|>": 151656, "<|response|>": 151648, "<|sec-cot|>": 151657, "<|sec-end-cot|>": 151658, "<|slice|>": 151677, "<|systemprompt|>": 151663, "<|system|>": 151650, "<|task:doc layout with format json|>": 151700, "<|task:image captioning|>": 151701, "<|task:image en-captioning|>": 151683, "<|task:image en-concept|>": 151689, "<|task:image en-dense-captioning|>": 151687, "<|task:image grounding|>": 151691, "<|task:image orientation|>": 151692, "<|task:image zh-captioning|>": 151684, "<|task:image zh-concept|>": 151690, "<|task:image zh-dense-captioning|>": 151688, "<|task:object detection|>": 151685, "<|task:ocr of chart with format matplotlib|>": 151697, "<|task:ocr of chart with format mermaid|>": 151698, "<|task:ocr of molecule with format molgrapher|>": 151695, "<|task:ocr of staff with format ekern|>": 151696, "<|task:ocr with format html|>": 151705, "<|task:ocr with format image captioning|>": 151703, "<|task:ocr with format json|>": 151694, "<|task:ocr with format latex|>": 151693, "<|task:ocr with nodes,lines and circle|>": 151704, "<|task:ocr-detection and recognition|>": 151699, "<|task:ocr|>": 151686, "<|task:table captioning|>": 151702, "<|task:video captioning|>": 151706, "<|text|>": 151675, "<|to_think|>": 151714, "<|url|>": 151707, "<|userprompt|>": 151646, "<|user|>": 151665, "<|video_pad|>": 151680, "[SEP]": 151673, "<think>": 151721, "</think>": 151722, "<no_think>": 151723, "<dots_function_call>": 151724, "</dots_function_call>": 151725, "<dots_function_response>": 151726, "</dots_function_response>": 151727}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144{%- if enable_thinking is not defined -%} {%- set enable_thinking = true -%}{%- endif -%}{%- if clear_thinking is not defined -%} {%- set clear_thinking = false -%}{%- endif -%}
{%- set image_count = namespace(value=0) -%}{%- set audio_count = namespace(value=0) -%}{%- set video_count = namespace(value=0) -%}{%- set last_user_index = namespace(value=-1) -%}
{%- macro render_content(content) -%} {%- if not content -%} {{- '' -}} {%- elif content is string -%} {{- content -}} {%- else -%} {%- for item in content -%} {%- if item['type'] == 'image' or 'image' in item or 'image_url' in item -%} {%- set image_count.value = image_count.value + 1 -%} {%- if not loop.first -%}{{- '\n' -}}{%- endif -%} {%- if add_vision_id -%}Picture {{ image_count.value }}: {% endif -%} <|img|><|imgpad|><|endofimg|> {%- elif item['type'] == 'video' or 'video' in item or 'video_url' in item -%} {%- set video_count.value = video_count.value + 1 -%} {%- if not loop.first -%}{{- '\n' -}}{%- endif -%} {%- if add_vision_id -%}Video {{ video_count.value }}: {% endif -%} <|video_pad|> {%- elif item['type'] == 'audio' or 'audio' in item or 'audio_url' in item -%} {%- set audio_count.value = audio_count.value + 1 -%} {%- if not loop.first -%}{{- '\n' -}}{%- endif -%} {%- if add_vision_id -%}Audio {{ audio_count.value }}: {% endif -%} <|audio_comp_start|><|audio_comp_pad|><|audio_comp_end|> {%- elif 'text' in item -%} {{- item['text'] -}} {%- endif -%} {%- endfor -%} {%- endif -%}{%- endmacro -%}
{%- if tools -%} {{- '<|system|>' -}} {%- if messages[0]['role'] == 'system' -%} {{- render_content(messages[0]['content']) -}} {%- else -%} {{- 'You are a helpful assistant.' -}} {%- endif -%} {{- "\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>" -}} {%- for tool in tools -%} {{- "\n" -}} {{- tool | tojson -}} {%- endfor -%} {{- "\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|>" -}}{%- else -%} {%- if messages[0]['role'] == 'system' -%} {{- '<|system|>' -}} {{- render_content(messages[0]['content']) -}} {{- '<|endofsystem|>' -}} {%- else -%} {{- '<|system|>You are a helpful assistant.<|endofsystem|>' -}} {%- endif -%}{%- endif -%}
{%- for m in messages -%} {%- if m['role'] == 'user' -%} {%- set last_user_index.value = loop.index0 -%} {%- endif -%}{%- endfor -%}
{%- for message in messages -%} {%- set content = render_content(message['content']) -%} {%- if (message['role'] == 'user') or (message['role'] == 'system' and not loop.first) -%} {{- '<|user|>' -}} {{- content -}} {%- if message['role'] == 'user' and enable_thinking is false and not content.endswith('<no_think>') -%} {{- '<no_think>' -}} {%- endif -%} {{- '<|endofuser|>' -}} {%- elif message['role'] == 'assistant' -%} {%- set reasoning_content = '' -%} {%- if message.reasoning_content is string -%} {%- set reasoning_content = message.reasoning_content -%} {%- else -%} {%- if '</think>' in content -%} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') -%} {%- set content = content.split('</think>')[-1].lstrip('\n') -%} {%- endif -%} {%- endif -%} {%- set reasoning_content = reasoning_content|trim -%} {{- '<|assistant|>' -}} {%- if enable_thinking is false -%} {{- '<think>\n\n</think>\n\n' + content -}} {%- elif clear_thinking and loop.index0 < last_user_index.value -%} {{- '<think>\n\n</think>\n\n' + content -}} {%- elif reasoning_content -%} {{- '<think>\n' + reasoning_content + '\n</think>\n\n' + content -}} {%- else -%} {{- content -}} {%- endif -%} {%- if message.get('tool_calls') -%} {%- for tool_call in message['tool_calls'] -%} {%- if tool_call.function is defined -%} {%- set tool_call = tool_call.function -%} {%- endif -%} {{- '\n<dots_function_call>\n<invoke name="' -}} {{- tool_call.name -}} {{- '">' -}} {%- for arg_name, arg_value in tool_call.arguments.items() -%} {{- '\n<parameter name="' -}} {{- arg_name -}} {{- '">' -}} {{- '\n' -}} {%- if arg_value is string -%} {{- arg_value -}} {%- else -%} {{- arg_value|tojson -}} {%- endif -%} {{- '\n' -}} {{- '</parameter>' -}} {%- endfor -%} {{- '\n</invoke>\n</dots_function_call>' -}} {%- endfor -%} {%- endif -%} {{- '<|endofassistant|>' -}} {%- elif message['role'] == 'tool' -%} {%- if (loop.index0 == 0) or (messages[loop.index0 - 1]['role'] != 'tool') -%} {{- '<|user|>' -}} {%- endif -%} {{- '\n<dots_function_response>\n' -}} {{- content -}} {{- '\n</dots_function_response>' -}} {%- if loop.last or (messages[loop.index0 + 1]['role'] != 'tool') -%} {{- '<|endofuser|>' -}} {%- endif -%} {%- endif -%}{%- endfor -%}
{%- if add_generation_prompt -%} {{- '<|assistant|>' -}} {%- if enable_thinking is false -%} {{- '<think>\n\n</think>\n\n' -}} {%- endif -%}{%- endif -%}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218{ "architectures": [ "Dots3NoteForCausalLM" ], "apply_mla_qkv_lora_rescale": true, "attention_bias": false, "attention_dropout": 0.0, "attention_gate_type": "headwise", "bos_token_id": 151643, "eos_token_id": 151668, "first_k_dense_replace": 1, "hidden_act": "silu", "hidden_size": 5120, "index_head_dim": 128, "index_n_heads": 64, "index_topk": 2048, "initializer_range": 0.02, "intermediate_size": 13824, "kv_lora_rank": 512, "layer_types": [ "full_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention" ], "max_position_embeddings": 524288, "model_type": "dots3_note", "moe_intermediate_size": 1536, "moe_layer_freq": 1, "n_routed_experts": 256, "n_shared_experts": 1, "norm_topk_prob": true, "num_attention_heads": 128, "num_experts_per_tok": 8, "num_hidden_layers": 46, "num_key_value_heads": 128, "pretraining_tp": 1, "q_lora_rank": 1024, "qk_nope_head_dim": 128, "qk_rope_head_dim": 64, "quantization_config": { "activation_scheme": "dynamic", "fmt": "e4m3", "quant_method": "fp8", "weight_block_size": [ 128, 128 ] }, "rms_norm_eps": 1e-05, "rope_scaling": null, "rope_theta": 80000000.0, "routed_scaling_factor": 1.0, "scoring_func": "sigmoid", "sliding_window_size": 513, "swa_attention_gate_type": "headwise", "swa_kv_lora_rank": 1024, "swa_num_attention_heads": 64, "swa_num_key_value_heads": 64, "swa_q_lora_rank": 1024, "swa_qk_nope_head_dim": 192, "swa_qk_rope_head_dim": 64, "swa_rope_theta": 50000.0, "swa_v_head_dim": 128, "tie_word_embeddings": false, "topk_method": "noaux_tc", "torch_dtype": "bfloat16", "transformers_version": "4.36.0", "use_cache": true, "v_head_dim": 128, "vocab_size": 152064, "vision_config": { "embed_dim": 1536, "hidden_size": 5120, "intermediate_size": 4224, "moe_intermediate_size": 2112, "num_hidden_layers": 42, "num_attention_heads": 24, "num_channels": 3, "patch_size": 14, "spatial_merge_size": 2, "temporal_patch_size": 1, "rms_norm_eps": 1e-05, "use_bias": false, "use_qk_norm": true, "attn_implementation": "flash_attention_3", "initializer_range": 0.02, "is_causal": false, "post_norm": true, "pre_pixel_shuffle": true, "pyramid_num_routed": [ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 64 ], "capacity_factor": 2, "router_scoring_func": "sigmoid", "router_scale": 1.0, "adapter_type": "patch_merger", "adapter_in_dim": 1536, "adapter_out_dim": 5120, "adapter_merge_size": 2 }, "audio_config": { "encoder_type": "dots", "whisper_config": { "d_model": 1280, "encoder_attention_heads": 20, "encoder_ffn_dim": 5120, "encoder_layers": 32, "num_mel_bins": 128, "max_source_positions": 6000, "activation_function": "swiglu" }, "use_conv2d_stem": true, "use_rope": true, "use_rms_norm": true, "use_causal": false, "downsample_hidden_size": 480, "conv_chunksize": 500, "conv_stem_gradient_checkpointing": true, "conv_bucket_step": 10, "conv_bucket_max_elements": 20000, "rope_parameters": { "partial_rotary_factor": 0.5, "rope_theta": 10000.0 }, "merge_factor": 1, "chunk_seconds": 60, "whisper_adapter_in_dim": 1280, "whisper_adapter_out_dim": 5120, "sampling_rate": 16000, "audio_comp_start": "<|audio_comp_start|>", "audio_comp_span": "<|audio_comp_pad|>", "audio_comp_end": "<|audio_comp_end|>" }}123{ "eos_token_id": [151643, 151668]}123version https://git-lfs.github.com/spec/v1oid sha256:84e6473a412919e1ac02259b8fa5af8f96fdf7fa285c015e9799b6a700edb5bfsize 2147552616123version https://git-lfs.github.com/spec/v1oid sha256:0b2f62f66fc26153bb1df272c1dfbda5a79943a79fe3789ab50836ec168d3dacsize 2144927168123version https://git-lfs.github.com/spec/v1oid sha256:ed74f02b061f0db0c9960e6bac0ddb3075dd0a7fa156dd2a2668c1d436e780casize 2142302808123version https://git-lfs.github.com/spec/v1oid sha256:7e5018c1e2eb3cb6c92d952869879548f645de862f61eaefd663577ecb2171bfsize 2147548424123version https://git-lfs.github.com/spec/v1oid sha256:2866c646d8124cd3a38ed94a24794194de810a068289bf964fe167a173f7fdb9size 2145976192123version https://git-lfs.github.com/spec/v1oid sha256:da88199aa6a43ff4e78b30282ff5003e8a003f3aa326fa86199eb1da279cc561size 2147550480123version https://git-lfs.github.com/spec/v1oid sha256:61ada5a29450588e6234060fdf9c2a251f09f6e999a8581b7a053bbe900418b5size 2147550440123version https://git-lfs.github.com/spec/v1oid sha256:c487309edf030c962bcce22f68c6f8638945db66c1f3fef1bb668910c583a437size 2140536752123version https://git-lfs.github.com/spec/v1oid sha256:f1c897531aa7ed31de771214ffdd1f8d3bb613b69db2fdc552d528f6c7df3099size 2142830928123version https://git-lfs.github.com/spec/v1oid sha256:216aaf3b2e97ab05e380b8f106dba14f897c479f9c8e29decf69cd7d34d57553size 2141193824123version https://git-lfs.github.com/spec/v1oid sha256:312ddfa4d425a12134d784c4446e141c85d59f22dd2d5990d23947436e38e2f1size 2145060600123version https://git-lfs.github.com/spec/v1oid sha256:7210e47951faf001af1cea293b66fada024d6643b1c03216d5117ca736bf8d38size 2147880056123version https://git-lfs.github.com/spec/v1oid sha256:ad8f45a428b77f03a041696fc7ee8b54300a4a62c7c414221cec306b1193a6aesize 2145454240123version https://git-lfs.github.com/spec/v1oid sha256:845aa8d3a36e52cf948f70a5a1959fdc3207e06227ebb78c24db77dab40023aasize 2144929736123version https://git-lfs.github.com/spec/v1oid sha256:e2cef9a032b1ec9fa5c2a3a3a3f9914808e14388bd2af4ad2f1b88a7c3c06913size 2145585704123version https://git-lfs.github.com/spec/v1oid sha256:aa55f1f81860856a6058d8c9efb59a8ccca0a416984f90f8adad9e732ea131f0size 2145911976123version https://git-lfs.github.com/spec/v1oid sha256:ad453f4638c24e188da829115670203a4f3b8b186baecd2ccab260d6ebe63d1esize 2147549544123version https://git-lfs.github.com/spec/v1oid sha256:233539c5a5b0f1589738571383dc025f9c3ee411b2b073ee5854043e79e8131bsize 2142330720123version https://git-lfs.github.com/spec/v1oid sha256:8d7da2700afa2cd149abc83998deb507f43b3035389185b0ba32aca7af31d164size 2145361080123version https://git-lfs.github.com/spec/v1oid sha256:f832aa86cd5e31c8f99410dd32a6e0d584e9454ac074f561c4e9a90856352ab3size 2147606224123version https://git-lfs.github.com/spec/v1oid sha256:ce126286b8d0ea745ede8d24925edd80231649c03579b7287aa0a8311a7a3ecfsize 2147571456123version https://git-lfs.github.com/spec/v1oid sha256:b8376e72da1e5263f9a30d1315f1293276b73adef8ec59aae150a0cb2dcb8ff3size 2144939208123version https://git-lfs.github.com/spec/v1oid sha256:cf50ea8bbb5ba8b0f2fe75cd5c470e8edc9c2643949ca66059065028187d9241size 2147555008123version https://git-lfs.github.com/spec/v1oid sha256:557cabde39ab8a26517194d380608892b40c4977d7907ac1c1fad2dc04eea6f3size 2145978344123version https://git-lfs.github.com/spec/v1oid sha256:9b225174254ce21da5ee1e95a7803690805e0b2c56fe0b66e109c405b55df333size 2144927272123version https://git-lfs.github.com/spec/v1oid sha256:7040a85f60f52c7581d7abacfeb7084372199215cbcb0916080b48876f1e428csize 2144925144123version https://git-lfs.github.com/spec/v1oid sha256:5f792572f7c351c3fc481200d0a1b372eaf68f6f42cc0c303bb77bd8b9a18ef7size 2147550840123version https://git-lfs.github.com/spec/v1oid sha256:105ae0ad2dcf280ffa3228c06dc7aa5ea94bf860a9df5678608912494b9ea931size 2144926344123version https://git-lfs.github.com/spec/v1oid sha256:fe1a0a684acd7fd23bb9821802f2afca429975648f5f09e9966d0771ebb478f1size 2142830792123version https://git-lfs.github.com/spec/v1oid sha256:153523a782ba3242efa040db2c295bce39574abfbcdda7147c908f7b1d8c1d84size 2144928480123version https://git-lfs.github.com/spec/v1oid sha256:dad3bf80f6080d502aa81cf4dbdd0ce3686f5610d8fcde277d7beae19d2d089fsize 2147550536123version https://git-lfs.github.com/spec/v1oid sha256:e1b2c149f4ee127761b12c57c698c33aaf68653960e356f9b6ca93ff449fbb42size 2142831120.gitattributesAdded+44
LICENSEAdded+202
README.mdAdded+315
README_CN.mdAdded+292
added_tokens.jsonAdded+87
assets/bench_cn1.pngAdded

Large File Pointer Details
- SHA256: 473ed6125b2966f2cb9f51d8a29d2abef1bd23bf9043f72356dd16f213e63f1b
- Pointer size: 131 Bytes
- Size of remote file: 502 kB
assets/bench_cn2.pngAdded

Large File Pointer Details
- SHA256: e795a70d82eb77ecac6743d0f61045dc3d037b40ea917b425645730043abdb27
- Pointer size: 131 Bytes
- Size of remote file: 290 kB
assets/bench_en1.pngAdded

Large File Pointer Details
- SHA256: 9a2f88cde1353884bf9d7c2a47b278debd8c92757dbba9e61dc2dcfe00475fb6
- Pointer size: 131 Bytes
- Size of remote file: 730 kB
assets/bench_en2.pngAdded

Large File Pointer Details
- SHA256: fcf1d2d99752ae9d36cff2e1e619ca1ef9c23901ac6ede46f1defb990efedda9
- Pointer size: 131 Bytes
- Size of remote file: 299 kB
assets/benchmark_appendix_cn_multimodal.pngAdded

Large File Pointer Details
- SHA256: 1c41249b076ab0fe5d1daaa24c7e59721d155de1e25351467b7b065dd7cfeded
- Pointer size: 131 Bytes
- Size of remote file: 363 kB
assets/benchmark_appendix_cn_reasoning.pngAdded

Large File Pointer Details
- SHA256: 9b3567487f2068e550cf6c0cfedf3b1b6b0148379df7a81ce1221b5fd0b129db
- Pointer size: 131 Bytes
- Size of remote file: 787 kB
assets/benchmark_appendix_en_multimodal.pngAdded

Large File Pointer Details
- SHA256: 03a3cf92a37c3bf5efa507a07f522d916b238ec900c4cdebee03d50ae96fd51d
- Pointer size: 131 Bytes
- Size of remote file: 357 kB
assets/benchmark_appendix_en_reasoning.pngAdded

Large File Pointer Details
- SHA256: 0dddc20ced4b0c43353d885c368e4e45306f744929def7a1821059c37f76420d
- Pointer size: 131 Bytes
- Size of remote file: 786 kB
assets/dots logo@3x.pngAdded

chat_template.jinjaAdded+144
config.jsonAdded+218
generation_config.jsonAdded+3
merges.txtAdded
model-00001-of-00131.safetensorsAdded+3
model-00002-of-00131.safetensorsAdded+3
model-00003-of-00131.safetensorsAdded+3
model-00004-of-00131.safetensorsAdded+3
model-00005-of-00131.safetensorsAdded+3
model-00006-of-00131.safetensorsAdded+3
model-00007-of-00131.safetensorsAdded+3
model-00008-of-00131.safetensorsAdded+3
model-00009-of-00131.safetensorsAdded+3
model-00010-of-00131.safetensorsAdded+3
model-00011-of-00131.safetensorsAdded+3
model-00012-of-00131.safetensorsAdded+3
model-00013-of-00131.safetensorsAdded+3
model-00014-of-00131.safetensorsAdded+3
model-00015-of-00131.safetensorsAdded+3
model-00016-of-00131.safetensorsAdded+3
model-00017-of-00131.safetensorsAdded+3
model-00018-of-00131.safetensorsAdded+3
model-00019-of-00131.safetensorsAdded+3
model-00020-of-00131.safetensorsAdded+3
model-00021-of-00131.safetensorsAdded+3
model-00022-of-00131.safetensorsAdded+3
model-00023-of-00131.safetensorsAdded+3
model-00024-of-00131.safetensorsAdded+3
model-00025-of-00131.safetensorsAdded+3
model-00026-of-00131.safetensorsAdded+3
model-00027-of-00131.safetensorsAdded+3
model-00028-of-00131.safetensorsAdded+3
model-00029-of-00131.safetensorsAdded+3
model-00030-of-00131.safetensorsAdded+3
model-00031-of-00131.safetensorsAdded+3
model-00032-of-00131.safetensorsAdded+3