Upload ckpt.
Browse files- LICENSE +201 -0
- README.md +117 -1
- added_tokens.json +24 -0
- chat_template.jinja +7 -0
- config.json +577 -0
- generation_config.json +5 -0
- merges.txt +0 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +31 -0
- special_tokens_map.json +38 -0
- spk_dict.pt +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +222 -0
- vocab.json +0 -0
LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Apache License
|
2 |
+
Version 2.0, January 2004
|
3 |
+
http://www.apache.org/licenses/
|
4 |
+
|
5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6 |
+
|
7 |
+
1. Definitions.
|
8 |
+
|
9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
11 |
+
|
12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13 |
+
the copyright owner that is granting the License.
|
14 |
+
|
15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
16 |
+
other entities that control, are controlled by, or are under common
|
17 |
+
control with that entity. For the purposes of this definition,
|
18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
19 |
+
direction or management of such entity, whether by contract or
|
20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22 |
+
|
23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24 |
+
exercising permissions granted by this License.
|
25 |
+
|
26 |
+
"Source" form shall mean the preferred form for making modifications,
|
27 |
+
including but not limited to software source code, documentation
|
28 |
+
source, and configuration files.
|
29 |
+
|
30 |
+
"Object" form shall mean any form resulting from mechanical
|
31 |
+
transformation or translation of a Source form, including but
|
32 |
+
not limited to compiled object code, generated documentation,
|
33 |
+
and conversions to other media types.
|
34 |
+
|
35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
36 |
+
Object form, made available under the License, as indicated by a
|
37 |
+
copyright notice that is included in or attached to the work
|
38 |
+
(an example is provided in the Appendix below).
|
39 |
+
|
40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41 |
+
form, that is based on (or derived from) the Work and for which the
|
42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
44 |
+
of this License, Derivative Works shall not include works that remain
|
45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46 |
+
the Work and Derivative Works thereof.
|
47 |
+
|
48 |
+
"Contribution" shall mean any work of authorship, including
|
49 |
+
the original version of the Work and any modifications or additions
|
50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
54 |
+
means any form of electronic, verbal, or written communication sent
|
55 |
+
to the Licensor or its representatives, including but not limited to
|
56 |
+
communication on electronic mailing lists, source code control systems,
|
57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
59 |
+
excluding communication that is conspicuously marked or otherwise
|
60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
61 |
+
|
62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
64 |
+
subsequently incorporated within the Work.
|
65 |
+
|
66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
71 |
+
Work and such Derivative Works in Source or Object form.
|
72 |
+
|
73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76 |
+
(except as stated in this section) patent license to make, have made,
|
77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78 |
+
where such license applies only to those patent claims licensable
|
79 |
+
by such Contributor that are necessarily infringed by their
|
80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
82 |
+
institute patent litigation against any entity (including a
|
83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84 |
+
or a Contribution incorporated within the Work constitutes direct
|
85 |
+
or contributory patent infringement, then any patent licenses
|
86 |
+
granted to You under this License for that Work shall terminate
|
87 |
+
as of the date such litigation is filed.
|
88 |
+
|
89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
90 |
+
Work or Derivative Works thereof in any medium, with or without
|
91 |
+
modifications, and in Source or Object form, provided that You
|
92 |
+
meet the following conditions:
|
93 |
+
|
94 |
+
(a) You must give any other recipients of the Work or
|
95 |
+
Derivative Works a copy of this License; and
|
96 |
+
|
97 |
+
(b) You must cause any modified files to carry prominent notices
|
98 |
+
stating that You changed the files; and
|
99 |
+
|
100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
101 |
+
that You distribute, all copyright, patent, trademark, and
|
102 |
+
attribution notices from the Source form of the Work,
|
103 |
+
excluding those notices that do not pertain to any part of
|
104 |
+
the Derivative Works; and
|
105 |
+
|
106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107 |
+
distribution, then any Derivative Works that You distribute must
|
108 |
+
include a readable copy of the attribution notices contained
|
109 |
+
within such NOTICE file, excluding those notices that do not
|
110 |
+
pertain to any part of the Derivative Works, in at least one
|
111 |
+
of the following places: within a NOTICE text file distributed
|
112 |
+
as part of the Derivative Works; within the Source form or
|
113 |
+
documentation, if provided along with the Derivative Works; or,
|
114 |
+
within a display generated by the Derivative Works, if and
|
115 |
+
wherever such third-party notices normally appear. The contents
|
116 |
+
of the NOTICE file are for informational purposes only and
|
117 |
+
do not modify the License. You may add Your own attribution
|
118 |
+
notices within Derivative Works that You distribute, alongside
|
119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
120 |
+
that such additional attribution notices cannot be construed
|
121 |
+
as modifying the License.
|
122 |
+
|
123 |
+
You may add Your own copyright statement to Your modifications and
|
124 |
+
may provide additional or different license terms and conditions
|
125 |
+
for use, reproduction, or distribution of Your modifications, or
|
126 |
+
for any such Derivative Works as a whole, provided Your use,
|
127 |
+
reproduction, and distribution of the Work otherwise complies with
|
128 |
+
the conditions stated in this License.
|
129 |
+
|
130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
132 |
+
by You to the Licensor shall be under the terms and conditions of
|
133 |
+
this License, without any additional terms or conditions.
|
134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135 |
+
the terms of any separate license agreement you may have executed
|
136 |
+
with Licensor regarding such Contributions.
|
137 |
+
|
138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
140 |
+
except as required for reasonable and customary use in describing the
|
141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
142 |
+
|
143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144 |
+
agreed to in writing, Licensor provides the Work (and each
|
145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147 |
+
implied, including, without limitation, any warranties or conditions
|
148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150 |
+
appropriateness of using or redistributing the Work and assume any
|
151 |
+
risks associated with Your exercise of permissions under this License.
|
152 |
+
|
153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
154 |
+
whether in tort (including negligence), contract, or otherwise,
|
155 |
+
unless required by applicable law (such as deliberate and grossly
|
156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157 |
+
liable to You for damages, including any direct, indirect, special,
|
158 |
+
incidental, or consequential damages of any character arising as a
|
159 |
+
result of this License or out of the use or inability to use the
|
160 |
+
Work (including but not limited to damages for loss of goodwill,
|
161 |
+
work stoppage, computer failure or malfunction, or any and all
|
162 |
+
other commercial damages or losses), even if such Contributor
|
163 |
+
has been advised of the possibility of such damages.
|
164 |
+
|
165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168 |
+
or other liability obligations and/or rights consistent with this
|
169 |
+
License. However, in accepting such obligations, You may act only
|
170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171 |
+
of any other Contributor, and only if You agree to indemnify,
|
172 |
+
defend, and hold each Contributor harmless for any liability
|
173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
174 |
+
of your accepting any such warranty or additional liability.
|
175 |
+
|
176 |
+
END OF TERMS AND CONDITIONS
|
177 |
+
|
178 |
+
APPENDIX: How to apply the Apache License to your work.
|
179 |
+
|
180 |
+
To apply the Apache License to your work, attach the following
|
181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182 |
+
replaced with your own identifying information. (Don't include
|
183 |
+
the brackets!) The text should be enclosed in the appropriate
|
184 |
+
comment syntax for the file format. We also recommend that a
|
185 |
+
file or class name and description of purpose be included on the
|
186 |
+
same "printed page" as the copyright notice for easier
|
187 |
+
identification within third-party archives.
|
188 |
+
|
189 |
+
Copyright 2025 Alibaba Cloud
|
190 |
+
|
191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192 |
+
you may not use this file except in compliance with the License.
|
193 |
+
You may obtain a copy of the License at
|
194 |
+
|
195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
196 |
+
|
197 |
+
Unless required by applicable law or agreed to in writing, software
|
198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200 |
+
See the License for the specific language governing permissions and
|
201 |
+
limitations under the License.
|
README.md
CHANGED
@@ -1,3 +1,119 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: other
|
3 |
+
license_name: apache-2.0
|
4 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-Omni-7B-AWQ/blob/main/LICENSE
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
tags:
|
8 |
+
- multimodal
|
9 |
+
library_name: transformers
|
10 |
+
pipeline_tag: any-to-any
|
11 |
---
|
12 |
+
|
13 |
+
# Qwen2.5-Omni-7B-AWQ
|
14 |
+
<a href="https://chat.qwen.ai/" target="_blank" style="margin: 2px;">
|
15 |
+
<img alt="Chat" src="https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5" style="display: inline-block; vertical-align: middle;"/>
|
16 |
+
</a>
|
17 |
+
|
18 |
+
|
19 |
+
## Overview
|
20 |
+
### Introduction
|
21 |
+
Qwen2.5-Omni is an end-to-end multimodal model designed to perceive diverse modalities, including text, images, audio, and video, while simultaneously generating text and natural speech responses in a streaming manner.
|
22 |
+
|
23 |
+
<p align="center">
|
24 |
+
<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen2.5-Omni/qwen_omni.png" width="80%"/>
|
25 |
+
<p>
|
26 |
+
|
27 |
+
### Key Features
|
28 |
+
|
29 |
+
* **Omni and Novel Architecture**: We propose Thinker-Talker architecture, an end-to-end multimodal model designed to perceive diverse modalities, including text, images, audio, and video, while simultaneously generating text and natural speech responses in a streaming manner. We propose a novel position embedding, named TMRoPE (Time-aligned Multimodal RoPE), to synchronize the timestamps of video inputs with audio.
|
30 |
+
|
31 |
+
* **Real-Time Voice and Video Chat**: Architecture designed for fully real-time interactions, supporting chunked input and immediate output.
|
32 |
+
|
33 |
+
* **Natural and Robust Speech Generation**: Surpassing many existing streaming and non-streaming alternatives, demonstrating superior robustness and naturalness in speech generation.
|
34 |
+
|
35 |
+
* **Strong Performance Across Modalities**: Exhibiting exceptional performance across all modalities when benchmarked against similarly sized single-modality models. Qwen2.5-Omni outperforms the similarly sized Qwen2-Audio in audio capabilities and achieves comparable performance to Qwen2.5-VL-7B.
|
36 |
+
|
37 |
+
* **Excellent End-to-End Speech Instruction Following**: Qwen2.5-Omni shows performance in end-to-end speech instruction following that rivals its effectiveness with text inputs, evidenced by benchmarks such as MMLU and GSM8K.
|
38 |
+
|
39 |
+
### Model Architecture
|
40 |
+
|
41 |
+
<p align="center">
|
42 |
+
<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen2.5-Omni/overview.png" width="80%"/>
|
43 |
+
<p>
|
44 |
+
|
45 |
+
## Quickstart
|
46 |
+
|
47 |
+
This model card introduces a series of enhancements designed to improve the Qwen2.5-Omni-7B's operability on devices with constrained GPU memory. Key optimizations include:
|
48 |
+
|
49 |
+
* Implemented 4-bit quantization of the Thinker's weights using AWQ, effectively reducing GPU VRAM usage.
|
50 |
+
|
51 |
+
* Enhanced the inference pipeline to load model weights on-demand for each module and offload them to CPU memory once inference is complete, preventing peak VRAM usage from becoming excessive.
|
52 |
+
|
53 |
+
* Converted the token2wav module to support streaming inference, thereby avoiding the pre-allocation of excessive GPU memory.
|
54 |
+
|
55 |
+
* Adjusted the ODE solver from a second-order (RK4) to a first-order (Euler) method to further decrease computational overhead.
|
56 |
+
|
57 |
+
These improvements aim to ensure efficient performance of Qwen2.5-Omni across a range of hardware configurations, particularly those with lower GPU memory availability (RTX3080, 4080, 5070, etc).
|
58 |
+
|
59 |
+
Below, we provide simple examples to show how to use Qwen2.5-Omni-7B-AWQ with `autoawq` as follows:
|
60 |
+
```
|
61 |
+
pip uninstall transformers
|
62 |
+
pip install git+https://github.com/huggingface/[email protected]
|
63 |
+
pip install accelerate
|
64 |
+
pip install autoawq==0.2.9
|
65 |
+
```
|
66 |
+
and then
|
67 |
+
```
|
68 |
+
git clone https://github.com/QwenLM/Qwen2.5-Omni.git
|
69 |
+
cd low-VRAM-mode/
|
70 |
+
python low_VRAM_demo_awq.py
|
71 |
+
```
|
72 |
+
|
73 |
+
We offer a toolkit to help you handle various types of audio and visual input more conveniently, as if you were using an API. This includes base64, URLs, and interleaved audio, images and videos. You can install it using the following command and make sure your system has `ffmpeg` installed:
|
74 |
+
|
75 |
+
```bash
|
76 |
+
# It's highly recommended to use `[decord]` feature for faster video loading.
|
77 |
+
pip install qwen-omni-utils[decord] -U
|
78 |
+
```
|
79 |
+
|
80 |
+
If you are not using Linux, you might not be able to install `decord` from PyPI. In that case, you can use `pip install qwen-omni-utils -U` which will fall back to using torchvision for video processing. However, you can still [install decord from source](https://github.com/dmlc/decord?tab=readme-ov-file#install-from-source) to get decord used when loading video.
|
81 |
+
|
82 |
+
|
83 |
+
### Performance
|
84 |
+
|
85 |
+
| Evaluation Set | Task | Metrics | Qwen2.5-Omni-7B | Qwen2.5-Omni-7B-AWQ |
|
86 |
+
|--------------|-----------| ------------- | ------------- | ------------------ |
|
87 |
+
| LibriSpeech test-other | ASR | WER ⬇️ | 3.4 | 3.91 |
|
88 |
+
| WenetSpeech test-net | ASR | WER ⬇️ | 5.9 | 6.31 |
|
89 |
+
| Seed-TTS test-hard (Speaker: Chelsie) | TTS | WER ⬇️ | 8.7 | 8.88 |
|
90 |
+
| MMLU-Pro | Text -> Text | Accuracy ⬆️ | 47.0 | 45.66 |
|
91 |
+
| OmniBench | Speech -> Text | Accuracy ⬆️ | 56.13 | 54.64 |
|
92 |
+
| VideoMME | Multimodality -> Text | Accuracy ⬆️ | 72.4 | 72.0 |
|
93 |
+
|
94 |
+
### Minimum GPU memory requirements
|
95 |
+
|
96 |
+
|Model | Precision | 15(s) Video | 30(s) Video | 60(s) Video |
|
97 |
+
|--------------|-----------| ------------- | ------------- | ------------------ |
|
98 |
+
| Qwen-Omni-7B | FP32 | 93.56 GB | Not Recommend | Not Recommend |
|
99 |
+
| Qwen-Omni-7B | BF16 | 31.11 GB | 41.85 GB | 60.19 GB |
|
100 |
+
| Qwen-Omni-7B | AWQ | GB | GB | GB |
|
101 |
+
|
102 |
+
|
103 |
+
## Citation
|
104 |
+
|
105 |
+
If you find our paper and code useful in your research, please consider giving a star :star: and citation :pencil: :)
|
106 |
+
|
107 |
+
|
108 |
+
```BibTeX
|
109 |
+
|
110 |
+
@article{Qwen2.5-Omni,
|
111 |
+
title={Qwen2.5-Omni Technical Report},
|
112 |
+
author={Jin Xu, Zhifang Guo, Jinzheng He, Hangrui Hu, Ting He, Shuai Bai, Keqin Chen, Jialin Wang, Yang Fan, Kai Dang, Bin Zhang, Xiong Wang, Yunfei Chu, Junyang Lin},
|
113 |
+
journal={arXiv preprint arXiv:2503.20215},
|
114 |
+
year={2025}
|
115 |
+
}
|
116 |
+
```
|
117 |
+
|
118 |
+
<br>
|
119 |
+
|
added_tokens.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</tool_call>": 151658,
|
3 |
+
"<tool_call>": 151657,
|
4 |
+
"<|AUDIO|>": 151646,
|
5 |
+
"<|IMAGE|>": 151655,
|
6 |
+
"<|VIDEO|>": 151656,
|
7 |
+
"<|audio_bos|>": 151647,
|
8 |
+
"<|audio_eos|>": 151648,
|
9 |
+
"<|box_end|>": 151649,
|
10 |
+
"<|endoftext|>": 151643,
|
11 |
+
"<|file_sep|>": 151664,
|
12 |
+
"<|fim_middle|>": 151660,
|
13 |
+
"<|fim_pad|>": 151662,
|
14 |
+
"<|fim_prefix|>": 151659,
|
15 |
+
"<|fim_suffix|>": 151661,
|
16 |
+
"<|im_end|>": 151645,
|
17 |
+
"<|im_start|>": 151644,
|
18 |
+
"<|quad_end|>": 151651,
|
19 |
+
"<|quad_start|>": 151650,
|
20 |
+
"<|repo_name|>": 151663,
|
21 |
+
"<|vision_bos|>": 151652,
|
22 |
+
"<|vision_eos|>": 151653,
|
23 |
+
"<|vision_pad|>": 151654
|
24 |
+
}
|
chat_template.jinja
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set audio_count = namespace(value=0) %}{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
|
2 |
+
You are a helpful assistant.<|im_end|>
|
3 |
+
{% endif %}<|im_start|>{{ message['role'] }}
|
4 |
+
{% if message['content'] is string %}{{ message['content'] }}<|im_end|>
|
5 |
+
{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_bos|><|IMAGE|><|vision_eos|>{% elif content['type'] == 'audio' or 'audio' in content or 'audio_url' in content %}{% set audio_count.value = audio_count.value + 1 %}{% if add_audio_id %}Audio {{ audio_count.value }}: {% endif %}<|audio_bos|><|AUDIO|><|audio_eos|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_bos|><|VIDEO|><|vision_eos|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
|
6 |
+
{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
|
7 |
+
{% endif %}
|
config.json
ADDED
@@ -0,0 +1,577 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Qwen2_5OmniForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"enable_audio_output": true,
|
6 |
+
"enable_audio_output_": true,
|
7 |
+
"enable_talker": true,
|
8 |
+
"model_type": "qwen2_5_omni",
|
9 |
+
"quantization_config": {
|
10 |
+
"bits": 4,
|
11 |
+
"group_size": 128,
|
12 |
+
"modules_to_not_convert": [
|
13 |
+
"visual"
|
14 |
+
],
|
15 |
+
"quant_method": "awq",
|
16 |
+
"version": "gemm",
|
17 |
+
"zero_point": true
|
18 |
+
},
|
19 |
+
"talker_config": {
|
20 |
+
"_attn_implementation_autoset": true,
|
21 |
+
"architectures": [
|
22 |
+
"Qwen2OmniTalkerForConditionalGeneration"
|
23 |
+
],
|
24 |
+
"attention_dropout": 0.0,
|
25 |
+
"audio_end_token_id": 151648,
|
26 |
+
"audio_start_token_id": 151647,
|
27 |
+
"audio_token_index": 151646,
|
28 |
+
"embedding_size": 3584,
|
29 |
+
"head_dim": 128,
|
30 |
+
"hidden_act": "silu",
|
31 |
+
"hidden_size": 896,
|
32 |
+
"image_token_index": 151655,
|
33 |
+
"init_std": 0.02,
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 18944,
|
36 |
+
"max_position_embeddings": 32768,
|
37 |
+
"max_window_layers": 28,
|
38 |
+
"model_type": "qwen2_5_omni_talker",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_hidden_layers": 24,
|
41 |
+
"num_key_value_heads": 4,
|
42 |
+
"position_id_per_seconds": 25,
|
43 |
+
"rms_norm_eps": 1e-06,
|
44 |
+
"rope_scaling": {
|
45 |
+
"mrope_section": [
|
46 |
+
16,
|
47 |
+
24,
|
48 |
+
24
|
49 |
+
],
|
50 |
+
"rope_type": "default",
|
51 |
+
"type": "default"
|
52 |
+
},
|
53 |
+
"rope_theta": 1000000.0,
|
54 |
+
"seconds_per_chunk": 2,
|
55 |
+
"sliding_window": 32768,
|
56 |
+
"spatial_merge_size": 2,
|
57 |
+
"torch_dtype": "bfloat16",
|
58 |
+
"tts_codec_end_token_id": 8294,
|
59 |
+
"tts_codec_mask_token_id": 8296,
|
60 |
+
"tts_codec_pad_token_id": 8292,
|
61 |
+
"tts_codec_start_token_id": 8293,
|
62 |
+
"tts_text_end_token_id": 151861,
|
63 |
+
"tts_text_pad_token_id": 151859,
|
64 |
+
"tts_text_start_token_id": 151860,
|
65 |
+
"use_cache": true,
|
66 |
+
"use_sliding_window": false,
|
67 |
+
"video_token_index": 151656,
|
68 |
+
"vision_end_token_id": 151653,
|
69 |
+
"vision_start_token_id": 151652,
|
70 |
+
"vocab_size": 8448
|
71 |
+
},
|
72 |
+
"thinker_config": {
|
73 |
+
"_attn_implementation_autoset": true,
|
74 |
+
"architectures": [
|
75 |
+
"Qwen2OmniNaViTThinkerForConditionalGeneration"
|
76 |
+
],
|
77 |
+
"audio_config": {
|
78 |
+
"_attn_implementation_autoset": true,
|
79 |
+
"activation_dropout": 0.0,
|
80 |
+
"activation_function": "gelu",
|
81 |
+
"add_cross_attention": false,
|
82 |
+
"architectures": null,
|
83 |
+
"attention_dropout": 0.0,
|
84 |
+
"bad_words_ids": null,
|
85 |
+
"begin_suppress_tokens": null,
|
86 |
+
"bos_token_id": null,
|
87 |
+
"chunk_size_feed_forward": 0,
|
88 |
+
"cross_attention_hidden_size": null,
|
89 |
+
"d_model": 1280,
|
90 |
+
"decoder_start_token_id": null,
|
91 |
+
"diversity_penalty": 0.0,
|
92 |
+
"do_sample": false,
|
93 |
+
"dropout": 0.0,
|
94 |
+
"early_stopping": false,
|
95 |
+
"encoder_attention_heads": 20,
|
96 |
+
"encoder_ffn_dim": 5120,
|
97 |
+
"encoder_layerdrop": 0.0,
|
98 |
+
"encoder_layers": 32,
|
99 |
+
"encoder_no_repeat_ngram_size": 0,
|
100 |
+
"eos_token_id": null,
|
101 |
+
"exponential_decay_length_penalty": null,
|
102 |
+
"finetuning_task": null,
|
103 |
+
"forced_bos_token_id": null,
|
104 |
+
"forced_eos_token_id": null,
|
105 |
+
"id2label": {
|
106 |
+
"0": "LABEL_0",
|
107 |
+
"1": "LABEL_1"
|
108 |
+
},
|
109 |
+
"init_std": 0.02,
|
110 |
+
"initializer_range": 0.02,
|
111 |
+
"is_decoder": false,
|
112 |
+
"is_encoder_decoder": false,
|
113 |
+
"label2id": {
|
114 |
+
"LABEL_0": 0,
|
115 |
+
"LABEL_1": 1
|
116 |
+
},
|
117 |
+
"length_penalty": 1.0,
|
118 |
+
"max_length": 20,
|
119 |
+
"max_source_positions": 1500,
|
120 |
+
"min_length": 0,
|
121 |
+
"model_type": "qwen2_5_omni_audio_encoder",
|
122 |
+
"n_window": 100,
|
123 |
+
"no_repeat_ngram_size": 0,
|
124 |
+
"num_beam_groups": 1,
|
125 |
+
"num_beams": 1,
|
126 |
+
"num_hidden_layers": 32,
|
127 |
+
"num_mel_bins": 128,
|
128 |
+
"num_return_sequences": 1,
|
129 |
+
"output_attentions": false,
|
130 |
+
"output_dim": 3584,
|
131 |
+
"output_hidden_states": false,
|
132 |
+
"output_scores": false,
|
133 |
+
"pad_token_id": null,
|
134 |
+
"prefix": null,
|
135 |
+
"problem_type": null,
|
136 |
+
"pruned_heads": {},
|
137 |
+
"remove_invalid_values": false,
|
138 |
+
"repetition_penalty": 1.0,
|
139 |
+
"return_dict": true,
|
140 |
+
"return_dict_in_generate": false,
|
141 |
+
"scale_embedding": false,
|
142 |
+
"sep_token_id": null,
|
143 |
+
"suppress_tokens": null,
|
144 |
+
"task_specific_params": null,
|
145 |
+
"temperature": 1.0,
|
146 |
+
"tf_legacy_loss": false,
|
147 |
+
"tie_encoder_decoder": false,
|
148 |
+
"tie_word_embeddings": true,
|
149 |
+
"tokenizer_class": null,
|
150 |
+
"top_k": 50,
|
151 |
+
"top_p": 1.0,
|
152 |
+
"torch_dtype": null,
|
153 |
+
"torchscript": false,
|
154 |
+
"typical_p": 1.0,
|
155 |
+
"use_bfloat16": false
|
156 |
+
},
|
157 |
+
"audio_end_token_id": 151648,
|
158 |
+
"audio_start_token_id": 151647,
|
159 |
+
"audio_token_index": 151646,
|
160 |
+
"bos_token_id": 151644,
|
161 |
+
"eos_token_id": 151645,
|
162 |
+
"ignore_index": -100,
|
163 |
+
"image_token_index": 151655,
|
164 |
+
"init_std": 0.02,
|
165 |
+
"initializer_range": 0.02,
|
166 |
+
"model_type": "qwen2_5_omni_thinker",
|
167 |
+
"pad_token_id": 151643,
|
168 |
+
"position_id_per_seconds": 25,
|
169 |
+
"seconds_per_chunk": 2,
|
170 |
+
"text_config": {
|
171 |
+
"_attn_implementation_autoset": false,
|
172 |
+
"add_cross_attention": false,
|
173 |
+
"architectures": null,
|
174 |
+
"attention_dropout": 0.0,
|
175 |
+
"bad_words_ids": null,
|
176 |
+
"begin_suppress_tokens": null,
|
177 |
+
"bos_token_id": null,
|
178 |
+
"chunk_size_feed_forward": 0,
|
179 |
+
"cross_attention_hidden_size": null,
|
180 |
+
"decoder_start_token_id": null,
|
181 |
+
"diversity_penalty": 0.0,
|
182 |
+
"do_sample": false,
|
183 |
+
"early_stopping": false,
|
184 |
+
"encoder_no_repeat_ngram_size": 0,
|
185 |
+
"eos_token_id": null,
|
186 |
+
"exponential_decay_length_penalty": null,
|
187 |
+
"finetuning_task": null,
|
188 |
+
"forced_bos_token_id": null,
|
189 |
+
"forced_eos_token_id": null,
|
190 |
+
"hidden_act": "silu",
|
191 |
+
"hidden_size": 3584,
|
192 |
+
"id2label": {
|
193 |
+
"0": "LABEL_0",
|
194 |
+
"1": "LABEL_1"
|
195 |
+
},
|
196 |
+
"init_std": 0.02,
|
197 |
+
"initializer_range": 0.02,
|
198 |
+
"intermediate_size": 18944,
|
199 |
+
"is_decoder": false,
|
200 |
+
"is_encoder_decoder": false,
|
201 |
+
"label2id": {
|
202 |
+
"LABEL_0": 0,
|
203 |
+
"LABEL_1": 1
|
204 |
+
},
|
205 |
+
"length_penalty": 1.0,
|
206 |
+
"max_length": 20,
|
207 |
+
"max_position_embeddings": 32768,
|
208 |
+
"max_window_layers": 28,
|
209 |
+
"min_length": 0,
|
210 |
+
"model_type": "qwen2_5_omni_text",
|
211 |
+
"no_repeat_ngram_size": 0,
|
212 |
+
"num_attention_heads": 28,
|
213 |
+
"num_beam_groups": 1,
|
214 |
+
"num_beams": 1,
|
215 |
+
"num_hidden_layers": 28,
|
216 |
+
"num_key_value_heads": 4,
|
217 |
+
"num_return_sequences": 1,
|
218 |
+
"output_attentions": false,
|
219 |
+
"output_hidden_states": false,
|
220 |
+
"output_scores": false,
|
221 |
+
"pad_token_id": null,
|
222 |
+
"prefix": null,
|
223 |
+
"problem_type": null,
|
224 |
+
"pruned_heads": {},
|
225 |
+
"remove_invalid_values": false,
|
226 |
+
"repetition_penalty": 1.0,
|
227 |
+
"return_dict": true,
|
228 |
+
"return_dict_in_generate": false,
|
229 |
+
"rms_norm_eps": 1e-06,
|
230 |
+
"rope_scaling": {
|
231 |
+
"mrope_section": [
|
232 |
+
16,
|
233 |
+
24,
|
234 |
+
24
|
235 |
+
],
|
236 |
+
"rope_type": "default",
|
237 |
+
"type": "default"
|
238 |
+
},
|
239 |
+
"rope_theta": 1000000.0,
|
240 |
+
"sep_token_id": null,
|
241 |
+
"sliding_window": 32768,
|
242 |
+
"suppress_tokens": null,
|
243 |
+
"task_specific_params": null,
|
244 |
+
"temperature": 1.0,
|
245 |
+
"tf_legacy_loss": false,
|
246 |
+
"tie_encoder_decoder": false,
|
247 |
+
"tie_word_embeddings": false,
|
248 |
+
"tokenizer_class": null,
|
249 |
+
"top_k": 50,
|
250 |
+
"top_p": 1.0,
|
251 |
+
"torch_dtype": null,
|
252 |
+
"torchscript": false,
|
253 |
+
"typical_p": 1.0,
|
254 |
+
"use_bfloat16": false,
|
255 |
+
"use_cache": true,
|
256 |
+
"use_sliding_window": false,
|
257 |
+
"vocab_size": 152064
|
258 |
+
},
|
259 |
+
"torch_dtype": "bfloat16",
|
260 |
+
"user_token_id": 872,
|
261 |
+
"video_token_index": 151656,
|
262 |
+
"vision_config": {
|
263 |
+
"_attn_implementation_autoset": true,
|
264 |
+
"add_cross_attention": false,
|
265 |
+
"architectures": null,
|
266 |
+
"bad_words_ids": null,
|
267 |
+
"begin_suppress_tokens": null,
|
268 |
+
"bos_token_id": null,
|
269 |
+
"chunk_size_feed_forward": 0,
|
270 |
+
"cross_attention_hidden_size": null,
|
271 |
+
"decoder_start_token_id": null,
|
272 |
+
"depth": 32,
|
273 |
+
"diversity_penalty": 0.0,
|
274 |
+
"do_sample": false,
|
275 |
+
"early_stopping": false,
|
276 |
+
"embed_dim": 1280,
|
277 |
+
"encoder_no_repeat_ngram_size": 0,
|
278 |
+
"eos_token_id": null,
|
279 |
+
"exponential_decay_length_penalty": null,
|
280 |
+
"finetuning_task": null,
|
281 |
+
"forced_bos_token_id": null,
|
282 |
+
"forced_eos_token_id": null,
|
283 |
+
"fullatt_block_indexes": [
|
284 |
+
7,
|
285 |
+
15,
|
286 |
+
23,
|
287 |
+
31
|
288 |
+
],
|
289 |
+
"hidden_act": "silu",
|
290 |
+
"hidden_size": 1280,
|
291 |
+
"id2label": {
|
292 |
+
"0": "LABEL_0",
|
293 |
+
"1": "LABEL_1"
|
294 |
+
},
|
295 |
+
"in_channels": 3,
|
296 |
+
"in_chans": 3,
|
297 |
+
"init_std": 0.02,
|
298 |
+
"initializer_range": 0.02,
|
299 |
+
"intermediate_size": 3420,
|
300 |
+
"is_decoder": false,
|
301 |
+
"is_encoder_decoder": false,
|
302 |
+
"label2id": {
|
303 |
+
"LABEL_0": 0,
|
304 |
+
"LABEL_1": 1
|
305 |
+
},
|
306 |
+
"length_penalty": 1.0,
|
307 |
+
"max_length": 20,
|
308 |
+
"min_length": 0,
|
309 |
+
"model_type": "qwen2_5_omni_vision_encoder",
|
310 |
+
"no_repeat_ngram_size": 0,
|
311 |
+
"num_beam_groups": 1,
|
312 |
+
"num_beams": 1,
|
313 |
+
"num_heads": 16,
|
314 |
+
"num_return_sequences": 1,
|
315 |
+
"out_hidden_size": 3584,
|
316 |
+
"output_attentions": false,
|
317 |
+
"output_hidden_states": false,
|
318 |
+
"output_scores": false,
|
319 |
+
"pad_token_id": null,
|
320 |
+
"patch_size": 14,
|
321 |
+
"prefix": null,
|
322 |
+
"problem_type": null,
|
323 |
+
"pruned_heads": {},
|
324 |
+
"remove_invalid_values": false,
|
325 |
+
"repetition_penalty": 1.0,
|
326 |
+
"return_dict": true,
|
327 |
+
"return_dict_in_generate": false,
|
328 |
+
"sep_token_id": null,
|
329 |
+
"spatial_merge_size": 2,
|
330 |
+
"spatial_patch_size": 14,
|
331 |
+
"suppress_tokens": null,
|
332 |
+
"task_specific_params": null,
|
333 |
+
"temperature": 1.0,
|
334 |
+
"temporal_patch_size": 2,
|
335 |
+
"tf_legacy_loss": false,
|
336 |
+
"tie_encoder_decoder": false,
|
337 |
+
"tie_word_embeddings": true,
|
338 |
+
"tokenizer_class": null,
|
339 |
+
"tokens_per_second": 25,
|
340 |
+
"top_k": 50,
|
341 |
+
"top_p": 1.0,
|
342 |
+
"torch_dtype": null,
|
343 |
+
"torchscript": false,
|
344 |
+
"typical_p": 1.0,
|
345 |
+
"use_bfloat16": false,
|
346 |
+
"window_size": 112
|
347 |
+
},
|
348 |
+
"vision_end_token_id": 151653,
|
349 |
+
"vision_start_token_id": 151652,
|
350 |
+
"vision_token_id": 151654
|
351 |
+
},
|
352 |
+
"token2wav_config": {
|
353 |
+
"_attn_implementation_autoset": true,
|
354 |
+
"bigvgan_config": {
|
355 |
+
"_attn_implementation_autoset": true,
|
356 |
+
"add_cross_attention": false,
|
357 |
+
"architectures": null,
|
358 |
+
"bad_words_ids": null,
|
359 |
+
"begin_suppress_tokens": null,
|
360 |
+
"bos_token_id": null,
|
361 |
+
"chunk_size_feed_forward": 0,
|
362 |
+
"cross_attention_hidden_size": null,
|
363 |
+
"decoder_start_token_id": null,
|
364 |
+
"diversity_penalty": 0.0,
|
365 |
+
"do_sample": false,
|
366 |
+
"early_stopping": false,
|
367 |
+
"encoder_no_repeat_ngram_size": 0,
|
368 |
+
"eos_token_id": null,
|
369 |
+
"exponential_decay_length_penalty": null,
|
370 |
+
"finetuning_task": null,
|
371 |
+
"forced_bos_token_id": null,
|
372 |
+
"forced_eos_token_id": null,
|
373 |
+
"id2label": {
|
374 |
+
"0": "LABEL_0",
|
375 |
+
"1": "LABEL_1"
|
376 |
+
},
|
377 |
+
"is_decoder": false,
|
378 |
+
"is_encoder_decoder": false,
|
379 |
+
"label2id": {
|
380 |
+
"LABEL_0": 0,
|
381 |
+
"LABEL_1": 1
|
382 |
+
},
|
383 |
+
"length_penalty": 1.0,
|
384 |
+
"max_length": 20,
|
385 |
+
"mel_dim": 80,
|
386 |
+
"min_length": 0,
|
387 |
+
"model_type": "qwen2_5_omni_bigvgan",
|
388 |
+
"no_repeat_ngram_size": 0,
|
389 |
+
"num_beam_groups": 1,
|
390 |
+
"num_beams": 1,
|
391 |
+
"num_return_sequences": 1,
|
392 |
+
"output_attentions": false,
|
393 |
+
"output_hidden_states": false,
|
394 |
+
"output_scores": false,
|
395 |
+
"pad_token_id": null,
|
396 |
+
"prefix": null,
|
397 |
+
"problem_type": null,
|
398 |
+
"pruned_heads": {},
|
399 |
+
"remove_invalid_values": false,
|
400 |
+
"repetition_penalty": 1.0,
|
401 |
+
"resblock_dilation_sizes": [
|
402 |
+
[
|
403 |
+
1,
|
404 |
+
3,
|
405 |
+
5
|
406 |
+
],
|
407 |
+
[
|
408 |
+
1,
|
409 |
+
3,
|
410 |
+
5
|
411 |
+
],
|
412 |
+
[
|
413 |
+
1,
|
414 |
+
3,
|
415 |
+
5
|
416 |
+
]
|
417 |
+
],
|
418 |
+
"resblock_kernel_sizes": [
|
419 |
+
3,
|
420 |
+
7,
|
421 |
+
11
|
422 |
+
],
|
423 |
+
"return_dict": true,
|
424 |
+
"return_dict_in_generate": false,
|
425 |
+
"sep_token_id": null,
|
426 |
+
"suppress_tokens": null,
|
427 |
+
"task_specific_params": null,
|
428 |
+
"temperature": 1.0,
|
429 |
+
"tf_legacy_loss": false,
|
430 |
+
"tie_encoder_decoder": false,
|
431 |
+
"tie_word_embeddings": true,
|
432 |
+
"tokenizer_class": null,
|
433 |
+
"top_k": 50,
|
434 |
+
"top_p": 1.0,
|
435 |
+
"torch_dtype": null,
|
436 |
+
"torchscript": false,
|
437 |
+
"typical_p": 1.0,
|
438 |
+
"upsample_initial_channel": 1536,
|
439 |
+
"upsample_kernel_sizes": [
|
440 |
+
11,
|
441 |
+
7,
|
442 |
+
4,
|
443 |
+
4,
|
444 |
+
4,
|
445 |
+
4
|
446 |
+
],
|
447 |
+
"upsample_rates": [
|
448 |
+
5,
|
449 |
+
3,
|
450 |
+
2,
|
451 |
+
2,
|
452 |
+
2,
|
453 |
+
2
|
454 |
+
],
|
455 |
+
"use_bfloat16": false,
|
456 |
+
"use_bias_at_final": false
|
457 |
+
},
|
458 |
+
"dit_config": {
|
459 |
+
"_attn_implementation_autoset": true,
|
460 |
+
"add_cross_attention": false,
|
461 |
+
"architectures": null,
|
462 |
+
"bad_words_ids": null,
|
463 |
+
"begin_suppress_tokens": null,
|
464 |
+
"block_size": 24,
|
465 |
+
"bos_token_id": null,
|
466 |
+
"chunk_size_feed_forward": 0,
|
467 |
+
"cross_attention_hidden_size": null,
|
468 |
+
"decoder_start_token_id": null,
|
469 |
+
"depth": 22,
|
470 |
+
"dim": 1024,
|
471 |
+
"diversity_penalty": 0.0,
|
472 |
+
"do_sample": false,
|
473 |
+
"dropout": 0.1,
|
474 |
+
"early_stopping": false,
|
475 |
+
"emb_dim": 512,
|
476 |
+
"enc_attention_channels": 64,
|
477 |
+
"enc_channels": [
|
478 |
+
256,
|
479 |
+
256,
|
480 |
+
256,
|
481 |
+
256,
|
482 |
+
768
|
483 |
+
],
|
484 |
+
"enc_dilations": [
|
485 |
+
1,
|
486 |
+
2,
|
487 |
+
3,
|
488 |
+
4,
|
489 |
+
1
|
490 |
+
],
|
491 |
+
"enc_dim": 128,
|
492 |
+
"enc_emb_dim": 192,
|
493 |
+
"enc_global_context": true,
|
494 |
+
"enc_kernel_sizes": [
|
495 |
+
5,
|
496 |
+
3,
|
497 |
+
3,
|
498 |
+
3,
|
499 |
+
1
|
500 |
+
],
|
501 |
+
"enc_lin_neurons": 192,
|
502 |
+
"enc_res2net_scale": 2,
|
503 |
+
"enc_se_channels": 64,
|
504 |
+
"encoder_no_repeat_ngram_size": 0,
|
505 |
+
"eos_token_id": null,
|
506 |
+
"exponential_decay_length_penalty": null,
|
507 |
+
"ff_mult": 2,
|
508 |
+
"finetuning_task": null,
|
509 |
+
"forced_bos_token_id": null,
|
510 |
+
"forced_eos_token_id": null,
|
511 |
+
"head_dim": 64,
|
512 |
+
"heads": 16,
|
513 |
+
"hidden_size": 1024,
|
514 |
+
"id2label": {
|
515 |
+
"0": "LABEL_0",
|
516 |
+
"1": "LABEL_1"
|
517 |
+
},
|
518 |
+
"is_decoder": false,
|
519 |
+
"is_encoder_decoder": false,
|
520 |
+
"label2id": {
|
521 |
+
"LABEL_0": 0,
|
522 |
+
"LABEL_1": 1
|
523 |
+
},
|
524 |
+
"length_penalty": 1.0,
|
525 |
+
"look_ahead_layers": [
|
526 |
+
10
|
527 |
+
],
|
528 |
+
"look_backward_layers": [
|
529 |
+
0,
|
530 |
+
20
|
531 |
+
],
|
532 |
+
"max_length": 20,
|
533 |
+
"max_position_embeddings": 32768,
|
534 |
+
"mel_dim": 80,
|
535 |
+
"min_length": 0,
|
536 |
+
"model_type": "qwen2_5_omni_dit",
|
537 |
+
"no_repeat_ngram_size": 0,
|
538 |
+
"num_attention_heads": 16,
|
539 |
+
"num_beam_groups": 1,
|
540 |
+
"num_beams": 1,
|
541 |
+
"num_embeds": 8193,
|
542 |
+
"num_hidden_layers": 22,
|
543 |
+
"num_return_sequences": 1,
|
544 |
+
"output_attentions": false,
|
545 |
+
"output_hidden_states": false,
|
546 |
+
"output_scores": false,
|
547 |
+
"pad_token_id": null,
|
548 |
+
"prefix": null,
|
549 |
+
"problem_type": null,
|
550 |
+
"pruned_heads": {},
|
551 |
+
"remove_invalid_values": false,
|
552 |
+
"repeats": 2,
|
553 |
+
"repetition_penalty": 1.0,
|
554 |
+
"return_dict": true,
|
555 |
+
"return_dict_in_generate": false,
|
556 |
+
"rope_theta": 10000.0,
|
557 |
+
"sep_token_id": null,
|
558 |
+
"suppress_tokens": null,
|
559 |
+
"task_specific_params": null,
|
560 |
+
"temperature": 1.0,
|
561 |
+
"tf_legacy_loss": false,
|
562 |
+
"tie_encoder_decoder": false,
|
563 |
+
"tie_word_embeddings": true,
|
564 |
+
"tokenizer_class": null,
|
565 |
+
"top_k": 50,
|
566 |
+
"top_p": 1.0,
|
567 |
+
"torch_dtype": "float32",
|
568 |
+
"torchscript": false,
|
569 |
+
"typical_p": 1.0,
|
570 |
+
"use_bfloat16": false
|
571 |
+
},
|
572 |
+
"model_type": "qwen2_5_omni_token2wav"
|
573 |
+
},
|
574 |
+
"torch_dtype": "bfloat16",
|
575 |
+
"transformers_version": "4.52.0.dev0",
|
576 |
+
"use_cache": true
|
577 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"do_sample": true,
|
4 |
+
"transformers_version": "4.52.0.dev0"
|
5 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27319a909f0d37fffddd1e4a8a4e8718b098be5027336f6fe765e4d2780c8b65
|
3 |
+
size 3979977176
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:327b0afe4b876755c3e6e82e20b18c181b127b0f64a9be2aff5785585267ffe8
|
3 |
+
size 3133378752
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c62153be9bf422c339d40b020f9b71982d32c61419f58d8e113231b70c7e81b
|
3 |
+
size 3993380128
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d33733bedd858bb3157d479eaba1388693f29b83a26e650810581f33eb1d1c79
|
3 |
+
size 1595686480
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chunk_length": 300,
|
3 |
+
"dither": 0.0,
|
4 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
5 |
+
"feature_size": 128,
|
6 |
+
"hop_length": 160,
|
7 |
+
"image_mean": [
|
8 |
+
0.48145466,
|
9 |
+
0.4578275,
|
10 |
+
0.40821073
|
11 |
+
],
|
12 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.26862954,
|
15 |
+
0.26130258,
|
16 |
+
0.27577711
|
17 |
+
],
|
18 |
+
"max_pixels": 12845056,
|
19 |
+
"merge_size": 2,
|
20 |
+
"min_pixels": 3136,
|
21 |
+
"n_fft": 400,
|
22 |
+
"n_samples": 4800000,
|
23 |
+
"nb_max_frames": 30000,
|
24 |
+
"padding_side": "right",
|
25 |
+
"padding_value": 0.0,
|
26 |
+
"patch_size": 14,
|
27 |
+
"processor_class": "Qwen2_5OmniProcessor",
|
28 |
+
"return_attention_mask": true,
|
29 |
+
"sampling_rate": 16000,
|
30 |
+
"temporal_patch_size": 2
|
31 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>",
|
5 |
+
"<|AUDIO|>",
|
6 |
+
"<|audio_bos|>",
|
7 |
+
"<|audio_eos|>",
|
8 |
+
"<|box_end|>",
|
9 |
+
"<|quad_start|>",
|
10 |
+
"<|quad_end|>",
|
11 |
+
"<|vision_bos|>",
|
12 |
+
"<|vision_eos|>",
|
13 |
+
"<|vision_pad|>",
|
14 |
+
"<|IMAGE|>",
|
15 |
+
"<|VIDEO|>"
|
16 |
+
],
|
17 |
+
"audio_bos_token": "<|audio_bos|>",
|
18 |
+
"audio_eos_token": "<|audio_eos|>",
|
19 |
+
"audio_token": "<|AUDIO|>",
|
20 |
+
"eos_token": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"image_token": "<|IMAGE|>",
|
28 |
+
"pad_token": {
|
29 |
+
"content": "<|endoftext|>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false
|
34 |
+
},
|
35 |
+
"video_token": "<|VIDEO|>",
|
36 |
+
"vision_bos_token": "<|vision_bos|>",
|
37 |
+
"vision_eos_token": "<|vision_eos|>"
|
38 |
+
}
|
spk_dict.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a05609b28f5d42b7b748f0f07592545c8f1f6885b9ae8fff64baf56e86b2a18
|
3 |
+
size 259544
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9711e245647e88538786834977dc8afb51172e879ee661352c587cf01efd6b0
|
3 |
+
size 11422037
|
tokenizer_config.json
ADDED
@@ -0,0 +1,222 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"151646": {
|
29 |
+
"content": "<|AUDIO|>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"151647": {
|
37 |
+
"content": "<|audio_bos|>",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"151648": {
|
45 |
+
"content": "<|audio_eos|>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
+
},
|
52 |
+
"151649": {
|
53 |
+
"content": "<|box_end|>",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": true
|
59 |
+
},
|
60 |
+
"151650": {
|
61 |
+
"content": "<|quad_start|>",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": true
|
67 |
+
},
|
68 |
+
"151651": {
|
69 |
+
"content": "<|quad_end|>",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": false,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": true
|
75 |
+
},
|
76 |
+
"151652": {
|
77 |
+
"content": "<|vision_bos|>",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": false,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": true
|
83 |
+
},
|
84 |
+
"151653": {
|
85 |
+
"content": "<|vision_eos|>",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": false,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": true
|
91 |
+
},
|
92 |
+
"151654": {
|
93 |
+
"content": "<|vision_pad|>",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": false,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": true
|
99 |
+
},
|
100 |
+
"151655": {
|
101 |
+
"content": "<|IMAGE|>",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": false,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": true
|
107 |
+
},
|
108 |
+
"151656": {
|
109 |
+
"content": "<|VIDEO|>",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": false,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false,
|
114 |
+
"special": true
|
115 |
+
},
|
116 |
+
"151657": {
|
117 |
+
"content": "<tool_call>",
|
118 |
+
"lstrip": false,
|
119 |
+
"normalized": false,
|
120 |
+
"rstrip": false,
|
121 |
+
"single_word": false,
|
122 |
+
"special": false
|
123 |
+
},
|
124 |
+
"151658": {
|
125 |
+
"content": "</tool_call>",
|
126 |
+
"lstrip": false,
|
127 |
+
"normalized": false,
|
128 |
+
"rstrip": false,
|
129 |
+
"single_word": false,
|
130 |
+
"special": false
|
131 |
+
},
|
132 |
+
"151659": {
|
133 |
+
"content": "<|fim_prefix|>",
|
134 |
+
"lstrip": false,
|
135 |
+
"normalized": false,
|
136 |
+
"rstrip": false,
|
137 |
+
"single_word": false,
|
138 |
+
"special": false
|
139 |
+
},
|
140 |
+
"151660": {
|
141 |
+
"content": "<|fim_middle|>",
|
142 |
+
"lstrip": false,
|
143 |
+
"normalized": false,
|
144 |
+
"rstrip": false,
|
145 |
+
"single_word": false,
|
146 |
+
"special": false
|
147 |
+
},
|
148 |
+
"151661": {
|
149 |
+
"content": "<|fim_suffix|>",
|
150 |
+
"lstrip": false,
|
151 |
+
"normalized": false,
|
152 |
+
"rstrip": false,
|
153 |
+
"single_word": false,
|
154 |
+
"special": false
|
155 |
+
},
|
156 |
+
"151662": {
|
157 |
+
"content": "<|fim_pad|>",
|
158 |
+
"lstrip": false,
|
159 |
+
"normalized": false,
|
160 |
+
"rstrip": false,
|
161 |
+
"single_word": false,
|
162 |
+
"special": false
|
163 |
+
},
|
164 |
+
"151663": {
|
165 |
+
"content": "<|repo_name|>",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": false,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false,
|
170 |
+
"special": false
|
171 |
+
},
|
172 |
+
"151664": {
|
173 |
+
"content": "<|file_sep|>",
|
174 |
+
"lstrip": false,
|
175 |
+
"normalized": false,
|
176 |
+
"rstrip": false,
|
177 |
+
"single_word": false,
|
178 |
+
"special": false
|
179 |
+
}
|
180 |
+
},
|
181 |
+
"additional_special_tokens": [
|
182 |
+
"<|im_start|>",
|
183 |
+
"<|im_end|>",
|
184 |
+
"<|AUDIO|>",
|
185 |
+
"<|audio_bos|>",
|
186 |
+
"<|audio_eos|>",
|
187 |
+
"<|box_end|>",
|
188 |
+
"<|quad_start|>",
|
189 |
+
"<|quad_end|>",
|
190 |
+
"<|vision_bos|>",
|
191 |
+
"<|vision_eos|>",
|
192 |
+
"<|vision_pad|>",
|
193 |
+
"<|IMAGE|>",
|
194 |
+
"<|VIDEO|>"
|
195 |
+
],
|
196 |
+
"audio_bos_token": "<|audio_bos|>",
|
197 |
+
"audio_eos_token": "<|audio_eos|>",
|
198 |
+
"audio_token": "<|AUDIO|>",
|
199 |
+
"bos_token": null,
|
200 |
+
"clean_up_tokenization_spaces": false,
|
201 |
+
"eos_token": "<|im_end|>",
|
202 |
+
"errors": "replace",
|
203 |
+
"extra_special_tokens": {
|
204 |
+
"audio_bos_token": "<|audio_bos|>",
|
205 |
+
"audio_eos_token": "<|audio_eos|>",
|
206 |
+
"audio_token": "<|AUDIO|>",
|
207 |
+
"image_token": "<|IMAGE|>",
|
208 |
+
"video_token": "<|VIDEO|>",
|
209 |
+
"vision_bos_token": "<|vision_bos|>",
|
210 |
+
"vision_eos_token": "<|vision_eos|>"
|
211 |
+
},
|
212 |
+
"image_token": "<|IMAGE|>",
|
213 |
+
"model_max_length": 32768,
|
214 |
+
"pad_token": "<|endoftext|>",
|
215 |
+
"processor_class": "Qwen2_5OmniProcessor",
|
216 |
+
"split_special_tokens": false,
|
217 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
218 |
+
"unk_token": null,
|
219 |
+
"video_token": "<|VIDEO|>",
|
220 |
+
"vision_bos_token": "<|vision_bos|>",
|
221 |
+
"vision_eos_token": "<|vision_eos|>"
|
222 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|