Image-Text-to-Text
Transformers
Safetensors
dots3_note
tiny-random
multimodal
test-fixture
conversational
Instructions to use hf-internal-testing/dummy-dots3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/dummy-dots3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="hf-internal-testing/dummy-dots3") 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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("hf-internal-testing/dummy-dots3") model = AutoModelForMultimodalLM.from_pretrained("hf-internal-testing/dummy-dots3", 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 hf-internal-testing/dummy-dots3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hf-internal-testing/dummy-dots3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hf-internal-testing/dummy-dots3", "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/hf-internal-testing/dummy-dots3
- SGLang
How to use hf-internal-testing/dummy-dots3 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 "hf-internal-testing/dummy-dots3" \ --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": "hf-internal-testing/dummy-dots3", "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 "hf-internal-testing/dummy-dots3" \ --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": "hf-internal-testing/dummy-dots3", "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 hf-internal-testing/dummy-dots3 with Docker Model Runner:
docker model run hf.co/hf-internal-testing/dummy-dots3
Copy all files from miraclezqc/TestForDots3
Browse files- LICENSE +202 -0
- README.md +168 -0
- chat_template.jinja +144 -0
- config.json +152 -0
- generation_config.json +11 -0
- generation_expectations.json +263 -0
- model.safetensors +3 -0
- processor_config.json +75 -0
- tokenizer.json +1160 -0
- tokenizer_config.json +19 -0
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
pipeline_tag: image-text-to-text
|
| 5 |
+
tags:
|
| 6 |
+
- tiny-random
|
| 7 |
+
- dots3_note
|
| 8 |
+
- multimodal
|
| 9 |
+
- test-fixture
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Tiny random Dots 3 Note — BF16 integration fixture
|
| 13 |
+
|
| 14 |
+
A fixed random checkpoint for Hub loading and generation regression tests of
|
| 15 |
+
[Transformers PR #47844](https://github.com/huggingface/transformers/pull/47844).
|
| 16 |
+
It has **12,058 parameters**, all saved floating tensors are **BF16**, and
|
| 17 |
+
model.safetensors is **41,846 bytes**. Initialization uses seed 42 in FP32,
|
| 18 |
+
followed by BF16 conversion. Generated tokens are regression values with no
|
| 19 |
+
expected semantic quality.
|
| 20 |
+
|
| 21 |
+
Architecture and preprocessing were compared with
|
| 22 |
+
[dots-studio/dots3-note-prev](https://huggingface.co/dots-studio/dots3-note-prev)
|
| 23 |
+
at revision **1e1e7b0cd37a3a48a6c8d7fa55d5f9d14377006b**.
|
| 24 |
+
The current Dots implementation from PR #47844 is required. Loading uses the
|
| 25 |
+
standard Auto classes and does not require trust_remote_code.
|
| 26 |
+
|
| 27 |
+
## Coverage and size choices
|
| 28 |
+
|
| 29 |
+
| Component | Published model | Tiny fixture |
|
| 30 |
+
|---|---|---|
|
| 31 |
+
| Text depth / width | 46 / 5120 | 3 / 8 |
|
| 32 |
+
| Text layer 0 | DSA + dense MLP | DSA + dense MLP |
|
| 33 |
+
| Text layer 1 | DSA + routed/shared MoE | DSA + routed/shared MoE |
|
| 34 |
+
| Text layer 2 | SWA + routed/shared MoE | SWA + routed/shared MoE |
|
| 35 |
+
| DSA / SWA heads | 128 / 64 | 2 / 1 |
|
| 36 |
+
| DSA / SWA KV LoRA rank | 512 / 1024 | 2 / 4 |
|
| 37 |
+
| DSA index heads / dimension / top-k | 64 / 128 / 2048 | 2 / 8 / 4 |
|
| 38 |
+
| Sliding window | 513 | 4 |
|
| 39 |
+
| Text routed experts / selected / shared | 256 / 8 / 1 | 3 / 2 / 1 |
|
| 40 |
+
| Vision depth / width | 42 / 1536 | 3 / 8 |
|
| 41 |
+
| Vision MLPs | Dense and pyramid MoE | Dense, 3-expert MoE, 4-expert MoE |
|
| 42 |
+
| Vision selected experts | 2 | 2 |
|
| 43 |
+
| Vision patch / spatial merge | 14 / 2 | 2 / 2 |
|
| 44 |
+
| Audio depth / width | 32 / 1280 | 1 / 8 |
|
| 45 |
+
| Audio convolution stem channels | 480 | 2 |
|
| 46 |
+
| Audio mel bins | 128 | 8 |
|
| 47 |
+
| Vocabulary | 152064 | 341 |
|
| 48 |
+
| Saved precision | BF16 | BF16 |
|
| 49 |
+
|
| 50 |
+
Three text layers cover every attention/MLP combination present in the public
|
| 51 |
+
model. Three vision layers retain both dense computation and two different
|
| 52 |
+
expert counts. Top-2 routing selects a proper subset of the 3 or 4 experts.
|
| 53 |
+
Width 8 keeps two vision attention heads with nonzero rotary coordinates on
|
| 54 |
+
both spatial axes. The audio stem, encoder, adapter, text decoder, and LM head
|
| 55 |
+
are all present. Input embeddings and the LM head remain untied.
|
| 56 |
+
|
| 57 |
+
Headwise attention gates, MLA rescaling, shared experts, sigmoid routing,
|
| 58 |
+
DSA/SWA RoPE bases (80000000 / 50000), audio partial RoPE, spatial merge 2,
|
| 59 |
+
and temporal patch size 1 use the same implementation paths as the public model.
|
| 60 |
+
Long-context and production-size quantization kernels are outside this fixture's coverage.
|
| 61 |
+
|
| 62 |
+
## Changes beyond depth and width
|
| 63 |
+
|
| 64 |
+
- The config uses native nested text/vision/audio configs and per-layer overrides.
|
| 65 |
+
It uses Dots3NoteForConditionalGeneration for the multimodal architecture.
|
| 66 |
+
Legacy flattened dimensions and old processor-class references are omitted.
|
| 67 |
+
- The compact tokenizer contains all **85 public added-token strings** and the
|
| 68 |
+
full **256-byte alphabet**. Added-token flags, NFC normalization, pre-tokenizer,
|
| 69 |
+
post-processor, and byte decoder are preserved. BPE merges are removed and
|
| 70 |
+
token IDs are remapped, so ordinary-text segmentation differs from production.
|
| 71 |
+
- The public **chat_template.jinja is copied verbatim**. Image/video/audio,
|
| 72 |
+
role markers, thinking markers, and tool delimiters are represented.
|
| 73 |
+
- BOS, padding, media IDs, and both generation EOS IDs are remapped consistently.
|
| 74 |
+
Padding is on the left. Greedy generation is the fixture default.
|
| 75 |
+
- DSA top-k and the sliding window are shortened to 4 so small tests exercise
|
| 76 |
+
sparse selection and sliding-cache eviction.
|
| 77 |
+
- Image/video pixel limits are reduced to 16–64 pixels; both components use
|
| 78 |
+
the public CLIP normalization values. Video limits are 8 frames and 32 tokens.
|
| 79 |
+
- Audio retains **16 kHz**, **hop 160**, and **FFT 400**. Chunk duration is 1 second,
|
| 80 |
+
allowing short waveforms to exercise multiple chunks. The model and extractor
|
| 81 |
+
agree on sampling rate, hop length, mel bins, and tokens per sample.
|
| 82 |
+
- Standard processor_config.json explicitly selects Qwen2VLImageProcessor,
|
| 83 |
+
Qwen3VLVideoProcessor, and Dots3NoteFeatureExtractor.
|
| 84 |
+
|
| 85 |
+
## Loading
|
| 86 |
+
|
| 87 |
+
Replace MODEL_ID with this uploaded repository ID or a local folder path.
|
| 88 |
+
|
| 89 |
+
~~~python
|
| 90 |
+
import torch
|
| 91 |
+
from transformers import AutoModelForMultimodalLM, AutoProcessor
|
| 92 |
+
|
| 93 |
+
MODEL_ID = "YOUR_ORG/tiny-random-dots3-note"
|
| 94 |
+
processor = AutoProcessor.from_pretrained(MODEL_ID)
|
| 95 |
+
model = AutoModelForMultimodalLM.from_pretrained(
|
| 96 |
+
MODEL_ID,
|
| 97 |
+
dtype=torch.bfloat16,
|
| 98 |
+
attn_implementation="eager",
|
| 99 |
+
experts_implementation="eager",
|
| 100 |
+
).to("cpu").eval()
|
| 101 |
+
~~~
|
| 102 |
+
|
| 103 |
+
## Reproduce the four core fixed generation cases
|
| 104 |
+
|
| 105 |
+
CPU BF16 with eager attention is the reference configuration. This was validated
|
| 106 |
+
with Torch 2.10.0+cu128. The image/video arrays and waveform below are deterministic.
|
| 107 |
+
|
| 108 |
+
~~~python
|
| 109 |
+
import numpy as np
|
| 110 |
+
|
| 111 |
+
image = np.arange(8 * 8 * 3, dtype=np.uint8).reshape(8, 8, 3)
|
| 112 |
+
video = np.stack([
|
| 113 |
+
image, np.flip(image, axis=0).copy(),
|
| 114 |
+
image, np.flip(image, axis=1).copy(),
|
| 115 |
+
])
|
| 116 |
+
wave = (0.1 * np.sin(2 * np.pi * 440 * np.arange(2400) / 16000)).astype(np.float32)
|
| 117 |
+
media = {
|
| 118 |
+
"text": {},
|
| 119 |
+
"image": {"images": [image]},
|
| 120 |
+
"audio": {"audio": [wave], "sampling_rate": 16000},
|
| 121 |
+
"video": {
|
| 122 |
+
"videos": [video], "do_sample_frames": False,
|
| 123 |
+
"input_data_format": "channels_last", "cap_pixels_per_frame": False,
|
| 124 |
+
},
|
| 125 |
+
}
|
| 126 |
+
expected = {
|
| 127 |
+
"text": [247, 103, 217, 187, 59, 295, 13, 246],
|
| 128 |
+
"image": [247, 103, 217, 187, 59, 295, 13, 246],
|
| 129 |
+
"audio": [247, 103, 217, 187, 59, 92, 306, 158],
|
| 130 |
+
"video": [247, 103, 217, 187, 59, 295, 13, 246],
|
| 131 |
+
}
|
| 132 |
+
with torch.inference_mode():
|
| 133 |
+
for modality, kwargs in media.items():
|
| 134 |
+
content = [] if modality == "text" else [{"type": modality}]
|
| 135 |
+
content.append({"type": "text", "text": "Describe."})
|
| 136 |
+
prompt = processor.apply_chat_template(
|
| 137 |
+
[{"role": "user", "content": content}],
|
| 138 |
+
tokenize=False, add_generation_prompt=True, enable_thinking=False,
|
| 139 |
+
)
|
| 140 |
+
inputs = processor(text=prompt, return_tensors="pt", **kwargs).to(
|
| 141 |
+
"cpu", dtype=model.dtype
|
| 142 |
+
)
|
| 143 |
+
output = model.generate(**inputs, do_sample=False, max_new_tokens=8)
|
| 144 |
+
tokens = output[0, inputs.input_ids.shape[-1]:].tolist()
|
| 145 |
+
assert tokens == expected[modality], (modality, tokens)
|
| 146 |
+
~~~
|
| 147 |
+
|
| 148 |
+
## Validation scope
|
| 149 |
+
|
| 150 |
+
- CPU and SM90 CUDA, both eager and SDPA attention, all with BF16 weights and inference.
|
| 151 |
+
- Text, image, audio, video, multiple audio chunks, and mixed image/video/audio inputs.
|
| 152 |
+
- Finite logits, repeated greedy generation, batched generation, and beam search
|
| 153 |
+
with multiple audio chunks.
|
| 154 |
+
- Hooks verify both DSA indexers, SWA cache, dense MLPs, shared experts, and all
|
| 155 |
+
four MoE routers execute. Every routed expert is selected at least once across
|
| 156 |
+
the validation inputs.
|
| 157 |
+
- Perturbing each media tensor changes logits, confirming media enters the model.
|
| 158 |
+
- Standard Auto loaders and save/load round-trip, with no missing, unexpected,
|
| 159 |
+
or mismatched weights.
|
| 160 |
+
|
| 161 |
+
generation_expectations.json records the six cases for each device/backend.
|
| 162 |
+
CPU and CUDA BF16 differ for the short-audio generation; eager and SDPA match
|
| 163 |
+
on each tested device. The CPU reference above is the intended fixed-output
|
| 164 |
+
integration test. A proposed integration class uses MemoryCleanupMixin.
|
| 165 |
+
|
| 166 |
+
This fixture is ready for upload. Actual Hub download/revision validation must
|
| 167 |
+
be performed after publication. Pin the same Hub commit for processor and model
|
| 168 |
+
when adding it to CI.
|
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,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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_size": 2,
|
| 11 |
+
"downsample_hidden_size": 2,
|
| 12 |
+
"dropout": 0.0,
|
| 13 |
+
"dtype": "bfloat16",
|
| 14 |
+
"feature_size": 8,
|
| 15 |
+
"head_dim": 8,
|
| 16 |
+
"hidden_act": "silu",
|
| 17 |
+
"hidden_size": 8,
|
| 18 |
+
"hop_length": 160,
|
| 19 |
+
"intermediate_size": 16,
|
| 20 |
+
"max_position_embeddings": 128,
|
| 21 |
+
"model_type": "dots3_note_audio_encoder",
|
| 22 |
+
"num_attention_heads": 1,
|
| 23 |
+
"num_hidden_layers": 1,
|
| 24 |
+
"num_key_value_heads": 1,
|
| 25 |
+
"rope_parameters": {
|
| 26 |
+
"partial_rotary_factor": 0.5,
|
| 27 |
+
"rope_theta": 10000.0,
|
| 28 |
+
"rope_type": "default"
|
| 29 |
+
},
|
| 30 |
+
"samples_per_token": 1280,
|
| 31 |
+
"sampling_rate": 16000
|
| 32 |
+
},
|
| 33 |
+
"audio_token_id": 77,
|
| 34 |
+
"dtype": "bfloat16",
|
| 35 |
+
"image_token_id": 17,
|
| 36 |
+
"model_type": "dots3_note",
|
| 37 |
+
"text_config": {
|
| 38 |
+
"attention_bias": false,
|
| 39 |
+
"attention_dropout": 0.0,
|
| 40 |
+
"bos_token_id": 0,
|
| 41 |
+
"dtype": "bfloat16",
|
| 42 |
+
"eos_token_id": 25,
|
| 43 |
+
"head_dim": 4,
|
| 44 |
+
"hidden_act": "silu",
|
| 45 |
+
"hidden_size": 8,
|
| 46 |
+
"index_head_dim": 8,
|
| 47 |
+
"index_n_heads": 2,
|
| 48 |
+
"index_topk": 4,
|
| 49 |
+
"initializer_range": 0.02,
|
| 50 |
+
"intermediate_size": 16,
|
| 51 |
+
"kv_lora_rank": 2,
|
| 52 |
+
"layer_types": [
|
| 53 |
+
"indexed_attention",
|
| 54 |
+
"indexed_attention",
|
| 55 |
+
"sliding_attention"
|
| 56 |
+
],
|
| 57 |
+
"max_position_embeddings": 512,
|
| 58 |
+
"mlp_bias": false,
|
| 59 |
+
"mlp_layer_types": [
|
| 60 |
+
"dense",
|
| 61 |
+
"sparse",
|
| 62 |
+
"sparse"
|
| 63 |
+
],
|
| 64 |
+
"model_type": "dots3_note_text",
|
| 65 |
+
"moe_intermediate_size": 4,
|
| 66 |
+
"n_group": 1,
|
| 67 |
+
"n_routed_experts": 3,
|
| 68 |
+
"n_shared_experts": 1,
|
| 69 |
+
"norm_topk_prob": true,
|
| 70 |
+
"num_attention_heads": 2,
|
| 71 |
+
"num_experts_per_tok": 2,
|
| 72 |
+
"num_hidden_layers": 3,
|
| 73 |
+
"num_key_value_heads": 2,
|
| 74 |
+
"output_router_logits": false,
|
| 75 |
+
"pad_token_id": 16,
|
| 76 |
+
"per_layer_config": {
|
| 77 |
+
"2": {
|
| 78 |
+
"head_dim": 8,
|
| 79 |
+
"kv_lora_rank": 4,
|
| 80 |
+
"num_attention_heads": 1,
|
| 81 |
+
"num_key_value_heads": 1,
|
| 82 |
+
"qk_nope_head_dim": 6
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
"q_lora_rank": 4,
|
| 86 |
+
"qk_nope_head_dim": 2,
|
| 87 |
+
"qk_rope_head_dim": 2,
|
| 88 |
+
"rms_norm_eps": 1e-05,
|
| 89 |
+
"rope_parameters": {
|
| 90 |
+
"indexed_attention": {
|
| 91 |
+
"partial_rotary_factor": 0.5,
|
| 92 |
+
"rope_theta": 80000000.0,
|
| 93 |
+
"rope_type": "default"
|
| 94 |
+
},
|
| 95 |
+
"sliding_attention": {
|
| 96 |
+
"partial_rotary_factor": 0.25,
|
| 97 |
+
"rope_theta": 50000.0,
|
| 98 |
+
"rope_type": "default"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"routed_scaling_factor": 1.0,
|
| 102 |
+
"shared_experts_intermediate_size": 4,
|
| 103 |
+
"sliding_window": 4,
|
| 104 |
+
"tie_word_embeddings": false,
|
| 105 |
+
"topk_group": 1,
|
| 106 |
+
"use_cache": true,
|
| 107 |
+
"v_head_dim": 4,
|
| 108 |
+
"vocab_size": 341
|
| 109 |
+
},
|
| 110 |
+
"tie_word_embeddings": false,
|
| 111 |
+
"transformers_version": "5.19.0.dev0",
|
| 112 |
+
"video_token_id": 37,
|
| 113 |
+
"vision_config": {
|
| 114 |
+
"adapter_in_dim": 8,
|
| 115 |
+
"adapter_merge_size": 2,
|
| 116 |
+
"adapter_out_dim": 8,
|
| 117 |
+
"attention_bias": false,
|
| 118 |
+
"attention_dropout": 0.0,
|
| 119 |
+
"dtype": "bfloat16",
|
| 120 |
+
"embed_dim": 8,
|
| 121 |
+
"hidden_act": "silu",
|
| 122 |
+
"hidden_size": 8,
|
| 123 |
+
"initializer_range": 0.02,
|
| 124 |
+
"intermediate_size": 16,
|
| 125 |
+
"mlp_bias": false,
|
| 126 |
+
"mlp_layer_types": [
|
| 127 |
+
"dense",
|
| 128 |
+
"sparse",
|
| 129 |
+
"sparse"
|
| 130 |
+
],
|
| 131 |
+
"model_type": "dots3_note_vision_encoder",
|
| 132 |
+
"moe_intermediate_size": 4,
|
| 133 |
+
"num_attention_heads": 2,
|
| 134 |
+
"num_channels": 3,
|
| 135 |
+
"num_experts_per_tok": 2,
|
| 136 |
+
"num_hidden_layers": 3,
|
| 137 |
+
"num_local_experts": 3,
|
| 138 |
+
"patch_size": 2,
|
| 139 |
+
"per_layer_config": {
|
| 140 |
+
"2": {
|
| 141 |
+
"num_local_experts": 4
|
| 142 |
+
}
|
| 143 |
+
},
|
| 144 |
+
"rms_norm_eps": 1e-05,
|
| 145 |
+
"rope_parameters": {
|
| 146 |
+
"rope_theta": 10000.0,
|
| 147 |
+
"rope_type": "axial"
|
| 148 |
+
},
|
| 149 |
+
"router_scaling_factor": 1.0,
|
| 150 |
+
"spatial_merge_size": 2
|
| 151 |
+
}
|
| 152 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"dtype": "bfloat16",
|
| 4 |
+
"seed": 42,
|
| 5 |
+
"model_max_new_tokens": 8,
|
| 6 |
+
"reference_cpu": {
|
| 7 |
+
"device": "cpu",
|
| 8 |
+
"attention": "eager",
|
| 9 |
+
"torch": "2.10.0+cu128"
|
| 10 |
+
},
|
| 11 |
+
"input_recipe": "The companion local validate_checkpoint.py and integration draft define exact inputs; README includes the four core cases.",
|
| 12 |
+
"results": {
|
| 13 |
+
"cpu-eager": {
|
| 14 |
+
"text": [
|
| 15 |
+
247,
|
| 16 |
+
103,
|
| 17 |
+
217,
|
| 18 |
+
187,
|
| 19 |
+
59,
|
| 20 |
+
295,
|
| 21 |
+
13,
|
| 22 |
+
246
|
| 23 |
+
],
|
| 24 |
+
"image": [
|
| 25 |
+
247,
|
| 26 |
+
103,
|
| 27 |
+
217,
|
| 28 |
+
187,
|
| 29 |
+
59,
|
| 30 |
+
295,
|
| 31 |
+
13,
|
| 32 |
+
246
|
| 33 |
+
],
|
| 34 |
+
"audio": [
|
| 35 |
+
247,
|
| 36 |
+
103,
|
| 37 |
+
217,
|
| 38 |
+
187,
|
| 39 |
+
59,
|
| 40 |
+
92,
|
| 41 |
+
306,
|
| 42 |
+
158
|
| 43 |
+
],
|
| 44 |
+
"video": [
|
| 45 |
+
247,
|
| 46 |
+
103,
|
| 47 |
+
217,
|
| 48 |
+
187,
|
| 49 |
+
59,
|
| 50 |
+
295,
|
| 51 |
+
13,
|
| 52 |
+
246
|
| 53 |
+
],
|
| 54 |
+
"audio_chunks": [
|
| 55 |
+
247,
|
| 56 |
+
103,
|
| 57 |
+
217,
|
| 58 |
+
187,
|
| 59 |
+
59,
|
| 60 |
+
295,
|
| 61 |
+
13,
|
| 62 |
+
246
|
| 63 |
+
],
|
| 64 |
+
"mixed": [
|
| 65 |
+
247,
|
| 66 |
+
103,
|
| 67 |
+
217,
|
| 68 |
+
187,
|
| 69 |
+
59,
|
| 70 |
+
295,
|
| 71 |
+
13,
|
| 72 |
+
246
|
| 73 |
+
]
|
| 74 |
+
},
|
| 75 |
+
"cpu-sdpa": {
|
| 76 |
+
"text": [
|
| 77 |
+
247,
|
| 78 |
+
103,
|
| 79 |
+
217,
|
| 80 |
+
187,
|
| 81 |
+
59,
|
| 82 |
+
295,
|
| 83 |
+
13,
|
| 84 |
+
246
|
| 85 |
+
],
|
| 86 |
+
"image": [
|
| 87 |
+
247,
|
| 88 |
+
103,
|
| 89 |
+
217,
|
| 90 |
+
187,
|
| 91 |
+
59,
|
| 92 |
+
295,
|
| 93 |
+
13,
|
| 94 |
+
246
|
| 95 |
+
],
|
| 96 |
+
"audio": [
|
| 97 |
+
247,
|
| 98 |
+
103,
|
| 99 |
+
217,
|
| 100 |
+
187,
|
| 101 |
+
59,
|
| 102 |
+
92,
|
| 103 |
+
306,
|
| 104 |
+
158
|
| 105 |
+
],
|
| 106 |
+
"video": [
|
| 107 |
+
247,
|
| 108 |
+
103,
|
| 109 |
+
217,
|
| 110 |
+
187,
|
| 111 |
+
59,
|
| 112 |
+
295,
|
| 113 |
+
13,
|
| 114 |
+
246
|
| 115 |
+
],
|
| 116 |
+
"audio_chunks": [
|
| 117 |
+
247,
|
| 118 |
+
103,
|
| 119 |
+
217,
|
| 120 |
+
187,
|
| 121 |
+
59,
|
| 122 |
+
295,
|
| 123 |
+
13,
|
| 124 |
+
246
|
| 125 |
+
],
|
| 126 |
+
"mixed": [
|
| 127 |
+
247,
|
| 128 |
+
103,
|
| 129 |
+
217,
|
| 130 |
+
187,
|
| 131 |
+
59,
|
| 132 |
+
295,
|
| 133 |
+
13,
|
| 134 |
+
246
|
| 135 |
+
]
|
| 136 |
+
},
|
| 137 |
+
"cuda-eager": {
|
| 138 |
+
"text": [
|
| 139 |
+
247,
|
| 140 |
+
103,
|
| 141 |
+
217,
|
| 142 |
+
187,
|
| 143 |
+
59,
|
| 144 |
+
295,
|
| 145 |
+
13,
|
| 146 |
+
246
|
| 147 |
+
],
|
| 148 |
+
"image": [
|
| 149 |
+
247,
|
| 150 |
+
103,
|
| 151 |
+
217,
|
| 152 |
+
187,
|
| 153 |
+
59,
|
| 154 |
+
295,
|
| 155 |
+
13,
|
| 156 |
+
246
|
| 157 |
+
],
|
| 158 |
+
"audio": [
|
| 159 |
+
247,
|
| 160 |
+
103,
|
| 161 |
+
217,
|
| 162 |
+
187,
|
| 163 |
+
59,
|
| 164 |
+
295,
|
| 165 |
+
13,
|
| 166 |
+
246
|
| 167 |
+
],
|
| 168 |
+
"video": [
|
| 169 |
+
247,
|
| 170 |
+
103,
|
| 171 |
+
217,
|
| 172 |
+
187,
|
| 173 |
+
59,
|
| 174 |
+
295,
|
| 175 |
+
13,
|
| 176 |
+
246
|
| 177 |
+
],
|
| 178 |
+
"audio_chunks": [
|
| 179 |
+
247,
|
| 180 |
+
103,
|
| 181 |
+
217,
|
| 182 |
+
187,
|
| 183 |
+
59,
|
| 184 |
+
295,
|
| 185 |
+
13,
|
| 186 |
+
246
|
| 187 |
+
],
|
| 188 |
+
"mixed": [
|
| 189 |
+
247,
|
| 190 |
+
103,
|
| 191 |
+
217,
|
| 192 |
+
187,
|
| 193 |
+
59,
|
| 194 |
+
295,
|
| 195 |
+
13,
|
| 196 |
+
246
|
| 197 |
+
]
|
| 198 |
+
},
|
| 199 |
+
"cuda-sdpa": {
|
| 200 |
+
"text": [
|
| 201 |
+
247,
|
| 202 |
+
103,
|
| 203 |
+
217,
|
| 204 |
+
187,
|
| 205 |
+
59,
|
| 206 |
+
295,
|
| 207 |
+
13,
|
| 208 |
+
246
|
| 209 |
+
],
|
| 210 |
+
"image": [
|
| 211 |
+
247,
|
| 212 |
+
103,
|
| 213 |
+
217,
|
| 214 |
+
187,
|
| 215 |
+
59,
|
| 216 |
+
295,
|
| 217 |
+
13,
|
| 218 |
+
246
|
| 219 |
+
],
|
| 220 |
+
"audio": [
|
| 221 |
+
247,
|
| 222 |
+
103,
|
| 223 |
+
217,
|
| 224 |
+
187,
|
| 225 |
+
59,
|
| 226 |
+
295,
|
| 227 |
+
13,
|
| 228 |
+
246
|
| 229 |
+
],
|
| 230 |
+
"video": [
|
| 231 |
+
247,
|
| 232 |
+
103,
|
| 233 |
+
217,
|
| 234 |
+
187,
|
| 235 |
+
59,
|
| 236 |
+
295,
|
| 237 |
+
13,
|
| 238 |
+
246
|
| 239 |
+
],
|
| 240 |
+
"audio_chunks": [
|
| 241 |
+
247,
|
| 242 |
+
103,
|
| 243 |
+
217,
|
| 244 |
+
187,
|
| 245 |
+
59,
|
| 246 |
+
295,
|
| 247 |
+
13,
|
| 248 |
+
246
|
| 249 |
+
],
|
| 250 |
+
"mixed": [
|
| 251 |
+
247,
|
| 252 |
+
103,
|
| 253 |
+
217,
|
| 254 |
+
187,
|
| 255 |
+
59,
|
| 256 |
+
295,
|
| 257 |
+
13,
|
| 258 |
+
246
|
| 259 |
+
]
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"gpu_note": "CUDA results were validated on SM90. BF16 audio differs from the CPU reference; eager and SDPA agree on each device."
|
| 263 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a71dcb06177f606e1d201fccc4c8077183f4397d80a86d8d3cfa15403295e633
|
| 3 |
+
size 41846
|
processor_config.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"feature_extractor": {
|
| 3 |
+
"chunk_length": 1,
|
| 4 |
+
"dither": 0.0,
|
| 5 |
+
"feature_extractor_type": "Dots3NoteFeatureExtractor",
|
| 6 |
+
"feature_size": 8,
|
| 7 |
+
"hop_length": 160,
|
| 8 |
+
"n_fft": 400,
|
| 9 |
+
"n_samples": 16000,
|
| 10 |
+
"nb_max_frames": 100,
|
| 11 |
+
"padding_side": "right",
|
| 12 |
+
"padding_value": 0.0,
|
| 13 |
+
"return_attention_mask": false,
|
| 14 |
+
"sampling_rate": 16000
|
| 15 |
+
},
|
| 16 |
+
"image_processor": {
|
| 17 |
+
"do_convert_rgb": true,
|
| 18 |
+
"do_normalize": true,
|
| 19 |
+
"do_rescale": true,
|
| 20 |
+
"do_resize": true,
|
| 21 |
+
"image_mean": [
|
| 22 |
+
0.48145466,
|
| 23 |
+
0.4578275,
|
| 24 |
+
0.40821073
|
| 25 |
+
],
|
| 26 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 27 |
+
"image_std": [
|
| 28 |
+
0.26862954,
|
| 29 |
+
0.26130258,
|
| 30 |
+
0.27577711
|
| 31 |
+
],
|
| 32 |
+
"merge_size": 2,
|
| 33 |
+
"patch_size": 2,
|
| 34 |
+
"resample": 3,
|
| 35 |
+
"rescale_factor": 0.00392156862745098,
|
| 36 |
+
"size": {
|
| 37 |
+
"longest_edge": 64,
|
| 38 |
+
"shortest_edge": 16
|
| 39 |
+
},
|
| 40 |
+
"temporal_patch_size": 1
|
| 41 |
+
},
|
| 42 |
+
"processor_class": "Dots3NoteProcessor",
|
| 43 |
+
"video_processor": {
|
| 44 |
+
"do_convert_rgb": true,
|
| 45 |
+
"do_normalize": true,
|
| 46 |
+
"do_rescale": true,
|
| 47 |
+
"do_resize": true,
|
| 48 |
+
"do_sample_frames": true,
|
| 49 |
+
"fps": 1,
|
| 50 |
+
"image_mean": [
|
| 51 |
+
0.48145466,
|
| 52 |
+
0.4578275,
|
| 53 |
+
0.40821073
|
| 54 |
+
],
|
| 55 |
+
"image_std": [
|
| 56 |
+
0.26862954,
|
| 57 |
+
0.26130258,
|
| 58 |
+
0.27577711
|
| 59 |
+
],
|
| 60 |
+
"max_frames": 8,
|
| 61 |
+
"max_video_tokens": 32,
|
| 62 |
+
"merge_size": 2,
|
| 63 |
+
"min_frames": 4,
|
| 64 |
+
"patch_size": 2,
|
| 65 |
+
"resample": 3,
|
| 66 |
+
"rescale_factor": 0.00392156862745098,
|
| 67 |
+
"return_metadata": false,
|
| 68 |
+
"size": {
|
| 69 |
+
"longest_edge": 64,
|
| 70 |
+
"shortest_edge": 16
|
| 71 |
+
},
|
| 72 |
+
"temporal_patch_size": 1,
|
| 73 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 74 |
+
}
|
| 75 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,1160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
| 5 |
+
"added_tokens": [
|
| 6 |
+
{
|
| 7 |
+
"id": 0,
|
| 8 |
+
"content": "<|endoftext|>",
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"special": true
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"id": 1,
|
| 17 |
+
"content": "<|im_start|>",
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"normalized": false,
|
| 22 |
+
"special": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": 2,
|
| 26 |
+
"content": "<|im_end|>",
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"special": true
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": 3,
|
| 35 |
+
"content": "<|userprompt|>",
|
| 36 |
+
"single_word": false,
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"rstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"special": true
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"id": 4,
|
| 44 |
+
"content": "<|endofuserprompt|>",
|
| 45 |
+
"single_word": false,
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"special": true
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"id": 5,
|
| 53 |
+
"content": "<|response|>",
|
| 54 |
+
"single_word": false,
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"normalized": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"id": 6,
|
| 62 |
+
"content": "<|endofresponse|>",
|
| 63 |
+
"single_word": false,
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"normalized": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"id": 7,
|
| 71 |
+
"content": "<|system|>",
|
| 72 |
+
"single_word": false,
|
| 73 |
+
"lstrip": false,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"normalized": false,
|
| 76 |
+
"special": true
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"id": 8,
|
| 80 |
+
"content": "<|endofsystem|>",
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"lstrip": false,
|
| 83 |
+
"rstrip": false,
|
| 84 |
+
"normalized": false,
|
| 85 |
+
"special": true
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"id": 9,
|
| 89 |
+
"content": "<|observation|>",
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"lstrip": false,
|
| 92 |
+
"rstrip": false,
|
| 93 |
+
"normalized": false,
|
| 94 |
+
"special": true
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"id": 10,
|
| 98 |
+
"content": "<|endofobservation|>",
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"lstrip": false,
|
| 101 |
+
"rstrip": false,
|
| 102 |
+
"normalized": false,
|
| 103 |
+
"special": true
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"id": 11,
|
| 107 |
+
"content": "<|execution|>",
|
| 108 |
+
"single_word": false,
|
| 109 |
+
"lstrip": false,
|
| 110 |
+
"rstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"special": true
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"id": 12,
|
| 116 |
+
"content": "<|endofexecution|>",
|
| 117 |
+
"single_word": false,
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"rstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"special": true
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"id": 13,
|
| 125 |
+
"content": "<|reject-unknown|>",
|
| 126 |
+
"single_word": false,
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"normalized": false,
|
| 130 |
+
"special": true
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"id": 14,
|
| 134 |
+
"content": "<|sec-cot|>",
|
| 135 |
+
"single_word": false,
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"normalized": false,
|
| 139 |
+
"special": true
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"id": 15,
|
| 143 |
+
"content": "<|sec-end-cot|>",
|
| 144 |
+
"single_word": false,
|
| 145 |
+
"lstrip": false,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"normalized": false,
|
| 148 |
+
"special": true
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"id": 16,
|
| 152 |
+
"content": "<|im_end>",
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"lstrip": false,
|
| 155 |
+
"rstrip": false,
|
| 156 |
+
"normalized": false,
|
| 157 |
+
"special": true
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"id": 17,
|
| 161 |
+
"content": "<|imgpad|>",
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"lstrip": false,
|
| 164 |
+
"rstrip": false,
|
| 165 |
+
"normalized": false,
|
| 166 |
+
"special": true
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"id": 18,
|
| 170 |
+
"content": "<|img|>",
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"lstrip": false,
|
| 173 |
+
"rstrip": false,
|
| 174 |
+
"normalized": false,
|
| 175 |
+
"special": true
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"id": 19,
|
| 179 |
+
"content": "<|endofimg|>",
|
| 180 |
+
"single_word": false,
|
| 181 |
+
"lstrip": false,
|
| 182 |
+
"rstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"special": true
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"id": 20,
|
| 188 |
+
"content": "<|systemprompt|>",
|
| 189 |
+
"single_word": false,
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"rstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"special": true
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"id": 21,
|
| 197 |
+
"content": "<|endofsystemprompt|>",
|
| 198 |
+
"single_word": false,
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"normalized": false,
|
| 202 |
+
"special": true
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"id": 22,
|
| 206 |
+
"content": "<|user|>",
|
| 207 |
+
"single_word": false,
|
| 208 |
+
"lstrip": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"normalized": false,
|
| 211 |
+
"special": true
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"id": 23,
|
| 215 |
+
"content": "<|endofuser|>",
|
| 216 |
+
"single_word": false,
|
| 217 |
+
"lstrip": false,
|
| 218 |
+
"rstrip": false,
|
| 219 |
+
"normalized": false,
|
| 220 |
+
"special": true
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"id": 24,
|
| 224 |
+
"content": "<|assistant|>",
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"lstrip": false,
|
| 227 |
+
"rstrip": false,
|
| 228 |
+
"normalized": false,
|
| 229 |
+
"special": true
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"id": 25,
|
| 233 |
+
"content": "<|endofassistant|>",
|
| 234 |
+
"single_word": false,
|
| 235 |
+
"lstrip": false,
|
| 236 |
+
"rstrip": false,
|
| 237 |
+
"normalized": false,
|
| 238 |
+
"special": true
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"id": 26,
|
| 242 |
+
"content": "<|box_start|>",
|
| 243 |
+
"single_word": false,
|
| 244 |
+
"lstrip": false,
|
| 245 |
+
"rstrip": false,
|
| 246 |
+
"normalized": false,
|
| 247 |
+
"special": true
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"id": 27,
|
| 251 |
+
"content": "<|box_end|>",
|
| 252 |
+
"single_word": false,
|
| 253 |
+
"lstrip": false,
|
| 254 |
+
"rstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"special": true
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"id": 28,
|
| 260 |
+
"content": "<|ref_start|>",
|
| 261 |
+
"single_word": false,
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"rstrip": false,
|
| 264 |
+
"normalized": false,
|
| 265 |
+
"special": true
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"id": 29,
|
| 269 |
+
"content": "<|ref_end|>",
|
| 270 |
+
"single_word": false,
|
| 271 |
+
"lstrip": false,
|
| 272 |
+
"rstrip": false,
|
| 273 |
+
"normalized": false,
|
| 274 |
+
"special": true
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"id": 30,
|
| 278 |
+
"content": "[SEP]",
|
| 279 |
+
"single_word": false,
|
| 280 |
+
"lstrip": false,
|
| 281 |
+
"rstrip": false,
|
| 282 |
+
"normalized": false,
|
| 283 |
+
"special": true
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"id": 31,
|
| 287 |
+
"content": "<|pic|>",
|
| 288 |
+
"single_word": false,
|
| 289 |
+
"lstrip": false,
|
| 290 |
+
"rstrip": false,
|
| 291 |
+
"normalized": false,
|
| 292 |
+
"special": true
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"id": 32,
|
| 296 |
+
"content": "<|text|>",
|
| 297 |
+
"single_word": false,
|
| 298 |
+
"lstrip": false,
|
| 299 |
+
"rstrip": false,
|
| 300 |
+
"normalized": false,
|
| 301 |
+
"special": true
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"id": 33,
|
| 305 |
+
"content": "<|pictotext|>",
|
| 306 |
+
"single_word": false,
|
| 307 |
+
"lstrip": false,
|
| 308 |
+
"rstrip": false,
|
| 309 |
+
"normalized": false,
|
| 310 |
+
"special": true
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"id": 34,
|
| 314 |
+
"content": "<|slice|>",
|
| 315 |
+
"single_word": false,
|
| 316 |
+
"lstrip": false,
|
| 317 |
+
"rstrip": false,
|
| 318 |
+
"normalized": false,
|
| 319 |
+
"special": true
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"id": 35,
|
| 323 |
+
"content": "<|endofslice|>",
|
| 324 |
+
"single_word": false,
|
| 325 |
+
"lstrip": false,
|
| 326 |
+
"rstrip": false,
|
| 327 |
+
"normalized": false,
|
| 328 |
+
"special": true
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"id": 36,
|
| 332 |
+
"content": "<|imgrowend|>",
|
| 333 |
+
"single_word": false,
|
| 334 |
+
"lstrip": false,
|
| 335 |
+
"rstrip": false,
|
| 336 |
+
"normalized": false,
|
| 337 |
+
"special": true
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"id": 37,
|
| 341 |
+
"content": "<|video_pad|>",
|
| 342 |
+
"single_word": false,
|
| 343 |
+
"lstrip": false,
|
| 344 |
+
"rstrip": false,
|
| 345 |
+
"normalized": false,
|
| 346 |
+
"special": true
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"id": 38,
|
| 350 |
+
"content": "<|polygon_start|>",
|
| 351 |
+
"single_word": false,
|
| 352 |
+
"lstrip": false,
|
| 353 |
+
"rstrip": false,
|
| 354 |
+
"normalized": false,
|
| 355 |
+
"special": true
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"id": 39,
|
| 359 |
+
"content": "<|polygon_end|>",
|
| 360 |
+
"single_word": false,
|
| 361 |
+
"lstrip": false,
|
| 362 |
+
"rstrip": false,
|
| 363 |
+
"normalized": false,
|
| 364 |
+
"special": true
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"id": 40,
|
| 368 |
+
"content": "<|task:image en-captioning|>",
|
| 369 |
+
"single_word": false,
|
| 370 |
+
"lstrip": false,
|
| 371 |
+
"rstrip": false,
|
| 372 |
+
"normalized": false,
|
| 373 |
+
"special": true
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"id": 41,
|
| 377 |
+
"content": "<|task:image zh-captioning|>",
|
| 378 |
+
"single_word": false,
|
| 379 |
+
"lstrip": false,
|
| 380 |
+
"rstrip": false,
|
| 381 |
+
"normalized": false,
|
| 382 |
+
"special": true
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"id": 42,
|
| 386 |
+
"content": "<|task:object detection|>",
|
| 387 |
+
"single_word": false,
|
| 388 |
+
"lstrip": false,
|
| 389 |
+
"rstrip": false,
|
| 390 |
+
"normalized": false,
|
| 391 |
+
"special": true
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"id": 43,
|
| 395 |
+
"content": "<|task:ocr|>",
|
| 396 |
+
"single_word": false,
|
| 397 |
+
"lstrip": false,
|
| 398 |
+
"rstrip": false,
|
| 399 |
+
"normalized": false,
|
| 400 |
+
"special": true
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"id": 44,
|
| 404 |
+
"content": "<|task:image en-dense-captioning|>",
|
| 405 |
+
"single_word": false,
|
| 406 |
+
"lstrip": false,
|
| 407 |
+
"rstrip": false,
|
| 408 |
+
"normalized": false,
|
| 409 |
+
"special": true
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"id": 45,
|
| 413 |
+
"content": "<|task:image zh-dense-captioning|>",
|
| 414 |
+
"single_word": false,
|
| 415 |
+
"lstrip": false,
|
| 416 |
+
"rstrip": false,
|
| 417 |
+
"normalized": false,
|
| 418 |
+
"special": true
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"id": 46,
|
| 422 |
+
"content": "<|task:image en-concept|>",
|
| 423 |
+
"single_word": false,
|
| 424 |
+
"lstrip": false,
|
| 425 |
+
"rstrip": false,
|
| 426 |
+
"normalized": false,
|
| 427 |
+
"special": true
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"id": 47,
|
| 431 |
+
"content": "<|task:image zh-concept|>",
|
| 432 |
+
"single_word": false,
|
| 433 |
+
"lstrip": false,
|
| 434 |
+
"rstrip": false,
|
| 435 |
+
"normalized": false,
|
| 436 |
+
"special": true
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"id": 48,
|
| 440 |
+
"content": "<|task:image grounding|>",
|
| 441 |
+
"single_word": false,
|
| 442 |
+
"lstrip": false,
|
| 443 |
+
"rstrip": false,
|
| 444 |
+
"normalized": false,
|
| 445 |
+
"special": true
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"id": 49,
|
| 449 |
+
"content": "<|task:image orientation|>",
|
| 450 |
+
"single_word": false,
|
| 451 |
+
"lstrip": false,
|
| 452 |
+
"rstrip": false,
|
| 453 |
+
"normalized": false,
|
| 454 |
+
"special": true
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"id": 50,
|
| 458 |
+
"content": "<|task:ocr with format latex|>",
|
| 459 |
+
"single_word": false,
|
| 460 |
+
"lstrip": false,
|
| 461 |
+
"rstrip": false,
|
| 462 |
+
"normalized": false,
|
| 463 |
+
"special": true
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"id": 51,
|
| 467 |
+
"content": "<|task:ocr with format json|>",
|
| 468 |
+
"single_word": false,
|
| 469 |
+
"lstrip": false,
|
| 470 |
+
"rstrip": false,
|
| 471 |
+
"normalized": false,
|
| 472 |
+
"special": true
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"id": 52,
|
| 476 |
+
"content": "<|task:ocr of molecule with format molgrapher|>",
|
| 477 |
+
"single_word": false,
|
| 478 |
+
"lstrip": false,
|
| 479 |
+
"rstrip": false,
|
| 480 |
+
"normalized": false,
|
| 481 |
+
"special": true
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"id": 53,
|
| 485 |
+
"content": "<|task:ocr of staff with format ekern|>",
|
| 486 |
+
"single_word": false,
|
| 487 |
+
"lstrip": false,
|
| 488 |
+
"rstrip": false,
|
| 489 |
+
"normalized": false,
|
| 490 |
+
"special": true
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"id": 54,
|
| 494 |
+
"content": "<|task:ocr of chart with format matplotlib|>",
|
| 495 |
+
"single_word": false,
|
| 496 |
+
"lstrip": false,
|
| 497 |
+
"rstrip": false,
|
| 498 |
+
"normalized": false,
|
| 499 |
+
"special": true
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"id": 55,
|
| 503 |
+
"content": "<|task:ocr of chart with format mermaid|>",
|
| 504 |
+
"single_word": false,
|
| 505 |
+
"lstrip": false,
|
| 506 |
+
"rstrip": false,
|
| 507 |
+
"normalized": false,
|
| 508 |
+
"special": true
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"id": 56,
|
| 512 |
+
"content": "<|task:ocr-detection and recognition|>",
|
| 513 |
+
"single_word": false,
|
| 514 |
+
"lstrip": false,
|
| 515 |
+
"rstrip": false,
|
| 516 |
+
"normalized": false,
|
| 517 |
+
"special": true
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"id": 57,
|
| 521 |
+
"content": "<|task:doc layout with format json|>",
|
| 522 |
+
"single_word": false,
|
| 523 |
+
"lstrip": false,
|
| 524 |
+
"rstrip": false,
|
| 525 |
+
"normalized": false,
|
| 526 |
+
"special": true
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"id": 58,
|
| 530 |
+
"content": "<|task:image captioning|>",
|
| 531 |
+
"single_word": false,
|
| 532 |
+
"lstrip": false,
|
| 533 |
+
"rstrip": false,
|
| 534 |
+
"normalized": false,
|
| 535 |
+
"special": true
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"id": 59,
|
| 539 |
+
"content": "<|task:table captioning|>",
|
| 540 |
+
"single_word": false,
|
| 541 |
+
"lstrip": false,
|
| 542 |
+
"rstrip": false,
|
| 543 |
+
"normalized": false,
|
| 544 |
+
"special": true
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"id": 60,
|
| 548 |
+
"content": "<|task:ocr with format image captioning|>",
|
| 549 |
+
"single_word": false,
|
| 550 |
+
"lstrip": false,
|
| 551 |
+
"rstrip": false,
|
| 552 |
+
"normalized": false,
|
| 553 |
+
"special": true
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"id": 61,
|
| 557 |
+
"content": "<|task:ocr with nodes,lines and circle|>",
|
| 558 |
+
"single_word": false,
|
| 559 |
+
"lstrip": false,
|
| 560 |
+
"rstrip": false,
|
| 561 |
+
"normalized": false,
|
| 562 |
+
"special": true
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"id": 62,
|
| 566 |
+
"content": "<|task:ocr with format html|>",
|
| 567 |
+
"single_word": false,
|
| 568 |
+
"lstrip": false,
|
| 569 |
+
"rstrip": false,
|
| 570 |
+
"normalized": false,
|
| 571 |
+
"special": true
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"id": 63,
|
| 575 |
+
"content": "<|task:video captioning|>",
|
| 576 |
+
"single_word": false,
|
| 577 |
+
"lstrip": false,
|
| 578 |
+
"rstrip": false,
|
| 579 |
+
"normalized": false,
|
| 580 |
+
"special": true
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"id": 64,
|
| 584 |
+
"content": "<|url|>",
|
| 585 |
+
"single_word": false,
|
| 586 |
+
"lstrip": false,
|
| 587 |
+
"rstrip": false,
|
| 588 |
+
"normalized": false,
|
| 589 |
+
"special": true
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"id": 65,
|
| 593 |
+
"content": "<|endofurl|>",
|
| 594 |
+
"single_word": false,
|
| 595 |
+
"lstrip": false,
|
| 596 |
+
"rstrip": false,
|
| 597 |
+
"normalized": false,
|
| 598 |
+
"special": true
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"id": 66,
|
| 602 |
+
"content": "<|pdfmeta|>",
|
| 603 |
+
"single_word": false,
|
| 604 |
+
"lstrip": false,
|
| 605 |
+
"rstrip": false,
|
| 606 |
+
"normalized": false,
|
| 607 |
+
"special": true
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"id": 67,
|
| 611 |
+
"content": "<|endofpdfmeta|>",
|
| 612 |
+
"single_word": false,
|
| 613 |
+
"lstrip": false,
|
| 614 |
+
"rstrip": false,
|
| 615 |
+
"normalized": false,
|
| 616 |
+
"special": true
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"id": 68,
|
| 620 |
+
"content": "<|alttext|>",
|
| 621 |
+
"single_word": false,
|
| 622 |
+
"lstrip": false,
|
| 623 |
+
"rstrip": false,
|
| 624 |
+
"normalized": false,
|
| 625 |
+
"special": true
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"id": 69,
|
| 629 |
+
"content": "<|discarddensecaption|>",
|
| 630 |
+
"single_word": false,
|
| 631 |
+
"lstrip": false,
|
| 632 |
+
"rstrip": false,
|
| 633 |
+
"normalized": false,
|
| 634 |
+
"special": true
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"id": 70,
|
| 638 |
+
"content": "<|endofalttext|>",
|
| 639 |
+
"single_word": false,
|
| 640 |
+
"lstrip": false,
|
| 641 |
+
"rstrip": false,
|
| 642 |
+
"normalized": false,
|
| 643 |
+
"special": true
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"id": 71,
|
| 647 |
+
"content": "<|to_think|>",
|
| 648 |
+
"single_word": false,
|
| 649 |
+
"lstrip": false,
|
| 650 |
+
"rstrip": false,
|
| 651 |
+
"normalized": false,
|
| 652 |
+
"special": true
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"id": 72,
|
| 656 |
+
"content": "<|audio_gen_start|>",
|
| 657 |
+
"single_word": false,
|
| 658 |
+
"lstrip": false,
|
| 659 |
+
"rstrip": false,
|
| 660 |
+
"normalized": false,
|
| 661 |
+
"special": true
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"id": 73,
|
| 665 |
+
"content": "<|audio_gen_end|>",
|
| 666 |
+
"single_word": false,
|
| 667 |
+
"lstrip": false,
|
| 668 |
+
"rstrip": false,
|
| 669 |
+
"normalized": false,
|
| 670 |
+
"special": true
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"id": 74,
|
| 674 |
+
"content": "<|audio_gen_pad|>",
|
| 675 |
+
"single_word": false,
|
| 676 |
+
"lstrip": false,
|
| 677 |
+
"rstrip": false,
|
| 678 |
+
"normalized": false,
|
| 679 |
+
"special": true
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"id": 75,
|
| 683 |
+
"content": "<|audio_comp_start|>",
|
| 684 |
+
"single_word": false,
|
| 685 |
+
"lstrip": false,
|
| 686 |
+
"rstrip": false,
|
| 687 |
+
"normalized": false,
|
| 688 |
+
"special": true
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"id": 76,
|
| 692 |
+
"content": "<|audio_comp_end|>",
|
| 693 |
+
"single_word": false,
|
| 694 |
+
"lstrip": false,
|
| 695 |
+
"rstrip": false,
|
| 696 |
+
"normalized": false,
|
| 697 |
+
"special": true
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"id": 77,
|
| 701 |
+
"content": "<|audio_comp_pad|>",
|
| 702 |
+
"single_word": false,
|
| 703 |
+
"lstrip": false,
|
| 704 |
+
"rstrip": false,
|
| 705 |
+
"normalized": false,
|
| 706 |
+
"special": true
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"id": 78,
|
| 710 |
+
"content": "<think>",
|
| 711 |
+
"single_word": false,
|
| 712 |
+
"lstrip": false,
|
| 713 |
+
"rstrip": false,
|
| 714 |
+
"normalized": false,
|
| 715 |
+
"special": false
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"id": 79,
|
| 719 |
+
"content": "</think>",
|
| 720 |
+
"single_word": false,
|
| 721 |
+
"lstrip": false,
|
| 722 |
+
"rstrip": false,
|
| 723 |
+
"normalized": false,
|
| 724 |
+
"special": false
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"id": 80,
|
| 728 |
+
"content": "<no_think>",
|
| 729 |
+
"single_word": false,
|
| 730 |
+
"lstrip": false,
|
| 731 |
+
"rstrip": false,
|
| 732 |
+
"normalized": false,
|
| 733 |
+
"special": false
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"id": 81,
|
| 737 |
+
"content": "<dots_function_call>",
|
| 738 |
+
"single_word": false,
|
| 739 |
+
"lstrip": false,
|
| 740 |
+
"rstrip": false,
|
| 741 |
+
"normalized": false,
|
| 742 |
+
"special": false
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"id": 82,
|
| 746 |
+
"content": "</dots_function_call>",
|
| 747 |
+
"single_word": false,
|
| 748 |
+
"lstrip": false,
|
| 749 |
+
"rstrip": false,
|
| 750 |
+
"normalized": false,
|
| 751 |
+
"special": false
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"id": 83,
|
| 755 |
+
"content": "<dots_function_response>",
|
| 756 |
+
"single_word": false,
|
| 757 |
+
"lstrip": false,
|
| 758 |
+
"rstrip": false,
|
| 759 |
+
"normalized": false,
|
| 760 |
+
"special": false
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"id": 84,
|
| 764 |
+
"content": "</dots_function_response>",
|
| 765 |
+
"single_word": false,
|
| 766 |
+
"lstrip": false,
|
| 767 |
+
"rstrip": false,
|
| 768 |
+
"normalized": false,
|
| 769 |
+
"special": false
|
| 770 |
+
}
|
| 771 |
+
],
|
| 772 |
+
"normalizer": {
|
| 773 |
+
"type": "NFC"
|
| 774 |
+
},
|
| 775 |
+
"pre_tokenizer": {
|
| 776 |
+
"type": "Sequence",
|
| 777 |
+
"pretokenizers": [
|
| 778 |
+
{
|
| 779 |
+
"type": "Split",
|
| 780 |
+
"pattern": {
|
| 781 |
+
"Regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?\\p{L}+|\\p{N}| ?[^\\s\\p{L}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+"
|
| 782 |
+
},
|
| 783 |
+
"behavior": "Isolated",
|
| 784 |
+
"invert": false
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "ByteLevel",
|
| 788 |
+
"add_prefix_space": false,
|
| 789 |
+
"trim_offsets": false,
|
| 790 |
+
"use_regex": false
|
| 791 |
+
}
|
| 792 |
+
]
|
| 793 |
+
},
|
| 794 |
+
"post_processor": {
|
| 795 |
+
"type": "ByteLevel",
|
| 796 |
+
"add_prefix_space": false,
|
| 797 |
+
"trim_offsets": false,
|
| 798 |
+
"use_regex": false
|
| 799 |
+
},
|
| 800 |
+
"decoder": {
|
| 801 |
+
"type": "ByteLevel",
|
| 802 |
+
"add_prefix_space": false,
|
| 803 |
+
"trim_offsets": false,
|
| 804 |
+
"use_regex": false
|
| 805 |
+
},
|
| 806 |
+
"model": {
|
| 807 |
+
"type": "BPE",
|
| 808 |
+
"dropout": null,
|
| 809 |
+
"unk_token": null,
|
| 810 |
+
"continuing_subword_prefix": "",
|
| 811 |
+
"end_of_word_suffix": "",
|
| 812 |
+
"fuse_unk": false,
|
| 813 |
+
"byte_fallback": false,
|
| 814 |
+
"ignore_merges": false,
|
| 815 |
+
"vocab": {
|
| 816 |
+
"<|endoftext|>": 0,
|
| 817 |
+
"<|im_start|>": 1,
|
| 818 |
+
"<|im_end|>": 2,
|
| 819 |
+
"<|userprompt|>": 3,
|
| 820 |
+
"<|endofuserprompt|>": 4,
|
| 821 |
+
"<|response|>": 5,
|
| 822 |
+
"<|endofresponse|>": 6,
|
| 823 |
+
"<|system|>": 7,
|
| 824 |
+
"<|endofsystem|>": 8,
|
| 825 |
+
"<|observation|>": 9,
|
| 826 |
+
"<|endofobservation|>": 10,
|
| 827 |
+
"<|execution|>": 11,
|
| 828 |
+
"<|endofexecution|>": 12,
|
| 829 |
+
"<|reject-unknown|>": 13,
|
| 830 |
+
"<|sec-cot|>": 14,
|
| 831 |
+
"<|sec-end-cot|>": 15,
|
| 832 |
+
"<|im_end>": 16,
|
| 833 |
+
"<|imgpad|>": 17,
|
| 834 |
+
"<|img|>": 18,
|
| 835 |
+
"<|endofimg|>": 19,
|
| 836 |
+
"<|systemprompt|>": 20,
|
| 837 |
+
"<|endofsystemprompt|>": 21,
|
| 838 |
+
"<|user|>": 22,
|
| 839 |
+
"<|endofuser|>": 23,
|
| 840 |
+
"<|assistant|>": 24,
|
| 841 |
+
"<|endofassistant|>": 25,
|
| 842 |
+
"<|box_start|>": 26,
|
| 843 |
+
"<|box_end|>": 27,
|
| 844 |
+
"<|ref_start|>": 28,
|
| 845 |
+
"<|ref_end|>": 29,
|
| 846 |
+
"[SEP]": 30,
|
| 847 |
+
"<|pic|>": 31,
|
| 848 |
+
"<|text|>": 32,
|
| 849 |
+
"<|pictotext|>": 33,
|
| 850 |
+
"<|slice|>": 34,
|
| 851 |
+
"<|endofslice|>": 35,
|
| 852 |
+
"<|imgrowend|>": 36,
|
| 853 |
+
"<|video_pad|>": 37,
|
| 854 |
+
"<|polygon_start|>": 38,
|
| 855 |
+
"<|polygon_end|>": 39,
|
| 856 |
+
"<|task:image en-captioning|>": 40,
|
| 857 |
+
"<|task:image zh-captioning|>": 41,
|
| 858 |
+
"<|task:object detection|>": 42,
|
| 859 |
+
"<|task:ocr|>": 43,
|
| 860 |
+
"<|task:image en-dense-captioning|>": 44,
|
| 861 |
+
"<|task:image zh-dense-captioning|>": 45,
|
| 862 |
+
"<|task:image en-concept|>": 46,
|
| 863 |
+
"<|task:image zh-concept|>": 47,
|
| 864 |
+
"<|task:image grounding|>": 48,
|
| 865 |
+
"<|task:image orientation|>": 49,
|
| 866 |
+
"<|task:ocr with format latex|>": 50,
|
| 867 |
+
"<|task:ocr with format json|>": 51,
|
| 868 |
+
"<|task:ocr of molecule with format molgrapher|>": 52,
|
| 869 |
+
"<|task:ocr of staff with format ekern|>": 53,
|
| 870 |
+
"<|task:ocr of chart with format matplotlib|>": 54,
|
| 871 |
+
"<|task:ocr of chart with format mermaid|>": 55,
|
| 872 |
+
"<|task:ocr-detection and recognition|>": 56,
|
| 873 |
+
"<|task:doc layout with format json|>": 57,
|
| 874 |
+
"<|task:image captioning|>": 58,
|
| 875 |
+
"<|task:table captioning|>": 59,
|
| 876 |
+
"<|task:ocr with format image captioning|>": 60,
|
| 877 |
+
"<|task:ocr with nodes,lines and circle|>": 61,
|
| 878 |
+
"<|task:ocr with format html|>": 62,
|
| 879 |
+
"<|task:video captioning|>": 63,
|
| 880 |
+
"<|url|>": 64,
|
| 881 |
+
"<|endofurl|>": 65,
|
| 882 |
+
"<|pdfmeta|>": 66,
|
| 883 |
+
"<|endofpdfmeta|>": 67,
|
| 884 |
+
"<|alttext|>": 68,
|
| 885 |
+
"<|discarddensecaption|>": 69,
|
| 886 |
+
"<|endofalttext|>": 70,
|
| 887 |
+
"<|to_think|>": 71,
|
| 888 |
+
"<|audio_gen_start|>": 72,
|
| 889 |
+
"<|audio_gen_end|>": 73,
|
| 890 |
+
"<|audio_gen_pad|>": 74,
|
| 891 |
+
"<|audio_comp_start|>": 75,
|
| 892 |
+
"<|audio_comp_end|>": 76,
|
| 893 |
+
"<|audio_comp_pad|>": 77,
|
| 894 |
+
"<think>": 78,
|
| 895 |
+
"</think>": 79,
|
| 896 |
+
"<no_think>": 80,
|
| 897 |
+
"<dots_function_call>": 81,
|
| 898 |
+
"</dots_function_call>": 82,
|
| 899 |
+
"<dots_function_response>": 83,
|
| 900 |
+
"</dots_function_response>": 84,
|
| 901 |
+
"!": 85,
|
| 902 |
+
"\"": 86,
|
| 903 |
+
"#": 87,
|
| 904 |
+
"$": 88,
|
| 905 |
+
"%": 89,
|
| 906 |
+
"&": 90,
|
| 907 |
+
"'": 91,
|
| 908 |
+
"(": 92,
|
| 909 |
+
")": 93,
|
| 910 |
+
"*": 94,
|
| 911 |
+
"+": 95,
|
| 912 |
+
",": 96,
|
| 913 |
+
"-": 97,
|
| 914 |
+
".": 98,
|
| 915 |
+
"/": 99,
|
| 916 |
+
"0": 100,
|
| 917 |
+
"1": 101,
|
| 918 |
+
"2": 102,
|
| 919 |
+
"3": 103,
|
| 920 |
+
"4": 104,
|
| 921 |
+
"5": 105,
|
| 922 |
+
"6": 106,
|
| 923 |
+
"7": 107,
|
| 924 |
+
"8": 108,
|
| 925 |
+
"9": 109,
|
| 926 |
+
":": 110,
|
| 927 |
+
";": 111,
|
| 928 |
+
"<": 112,
|
| 929 |
+
"=": 113,
|
| 930 |
+
">": 114,
|
| 931 |
+
"?": 115,
|
| 932 |
+
"@": 116,
|
| 933 |
+
"A": 117,
|
| 934 |
+
"B": 118,
|
| 935 |
+
"C": 119,
|
| 936 |
+
"D": 120,
|
| 937 |
+
"E": 121,
|
| 938 |
+
"F": 122,
|
| 939 |
+
"G": 123,
|
| 940 |
+
"H": 124,
|
| 941 |
+
"I": 125,
|
| 942 |
+
"J": 126,
|
| 943 |
+
"K": 127,
|
| 944 |
+
"L": 128,
|
| 945 |
+
"M": 129,
|
| 946 |
+
"N": 130,
|
| 947 |
+
"O": 131,
|
| 948 |
+
"P": 132,
|
| 949 |
+
"Q": 133,
|
| 950 |
+
"R": 134,
|
| 951 |
+
"S": 135,
|
| 952 |
+
"T": 136,
|
| 953 |
+
"U": 137,
|
| 954 |
+
"V": 138,
|
| 955 |
+
"W": 139,
|
| 956 |
+
"X": 140,
|
| 957 |
+
"Y": 141,
|
| 958 |
+
"Z": 142,
|
| 959 |
+
"[": 143,
|
| 960 |
+
"\\": 144,
|
| 961 |
+
"]": 145,
|
| 962 |
+
"^": 146,
|
| 963 |
+
"_": 147,
|
| 964 |
+
"`": 148,
|
| 965 |
+
"a": 149,
|
| 966 |
+
"b": 150,
|
| 967 |
+
"c": 151,
|
| 968 |
+
"d": 152,
|
| 969 |
+
"e": 153,
|
| 970 |
+
"f": 154,
|
| 971 |
+
"g": 155,
|
| 972 |
+
"h": 156,
|
| 973 |
+
"i": 157,
|
| 974 |
+
"j": 158,
|
| 975 |
+
"k": 159,
|
| 976 |
+
"l": 160,
|
| 977 |
+
"m": 161,
|
| 978 |
+
"n": 162,
|
| 979 |
+
"o": 163,
|
| 980 |
+
"p": 164,
|
| 981 |
+
"q": 165,
|
| 982 |
+
"r": 166,
|
| 983 |
+
"s": 167,
|
| 984 |
+
"t": 168,
|
| 985 |
+
"u": 169,
|
| 986 |
+
"v": 170,
|
| 987 |
+
"w": 171,
|
| 988 |
+
"x": 172,
|
| 989 |
+
"y": 173,
|
| 990 |
+
"z": 174,
|
| 991 |
+
"{": 175,
|
| 992 |
+
"|": 176,
|
| 993 |
+
"}": 177,
|
| 994 |
+
"~": 178,
|
| 995 |
+
"¡": 179,
|
| 996 |
+
"¢": 180,
|
| 997 |
+
"£": 181,
|
| 998 |
+
"¤": 182,
|
| 999 |
+
"¥": 183,
|
| 1000 |
+
"¦": 184,
|
| 1001 |
+
"§": 185,
|
| 1002 |
+
"¨": 186,
|
| 1003 |
+
"©": 187,
|
| 1004 |
+
"ª": 188,
|
| 1005 |
+
"«": 189,
|
| 1006 |
+
"¬": 190,
|
| 1007 |
+
"®": 191,
|
| 1008 |
+
"¯": 192,
|
| 1009 |
+
"°": 193,
|
| 1010 |
+
"±": 194,
|
| 1011 |
+
"²": 195,
|
| 1012 |
+
"³": 196,
|
| 1013 |
+
"´": 197,
|
| 1014 |
+
"µ": 198,
|
| 1015 |
+
"¶": 199,
|
| 1016 |
+
"·": 200,
|
| 1017 |
+
"¸": 201,
|
| 1018 |
+
"¹": 202,
|
| 1019 |
+
"º": 203,
|
| 1020 |
+
"»": 204,
|
| 1021 |
+
"¼": 205,
|
| 1022 |
+
"½": 206,
|
| 1023 |
+
"¾": 207,
|
| 1024 |
+
"¿": 208,
|
| 1025 |
+
"À": 209,
|
| 1026 |
+
"Á": 210,
|
| 1027 |
+
"Â": 211,
|
| 1028 |
+
"Ã": 212,
|
| 1029 |
+
"Ä": 213,
|
| 1030 |
+
"Å": 214,
|
| 1031 |
+
"Æ": 215,
|
| 1032 |
+
"Ç": 216,
|
| 1033 |
+
"È": 217,
|
| 1034 |
+
"É": 218,
|
| 1035 |
+
"Ê": 219,
|
| 1036 |
+
"Ë": 220,
|
| 1037 |
+
"Ì": 221,
|
| 1038 |
+
"Í": 222,
|
| 1039 |
+
"Î": 223,
|
| 1040 |
+
"Ï": 224,
|
| 1041 |
+
"Ð": 225,
|
| 1042 |
+
"Ñ": 226,
|
| 1043 |
+
"Ò": 227,
|
| 1044 |
+
"Ó": 228,
|
| 1045 |
+
"Ô": 229,
|
| 1046 |
+
"Õ": 230,
|
| 1047 |
+
"Ö": 231,
|
| 1048 |
+
"×": 232,
|
| 1049 |
+
"Ø": 233,
|
| 1050 |
+
"Ù": 234,
|
| 1051 |
+
"Ú": 235,
|
| 1052 |
+
"Û": 236,
|
| 1053 |
+
"Ü": 237,
|
| 1054 |
+
"Ý": 238,
|
| 1055 |
+
"Þ": 239,
|
| 1056 |
+
"ß": 240,
|
| 1057 |
+
"à": 241,
|
| 1058 |
+
"á": 242,
|
| 1059 |
+
"â": 243,
|
| 1060 |
+
"ã": 244,
|
| 1061 |
+
"ä": 245,
|
| 1062 |
+
"å": 246,
|
| 1063 |
+
"æ": 247,
|
| 1064 |
+
"ç": 248,
|
| 1065 |
+
"è": 249,
|
| 1066 |
+
"é": 250,
|
| 1067 |
+
"ê": 251,
|
| 1068 |
+
"ë": 252,
|
| 1069 |
+
"ì": 253,
|
| 1070 |
+
"í": 254,
|
| 1071 |
+
"î": 255,
|
| 1072 |
+
"ï": 256,
|
| 1073 |
+
"ð": 257,
|
| 1074 |
+
"ñ": 258,
|
| 1075 |
+
"ò": 259,
|
| 1076 |
+
"ó": 260,
|
| 1077 |
+
"ô": 261,
|
| 1078 |
+
"õ": 262,
|
| 1079 |
+
"ö": 263,
|
| 1080 |
+
"÷": 264,
|
| 1081 |
+
"ø": 265,
|
| 1082 |
+
"ù": 266,
|
| 1083 |
+
"ú": 267,
|
| 1084 |
+
"û": 268,
|
| 1085 |
+
"ü": 269,
|
| 1086 |
+
"ý": 270,
|
| 1087 |
+
"þ": 271,
|
| 1088 |
+
"ÿ": 272,
|
| 1089 |
+
"Ā": 273,
|
| 1090 |
+
"ā": 274,
|
| 1091 |
+
"Ă": 275,
|
| 1092 |
+
"ă": 276,
|
| 1093 |
+
"Ą": 277,
|
| 1094 |
+
"ą": 278,
|
| 1095 |
+
"Ć": 279,
|
| 1096 |
+
"ć": 280,
|
| 1097 |
+
"Ĉ": 281,
|
| 1098 |
+
"ĉ": 282,
|
| 1099 |
+
"Ċ": 283,
|
| 1100 |
+
"ċ": 284,
|
| 1101 |
+
"Č": 285,
|
| 1102 |
+
"č": 286,
|
| 1103 |
+
"Ď": 287,
|
| 1104 |
+
"ď": 288,
|
| 1105 |
+
"Đ": 289,
|
| 1106 |
+
"đ": 290,
|
| 1107 |
+
"Ē": 291,
|
| 1108 |
+
"ē": 292,
|
| 1109 |
+
"Ĕ": 293,
|
| 1110 |
+
"ĕ": 294,
|
| 1111 |
+
"Ė": 295,
|
| 1112 |
+
"ė": 296,
|
| 1113 |
+
"Ę": 297,
|
| 1114 |
+
"ę": 298,
|
| 1115 |
+
"Ě": 299,
|
| 1116 |
+
"ě": 300,
|
| 1117 |
+
"Ĝ": 301,
|
| 1118 |
+
"ĝ": 302,
|
| 1119 |
+
"Ğ": 303,
|
| 1120 |
+
"ğ": 304,
|
| 1121 |
+
"Ġ": 305,
|
| 1122 |
+
"ġ": 306,
|
| 1123 |
+
"Ģ": 307,
|
| 1124 |
+
"ģ": 308,
|
| 1125 |
+
"Ĥ": 309,
|
| 1126 |
+
"ĥ": 310,
|
| 1127 |
+
"Ħ": 311,
|
| 1128 |
+
"ħ": 312,
|
| 1129 |
+
"Ĩ": 313,
|
| 1130 |
+
"ĩ": 314,
|
| 1131 |
+
"Ī": 315,
|
| 1132 |
+
"ī": 316,
|
| 1133 |
+
"Ĭ": 317,
|
| 1134 |
+
"ĭ": 318,
|
| 1135 |
+
"Į": 319,
|
| 1136 |
+
"į": 320,
|
| 1137 |
+
"İ": 321,
|
| 1138 |
+
"ı": 322,
|
| 1139 |
+
"IJ": 323,
|
| 1140 |
+
"ij": 324,
|
| 1141 |
+
"Ĵ": 325,
|
| 1142 |
+
"ĵ": 326,
|
| 1143 |
+
"Ķ": 327,
|
| 1144 |
+
"ķ": 328,
|
| 1145 |
+
"ĸ": 329,
|
| 1146 |
+
"Ĺ": 330,
|
| 1147 |
+
"ĺ": 331,
|
| 1148 |
+
"Ļ": 332,
|
| 1149 |
+
"ļ": 333,
|
| 1150 |
+
"Ľ": 334,
|
| 1151 |
+
"ľ": 335,
|
| 1152 |
+
"Ŀ": 336,
|
| 1153 |
+
"ŀ": 337,
|
| 1154 |
+
"Ł": 338,
|
| 1155 |
+
"ł": 339,
|
| 1156 |
+
"Ń": 340
|
| 1157 |
+
},
|
| 1158 |
+
"merges": []
|
| 1159 |
+
}
|
| 1160 |
+
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_end_token": "<|endofassistant|>",
|
| 3 |
+
"assistant_start_token": "<|assistant|>",
|
| 4 |
+
"backend": "tokenizers",
|
| 5 |
+
"bos_token": null,
|
| 6 |
+
"clean_up_tokenization_spaces": false,
|
| 7 |
+
"eos_token": "<|endoftext|>",
|
| 8 |
+
"extra_special_tokens": [],
|
| 9 |
+
"model_max_length": 512,
|
| 10 |
+
"pad_token": "<|im_end>",
|
| 11 |
+
"padding_side": "left",
|
| 12 |
+
"processor_class": "Dots3NoteProcessor",
|
| 13 |
+
"system_end_token": "<|endofsystem|>",
|
| 14 |
+
"system_start_token": "<|system|>",
|
| 15 |
+
"tokenizer_class": "TokenizersBackend",
|
| 16 |
+
"unk_token": null,
|
| 17 |
+
"user_end_token": "<|endofuser|>",
|
| 18 |
+
"user_start_token": "<|user|>"
|
| 19 |
+
}
|