Audio-to-Audio
Transformers
Safetensors
PEFT
English
Chinese
speech-to-speech
simultaneous-translation
streaming
qwen2.5-omni
Instructions to use HA-SA-ki/SimulS2ST-Omni with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HA-SA-ki/SimulS2ST-Omni with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HA-SA-ki/SimulS2ST-Omni", device_map="auto") - PEFT
How to use HA-SA-ki/SimulS2ST-Omni with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Add files using upload-large-folder tool
Browse files- .gitattributes +4 -32
- LICENSE +201 -0
- MANIFEST.sha256 +35 -0
- README.md +78 -0
- dualcodec/dualcodec.safetensors +3 -0
- dualcodec/w2v_bert_stats.pt +3 -0
- offline/added_tokens.json +24 -0
- offline/chat_template.jinja +7 -0
- offline/config.json +636 -0
- offline/generation_config.json +4 -0
- offline/merges.txt +0 -0
- offline/model-00001-of-00003.safetensors +3 -0
- offline/model-00002-of-00003.safetensors +3 -0
- offline/model-00003-of-00003.safetensors +3 -0
- offline/model.safetensors.index.json +0 -0
- offline/preprocessor_config.json +31 -0
- offline/special_tokens_map.json +38 -0
- offline/spk_dict.pt +3 -0
- offline/tokenizer.json +3 -0
- offline/tokenizer_config.json +222 -0
- offline/vocab.json +0 -0
- simuls2st_adapter/added_tokens.json +24 -0
- simuls2st_adapter/chat_template.jinja +7 -0
- simuls2st_adapter/merges.txt +0 -0
- simuls2st_adapter/special_tokens_map.json +38 -0
- simuls2st_adapter/talker_components.pt +3 -0
- simuls2st_adapter/talker_lora/adapter_config.json +47 -0
- simuls2st_adapter/talker_lora/adapter_model.safetensors +3 -0
- simuls2st_adapter/thinker_lora/adapter_config.json +46 -0
- simuls2st_adapter/thinker_lora/adapter_model.safetensors +3 -0
- simuls2st_adapter/tokenizer.json +3 -0
- simuls2st_adapter/tokenizer_config.json +222 -0
- simuls2st_adapter/vocab.json +0 -0
- simuls2st_config.json +16 -0
- voicebox/vocos.safetensors +3 -0
- voicebox/voicebox.safetensors +3 -0
- voicebox/voicebox_config.json +59 -0
- w2v/UPSTREAM_README.md +184 -0
- w2v/config.json +81 -0
- w2v/model.safetensors +3 -0
- w2v/preprocessor_config.json +11 -0
.gitattributes
CHANGED
|
@@ -1,35 +1,7 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
| 5 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
offline/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
simuls2st_adapter/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 2026 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.
|
MANIFEST.sha256
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
87da456709ba201f4ae28da23cfd5a23f7d7ec5cc92f5c8c8a14124459553cb2 dualcodec/dualcodec.safetensors
|
| 2 |
+
c9c176c2b8850ab2e3ba828bbfa969deaf4566ce55db5f2687b8430b87526ad2 dualcodec/w2v_bert_stats.pt
|
| 3 |
+
f9e48d582c532555eb4aff3223ca7ab374be3ae6d113a55f13b035adeb1d4eaa voicebox/voicebox_config.json
|
| 4 |
+
5b5d1a46b19351c9a71bd8a5a59dd16be0be2ddefe70d3a0b4915d9a425e56d3 voicebox/vocos.safetensors
|
| 5 |
+
66a511e1d09513c8bd0b301464fc29938535de360b2b0e3a7646dc62f2f3083a voicebox/voicebox.safetensors
|
| 6 |
+
e81a2cc3bd867a1217019eed202d1d8a07e1063ece716f22060dda14f6cc07d8 offline/added_tokens.json
|
| 7 |
+
d027e14db2e64eb2c23597240d42ea747b4fd5efd6e6a7604a990949c610f79c offline/chat_template.jinja
|
| 8 |
+
eb86fdb035bb280f5cfe14154fc434e65563785350fdc47dfd05fd4719b7b990 offline/config.json
|
| 9 |
+
3ee3cbe9acb55059b37a4e90bb843812eb86f70c5ebea404f137cd9c80127870 offline/generation_config.json
|
| 10 |
+
8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5 offline/merges.txt
|
| 11 |
+
729ed0b6b19640bfbf616323d293cb893984bf545ab9cfe537cfc3a07209c93f offline/model-00001-of-00003.safetensors
|
| 12 |
+
6927c4454c4b9a44a8a4c62eb4ce963b31869d0b8cae7a2ec2485e84a0ebb043 offline/model-00002-of-00003.safetensors
|
| 13 |
+
7cb56110a905a848da1bb44f5410db9f3cdbb786f2c07f4772636e2871669903 offline/model-00003-of-00003.safetensors
|
| 14 |
+
086e7b66be0730f7959cceb8c31656f53124104b2206d88830d2e04a81ac1ce5 offline/model.safetensors.index.json
|
| 15 |
+
b47055ce61463ce143e9aab741d55c0aa520801a0a5d63be73c5b17cecb6bc69 offline/preprocessor_config.json
|
| 16 |
+
6a05609b28f5d42b7b748f0f07592545c8f1f6885b9ae8fff64baf56e86b2a18 offline/spk_dict.pt
|
| 17 |
+
db7fd39f5dc9ee37998c3ed04e3a3386989182a550064d2a2a9af16822cf22f4 offline/special_tokens_map.json
|
| 18 |
+
8441917e39ae0244e06d704b95b3124795cec478e297f9afac39ba670d7e9d99 offline/tokenizer.json
|
| 19 |
+
23ec41e1562bab95487376c350e16e72a1b5e1e14a33f88e3c212b17a57f72c1 offline/tokenizer_config.json
|
| 20 |
+
ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910 offline/vocab.json
|
| 21 |
+
e81a2cc3bd867a1217019eed202d1d8a07e1063ece716f22060dda14f6cc07d8 simuls2st_adapter/added_tokens.json
|
| 22 |
+
d027e14db2e64eb2c23597240d42ea747b4fd5efd6e6a7604a990949c610f79c simuls2st_adapter/chat_template.jinja
|
| 23 |
+
8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5 simuls2st_adapter/merges.txt
|
| 24 |
+
db7fd39f5dc9ee37998c3ed04e3a3386989182a550064d2a2a9af16822cf22f4 simuls2st_adapter/special_tokens_map.json
|
| 25 |
+
4413b21bd29740b16e9a4f3a23d1f6128bee496973418f0f40ff063dad9fb399 simuls2st_adapter/talker_components.pt
|
| 26 |
+
add7bfdd39c629e49203f125b217f6b84765a2e13959994ae6e83331949a5c9e simuls2st_adapter/talker_lora/adapter_config.json
|
| 27 |
+
7dbde3550838b390d171652cd23703083f2d0966cbdb4db0143e3245b6dc6a43 simuls2st_adapter/talker_lora/adapter_model.safetensors
|
| 28 |
+
38b8a2760c317a2db3a04515aa5b70bdf5581bd3c1584e438ad23c707439541d simuls2st_adapter/thinker_lora/adapter_config.json
|
| 29 |
+
5f93594b433826a7887d378886f16a0cedaa5abf26f74cf9eba5bb05659dcd97 simuls2st_adapter/thinker_lora/adapter_model.safetensors
|
| 30 |
+
8441917e39ae0244e06d704b95b3124795cec478e297f9afac39ba670d7e9d99 simuls2st_adapter/tokenizer.json
|
| 31 |
+
23ec41e1562bab95487376c350e16e72a1b5e1e14a33f88e3c212b17a57f72c1 simuls2st_adapter/tokenizer_config.json
|
| 32 |
+
ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910 simuls2st_adapter/vocab.json
|
| 33 |
+
eb890c9660ed6e3414b6812e27257b8ce5454365d5490d3ad581ea60b93be043 w2v/model.safetensors
|
| 34 |
+
f5572bd5998b68182e9c328a43127ed21fed687f6910497136b91a4e3b0e3675 w2v/config.json
|
| 35 |
+
8e6281aad64f97e40534135a59dcc5d33571efae376f2a25adf5551951897ab4 w2v/preprocessor_config.json
|
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- zh
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
library_name: transformers
|
| 7 |
+
pipeline_tag: audio-to-audio
|
| 8 |
+
tags:
|
| 9 |
+
- speech-to-speech
|
| 10 |
+
- simultaneous-translation
|
| 11 |
+
- streaming
|
| 12 |
+
- qwen2.5-omni
|
| 13 |
+
- peft
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# SimulS2ST-Omni model assets
|
| 17 |
+
|
| 18 |
+
Model assets for **SimulS2ST-Omni**, accepted by EMNLP 2026.
|
| 19 |
+
|
| 20 |
+
This repository is organized by runtime role and contains no optimizer,
|
| 21 |
+
scheduler, RNG, trainer-state, or step-numbered checkpoint directories.
|
| 22 |
+
|
| 23 |
+
## Layout
|
| 24 |
+
|
| 25 |
+
| Directory | Contents | Approximate size |
|
| 26 |
+
|---|---|---:|
|
| 27 |
+
| `offline/` | Fully merged OmniTalker model in standard sharded Transformers format, including processor and tokenizer files | 12 GB |
|
| 28 |
+
| `simuls2st_adapter/` | Simultaneous S2ST thinker/talker LoRA adapters, talker components, and tokenizer files | 893 MB |
|
| 29 |
+
| `voicebox/` | VoiceBox, Vocos, and `voicebox_config.json` | 2.3 GB |
|
| 30 |
+
| `dualcodec/` | DualCodec weights and W2V-BERT normalization statistics | 321 MB |
|
| 31 |
+
| `w2v/` | `facebook/w2v-bert-2.0` feature model used by the codec tokenizer | 2.2 GB |
|
| 32 |
+
|
| 33 |
+
The root `simuls2st_config.json` records the canonical relative path for every
|
| 34 |
+
runtime component. `MANIFEST.sha256` verifies all runtime assets.
|
| 35 |
+
|
| 36 |
+
## Download
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
hf download HA-SA-ki/SimulS2ST-Omni \
|
| 40 |
+
--local-dir models/SimulS2ST-Omni
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Runtime paths
|
| 44 |
+
|
| 45 |
+
```text
|
| 46 |
+
models/SimulS2ST-Omni/offline
|
| 47 |
+
models/SimulS2ST-Omni/simuls2st_adapter
|
| 48 |
+
models/SimulS2ST-Omni/voicebox/voicebox.safetensors
|
| 49 |
+
models/SimulS2ST-Omni/voicebox/vocos.safetensors
|
| 50 |
+
models/SimulS2ST-Omni/voicebox/voicebox_config.json
|
| 51 |
+
models/SimulS2ST-Omni/dualcodec/dualcodec.safetensors
|
| 52 |
+
models/SimulS2ST-Omni/dualcodec/w2v_bert_stats.pt
|
| 53 |
+
models/SimulS2ST-Omni/w2v
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
For offline inference, use `offline/` as both the model and checkpoint path.
|
| 57 |
+
For simultaneous streaming inference, use `offline/` as the base model and
|
| 58 |
+
`simuls2st_adapter/` as the adapter/checkpoint path.
|
| 59 |
+
|
| 60 |
+
## License
|
| 61 |
+
|
| 62 |
+
The SimulS2ST-Omni model weights are released under the
|
| 63 |
+
[Apache License 2.0](LICENSE). Qwen, VoiceBox, DualCodec, W2V-BERT, and other
|
| 64 |
+
upstream components retain their respective attribution notices and license
|
| 65 |
+
conditions.
|
| 66 |
+
|
| 67 |
+
The `w2v/` directory is a local copy of
|
| 68 |
+
[`facebook/w2v-bert-2.0`](https://huggingface.co/facebook/w2v-bert-2.0), whose
|
| 69 |
+
upstream model card declares the MIT license. A copy of that model card is kept
|
| 70 |
+
at `w2v/UPSTREAM_README.md`.
|
| 71 |
+
|
| 72 |
+
## Upload
|
| 73 |
+
|
| 74 |
+
Upload large files with the Hugging Face CLI rather than a regular Git push:
|
| 75 |
+
|
| 76 |
+
```bash
|
| 77 |
+
hf upload-large-folder HA-SA-ki/SimulS2ST-Omni . --repo-type model
|
| 78 |
+
```
|
dualcodec/dualcodec.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87da456709ba201f4ae28da23cfd5a23f7d7ec5cc92f5c8c8a14124459553cb2
|
| 3 |
+
size 336105136
|
dualcodec/w2v_bert_stats.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9c176c2b8850ab2e3ba828bbfa969deaf4566ce55db5f2687b8430b87526ad2
|
| 3 |
+
size 9343
|
offline/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 |
+
}
|
offline/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 %}
|
offline/config.json
ADDED
|
@@ -0,0 +1,636 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2_5OmniForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"enable_audio_output": true,
|
| 7 |
+
"enable_talker": true,
|
| 8 |
+
"model_type": "qwen2_5_omni",
|
| 9 |
+
"talker_config": {
|
| 10 |
+
"_attn_implementation_autoset": true,
|
| 11 |
+
"_name_or_path": "Qwen2.5-Omni-3B/talker",
|
| 12 |
+
"architectures": [
|
| 13 |
+
"Qwen2OmniTalkerForConditionalGeneration"
|
| 14 |
+
],
|
| 15 |
+
"attention_dropout": 0.0,
|
| 16 |
+
"audio_end_token_id": 151648,
|
| 17 |
+
"audio_start_token_id": 151647,
|
| 18 |
+
"audio_token_index": 151646,
|
| 19 |
+
"dtype": "bfloat16",
|
| 20 |
+
"embedding_size": 2048,
|
| 21 |
+
"head_dim": 64,
|
| 22 |
+
"hidden_act": "silu",
|
| 23 |
+
"hidden_size": 896,
|
| 24 |
+
"image_token_index": 151655,
|
| 25 |
+
"init_std": 0.02,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 4864,
|
| 28 |
+
"layer_types": [
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"full_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"full_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"full_attention"
|
| 53 |
+
],
|
| 54 |
+
"max_position_embeddings": 32768,
|
| 55 |
+
"max_window_layers": 28,
|
| 56 |
+
"model_type": "qwen2_5_omni_talker",
|
| 57 |
+
"num_attention_heads": 14,
|
| 58 |
+
"num_hidden_layers": 24,
|
| 59 |
+
"num_key_value_heads": 2,
|
| 60 |
+
"position_id_per_seconds": 25,
|
| 61 |
+
"rms_norm_eps": 1e-06,
|
| 62 |
+
"rope_scaling": {
|
| 63 |
+
"mrope_section": [
|
| 64 |
+
16,
|
| 65 |
+
16,
|
| 66 |
+
0
|
| 67 |
+
],
|
| 68 |
+
"rope_type": "default",
|
| 69 |
+
"type": "default"
|
| 70 |
+
},
|
| 71 |
+
"rope_theta": 1000000.0,
|
| 72 |
+
"seconds_per_chunk": 2,
|
| 73 |
+
"sliding_window": null,
|
| 74 |
+
"spatial_merge_size": 2,
|
| 75 |
+
"tts_codec_end_token_id": 16386,
|
| 76 |
+
"tts_codec_mask_token_id": 16387,
|
| 77 |
+
"tts_codec_pad_token_id": 16384,
|
| 78 |
+
"tts_codec_start_token_id": 16385,
|
| 79 |
+
"tts_text_end_token_id": 151861,
|
| 80 |
+
"tts_text_pad_token_id": 151859,
|
| 81 |
+
"tts_text_start_token_id": 151860,
|
| 82 |
+
"use_cache": true,
|
| 83 |
+
"use_sliding_window": false,
|
| 84 |
+
"video_token_index": 151656,
|
| 85 |
+
"vision_end_token_id": 151653,
|
| 86 |
+
"vision_start_token_id": 151652,
|
| 87 |
+
"vocab_size": 16388
|
| 88 |
+
},
|
| 89 |
+
"thinker_config": {
|
| 90 |
+
"_attn_implementation_autoset": true,
|
| 91 |
+
"_name_or_path": "Qwen2.5-Omni-3B/thinker",
|
| 92 |
+
"architectures": [
|
| 93 |
+
"Qwen2OmniNaViTThinkerForConditionalGeneration"
|
| 94 |
+
],
|
| 95 |
+
"audio_config": {
|
| 96 |
+
"_attn_implementation_autoset": true,
|
| 97 |
+
"_name_or_path": "",
|
| 98 |
+
"activation_dropout": 0.0,
|
| 99 |
+
"activation_function": "gelu",
|
| 100 |
+
"add_cross_attention": false,
|
| 101 |
+
"architectures": null,
|
| 102 |
+
"attention_dropout": 0.0,
|
| 103 |
+
"bad_words_ids": null,
|
| 104 |
+
"begin_suppress_tokens": null,
|
| 105 |
+
"bos_token_id": null,
|
| 106 |
+
"chunk_size_feed_forward": 0,
|
| 107 |
+
"cross_attention_hidden_size": null,
|
| 108 |
+
"d_model": 1280,
|
| 109 |
+
"decoder_start_token_id": null,
|
| 110 |
+
"diversity_penalty": 0.0,
|
| 111 |
+
"do_sample": false,
|
| 112 |
+
"dropout": 0.0,
|
| 113 |
+
"dtype": null,
|
| 114 |
+
"early_stopping": false,
|
| 115 |
+
"encoder_attention_heads": 20,
|
| 116 |
+
"encoder_ffn_dim": 5120,
|
| 117 |
+
"encoder_layerdrop": 0.0,
|
| 118 |
+
"encoder_layers": 32,
|
| 119 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 120 |
+
"eos_token_id": null,
|
| 121 |
+
"exponential_decay_length_penalty": null,
|
| 122 |
+
"finetuning_task": null,
|
| 123 |
+
"forced_bos_token_id": null,
|
| 124 |
+
"forced_eos_token_id": null,
|
| 125 |
+
"id2label": {
|
| 126 |
+
"0": "LABEL_0",
|
| 127 |
+
"1": "LABEL_1"
|
| 128 |
+
},
|
| 129 |
+
"init_std": 0.02,
|
| 130 |
+
"initializer_range": 0.02,
|
| 131 |
+
"is_decoder": false,
|
| 132 |
+
"is_encoder_decoder": false,
|
| 133 |
+
"label2id": {
|
| 134 |
+
"LABEL_0": 0,
|
| 135 |
+
"LABEL_1": 1
|
| 136 |
+
},
|
| 137 |
+
"length_penalty": 1.0,
|
| 138 |
+
"max_length": 20,
|
| 139 |
+
"max_source_positions": 1500,
|
| 140 |
+
"min_length": 0,
|
| 141 |
+
"model_type": "qwen2_5_omni_audio_encoder",
|
| 142 |
+
"n_window": 100,
|
| 143 |
+
"no_repeat_ngram_size": 0,
|
| 144 |
+
"num_beam_groups": 1,
|
| 145 |
+
"num_beams": 1,
|
| 146 |
+
"num_hidden_layers": 32,
|
| 147 |
+
"num_mel_bins": 128,
|
| 148 |
+
"num_return_sequences": 1,
|
| 149 |
+
"output_attentions": false,
|
| 150 |
+
"output_dim": 2048,
|
| 151 |
+
"output_hidden_states": false,
|
| 152 |
+
"output_scores": false,
|
| 153 |
+
"pad_token_id": null,
|
| 154 |
+
"prefix": null,
|
| 155 |
+
"problem_type": null,
|
| 156 |
+
"pruned_heads": {},
|
| 157 |
+
"remove_invalid_values": false,
|
| 158 |
+
"repetition_penalty": 1.0,
|
| 159 |
+
"return_dict": true,
|
| 160 |
+
"return_dict_in_generate": false,
|
| 161 |
+
"scale_embedding": false,
|
| 162 |
+
"sep_token_id": null,
|
| 163 |
+
"suppress_tokens": null,
|
| 164 |
+
"task_specific_params": null,
|
| 165 |
+
"temperature": 1.0,
|
| 166 |
+
"tf_legacy_loss": false,
|
| 167 |
+
"tie_encoder_decoder": false,
|
| 168 |
+
"tie_word_embeddings": true,
|
| 169 |
+
"tokenizer_class": null,
|
| 170 |
+
"top_k": 50,
|
| 171 |
+
"top_p": 1.0,
|
| 172 |
+
"torchscript": false,
|
| 173 |
+
"typical_p": 1.0,
|
| 174 |
+
"use_bfloat16": false
|
| 175 |
+
},
|
| 176 |
+
"audio_end_token_id": 151648,
|
| 177 |
+
"audio_start_token_id": 151647,
|
| 178 |
+
"audio_token_index": 151646,
|
| 179 |
+
"bos_token_id": 151644,
|
| 180 |
+
"dtype": "bfloat16",
|
| 181 |
+
"eos_token_id": 151645,
|
| 182 |
+
"ignore_index": -100,
|
| 183 |
+
"image_token_index": 151655,
|
| 184 |
+
"init_std": 0.02,
|
| 185 |
+
"initializer_range": 0.02,
|
| 186 |
+
"model_type": "qwen2_5_omni_thinker",
|
| 187 |
+
"pad_token_id": 151643,
|
| 188 |
+
"position_id_per_seconds": 25,
|
| 189 |
+
"seconds_per_chunk": 2,
|
| 190 |
+
"text_config": {
|
| 191 |
+
"_name_or_path": "",
|
| 192 |
+
"add_cross_attention": false,
|
| 193 |
+
"architectures": null,
|
| 194 |
+
"attention_dropout": 0.0,
|
| 195 |
+
"bad_words_ids": null,
|
| 196 |
+
"begin_suppress_tokens": null,
|
| 197 |
+
"bos_token_id": null,
|
| 198 |
+
"chunk_size_feed_forward": 0,
|
| 199 |
+
"cross_attention_hidden_size": null,
|
| 200 |
+
"decoder_start_token_id": null,
|
| 201 |
+
"diversity_penalty": 0.0,
|
| 202 |
+
"do_sample": false,
|
| 203 |
+
"dtype": null,
|
| 204 |
+
"early_stopping": false,
|
| 205 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 206 |
+
"eos_token_id": null,
|
| 207 |
+
"exponential_decay_length_penalty": null,
|
| 208 |
+
"finetuning_task": null,
|
| 209 |
+
"forced_bos_token_id": null,
|
| 210 |
+
"forced_eos_token_id": null,
|
| 211 |
+
"hidden_act": "silu",
|
| 212 |
+
"hidden_size": 2048,
|
| 213 |
+
"id2label": {
|
| 214 |
+
"0": "LABEL_0",
|
| 215 |
+
"1": "LABEL_1"
|
| 216 |
+
},
|
| 217 |
+
"init_std": 0.02,
|
| 218 |
+
"initializer_range": 0.02,
|
| 219 |
+
"intermediate_size": 11008,
|
| 220 |
+
"is_decoder": false,
|
| 221 |
+
"is_encoder_decoder": false,
|
| 222 |
+
"label2id": {
|
| 223 |
+
"LABEL_0": 0,
|
| 224 |
+
"LABEL_1": 1
|
| 225 |
+
},
|
| 226 |
+
"layer_types": [
|
| 227 |
+
"full_attention",
|
| 228 |
+
"full_attention",
|
| 229 |
+
"full_attention",
|
| 230 |
+
"full_attention",
|
| 231 |
+
"full_attention",
|
| 232 |
+
"full_attention",
|
| 233 |
+
"full_attention",
|
| 234 |
+
"full_attention",
|
| 235 |
+
"full_attention",
|
| 236 |
+
"full_attention",
|
| 237 |
+
"full_attention",
|
| 238 |
+
"full_attention",
|
| 239 |
+
"full_attention",
|
| 240 |
+
"full_attention",
|
| 241 |
+
"full_attention",
|
| 242 |
+
"full_attention",
|
| 243 |
+
"full_attention",
|
| 244 |
+
"full_attention",
|
| 245 |
+
"full_attention",
|
| 246 |
+
"full_attention",
|
| 247 |
+
"full_attention",
|
| 248 |
+
"full_attention",
|
| 249 |
+
"full_attention",
|
| 250 |
+
"full_attention",
|
| 251 |
+
"full_attention",
|
| 252 |
+
"full_attention",
|
| 253 |
+
"full_attention",
|
| 254 |
+
"full_attention",
|
| 255 |
+
"full_attention",
|
| 256 |
+
"full_attention",
|
| 257 |
+
"full_attention",
|
| 258 |
+
"full_attention",
|
| 259 |
+
"full_attention",
|
| 260 |
+
"full_attention",
|
| 261 |
+
"full_attention",
|
| 262 |
+
"full_attention"
|
| 263 |
+
],
|
| 264 |
+
"length_penalty": 1.0,
|
| 265 |
+
"max_length": 20,
|
| 266 |
+
"max_position_embeddings": 32768,
|
| 267 |
+
"max_window_layers": 70,
|
| 268 |
+
"min_length": 0,
|
| 269 |
+
"model_type": "qwen2_5_omni_text",
|
| 270 |
+
"no_repeat_ngram_size": 0,
|
| 271 |
+
"num_attention_heads": 16,
|
| 272 |
+
"num_beam_groups": 1,
|
| 273 |
+
"num_beams": 1,
|
| 274 |
+
"num_hidden_layers": 36,
|
| 275 |
+
"num_key_value_heads": 2,
|
| 276 |
+
"num_return_sequences": 1,
|
| 277 |
+
"output_attentions": false,
|
| 278 |
+
"output_hidden_states": false,
|
| 279 |
+
"output_scores": false,
|
| 280 |
+
"pad_token_id": null,
|
| 281 |
+
"prefix": null,
|
| 282 |
+
"problem_type": null,
|
| 283 |
+
"pruned_heads": {},
|
| 284 |
+
"remove_invalid_values": false,
|
| 285 |
+
"repetition_penalty": 1.0,
|
| 286 |
+
"return_dict": true,
|
| 287 |
+
"return_dict_in_generate": false,
|
| 288 |
+
"rms_norm_eps": 1e-06,
|
| 289 |
+
"rope_scaling": {
|
| 290 |
+
"mrope_section": [
|
| 291 |
+
16,
|
| 292 |
+
24,
|
| 293 |
+
24
|
| 294 |
+
],
|
| 295 |
+
"rope_type": "default",
|
| 296 |
+
"type": "default"
|
| 297 |
+
},
|
| 298 |
+
"rope_theta": 1000000.0,
|
| 299 |
+
"sep_token_id": null,
|
| 300 |
+
"sliding_window": null,
|
| 301 |
+
"suppress_tokens": null,
|
| 302 |
+
"task_specific_params": null,
|
| 303 |
+
"temperature": 1.0,
|
| 304 |
+
"tf_legacy_loss": false,
|
| 305 |
+
"tie_encoder_decoder": false,
|
| 306 |
+
"tie_word_embeddings": false,
|
| 307 |
+
"tokenizer_class": null,
|
| 308 |
+
"top_k": 50,
|
| 309 |
+
"top_p": 1.0,
|
| 310 |
+
"torchscript": false,
|
| 311 |
+
"typical_p": 1.0,
|
| 312 |
+
"use_bfloat16": false,
|
| 313 |
+
"use_cache": true,
|
| 314 |
+
"use_sliding_window": false,
|
| 315 |
+
"vocab_size": 151936
|
| 316 |
+
},
|
| 317 |
+
"user_token_id": 872,
|
| 318 |
+
"video_token_index": 151656,
|
| 319 |
+
"vision_config": {
|
| 320 |
+
"_attn_implementation_autoset": true,
|
| 321 |
+
"_name_or_path": "",
|
| 322 |
+
"add_cross_attention": false,
|
| 323 |
+
"architectures": null,
|
| 324 |
+
"bad_words_ids": null,
|
| 325 |
+
"begin_suppress_tokens": null,
|
| 326 |
+
"bos_token_id": null,
|
| 327 |
+
"chunk_size_feed_forward": 0,
|
| 328 |
+
"cross_attention_hidden_size": null,
|
| 329 |
+
"decoder_start_token_id": null,
|
| 330 |
+
"depth": 32,
|
| 331 |
+
"diversity_penalty": 0.0,
|
| 332 |
+
"do_sample": false,
|
| 333 |
+
"dtype": null,
|
| 334 |
+
"early_stopping": false,
|
| 335 |
+
"embed_dim": 1280,
|
| 336 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 337 |
+
"eos_token_id": null,
|
| 338 |
+
"exponential_decay_length_penalty": null,
|
| 339 |
+
"finetuning_task": null,
|
| 340 |
+
"forced_bos_token_id": null,
|
| 341 |
+
"forced_eos_token_id": null,
|
| 342 |
+
"fullatt_block_indexes": [
|
| 343 |
+
7,
|
| 344 |
+
15,
|
| 345 |
+
23,
|
| 346 |
+
31
|
| 347 |
+
],
|
| 348 |
+
"hidden_act": "silu",
|
| 349 |
+
"hidden_size": 1280,
|
| 350 |
+
"id2label": {
|
| 351 |
+
"0": "LABEL_0",
|
| 352 |
+
"1": "LABEL_1"
|
| 353 |
+
},
|
| 354 |
+
"in_channels": 3,
|
| 355 |
+
"in_chans": 3,
|
| 356 |
+
"init_std": 0.02,
|
| 357 |
+
"initializer_range": 0.02,
|
| 358 |
+
"intermediate_size": 3420,
|
| 359 |
+
"is_decoder": false,
|
| 360 |
+
"is_encoder_decoder": false,
|
| 361 |
+
"label2id": {
|
| 362 |
+
"LABEL_0": 0,
|
| 363 |
+
"LABEL_1": 1
|
| 364 |
+
},
|
| 365 |
+
"length_penalty": 1.0,
|
| 366 |
+
"max_length": 20,
|
| 367 |
+
"min_length": 0,
|
| 368 |
+
"model_type": "qwen2_5_omni_vision_encoder",
|
| 369 |
+
"no_repeat_ngram_size": 0,
|
| 370 |
+
"num_beam_groups": 1,
|
| 371 |
+
"num_beams": 1,
|
| 372 |
+
"num_heads": 16,
|
| 373 |
+
"num_return_sequences": 1,
|
| 374 |
+
"out_hidden_size": 2048,
|
| 375 |
+
"output_attentions": false,
|
| 376 |
+
"output_hidden_states": false,
|
| 377 |
+
"output_scores": false,
|
| 378 |
+
"pad_token_id": null,
|
| 379 |
+
"patch_size": 14,
|
| 380 |
+
"prefix": null,
|
| 381 |
+
"problem_type": null,
|
| 382 |
+
"pruned_heads": {},
|
| 383 |
+
"remove_invalid_values": false,
|
| 384 |
+
"repetition_penalty": 1.0,
|
| 385 |
+
"return_dict": true,
|
| 386 |
+
"return_dict_in_generate": false,
|
| 387 |
+
"sep_token_id": null,
|
| 388 |
+
"spatial_merge_size": 2,
|
| 389 |
+
"spatial_patch_size": 14,
|
| 390 |
+
"suppress_tokens": null,
|
| 391 |
+
"task_specific_params": null,
|
| 392 |
+
"temperature": 1.0,
|
| 393 |
+
"temporal_patch_size": 2,
|
| 394 |
+
"tf_legacy_loss": false,
|
| 395 |
+
"tie_encoder_decoder": false,
|
| 396 |
+
"tie_word_embeddings": true,
|
| 397 |
+
"tokenizer_class": null,
|
| 398 |
+
"tokens_per_second": 25,
|
| 399 |
+
"top_k": 50,
|
| 400 |
+
"top_p": 1.0,
|
| 401 |
+
"torchscript": false,
|
| 402 |
+
"typical_p": 1.0,
|
| 403 |
+
"use_bfloat16": false,
|
| 404 |
+
"window_size": 112
|
| 405 |
+
},
|
| 406 |
+
"vision_end_token_id": 151653,
|
| 407 |
+
"vision_start_token_id": 151652,
|
| 408 |
+
"vision_token_id": 151654
|
| 409 |
+
},
|
| 410 |
+
"token2wav_config": {
|
| 411 |
+
"_attn_implementation_autoset": true,
|
| 412 |
+
"bigvgan_config": {
|
| 413 |
+
"_attn_implementation_autoset": true,
|
| 414 |
+
"_name_or_path": "",
|
| 415 |
+
"add_cross_attention": false,
|
| 416 |
+
"architectures": null,
|
| 417 |
+
"bad_words_ids": null,
|
| 418 |
+
"begin_suppress_tokens": null,
|
| 419 |
+
"bos_token_id": null,
|
| 420 |
+
"chunk_size_feed_forward": 0,
|
| 421 |
+
"cross_attention_hidden_size": null,
|
| 422 |
+
"decoder_start_token_id": null,
|
| 423 |
+
"diversity_penalty": 0.0,
|
| 424 |
+
"do_sample": false,
|
| 425 |
+
"dtype": null,
|
| 426 |
+
"early_stopping": false,
|
| 427 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 428 |
+
"eos_token_id": null,
|
| 429 |
+
"exponential_decay_length_penalty": null,
|
| 430 |
+
"finetuning_task": null,
|
| 431 |
+
"forced_bos_token_id": null,
|
| 432 |
+
"forced_eos_token_id": null,
|
| 433 |
+
"id2label": {
|
| 434 |
+
"0": "LABEL_0",
|
| 435 |
+
"1": "LABEL_1"
|
| 436 |
+
},
|
| 437 |
+
"is_decoder": false,
|
| 438 |
+
"is_encoder_decoder": false,
|
| 439 |
+
"label2id": {
|
| 440 |
+
"LABEL_0": 0,
|
| 441 |
+
"LABEL_1": 1
|
| 442 |
+
},
|
| 443 |
+
"length_penalty": 1.0,
|
| 444 |
+
"max_length": 20,
|
| 445 |
+
"mel_dim": 80,
|
| 446 |
+
"min_length": 0,
|
| 447 |
+
"model_type": "qwen2_5_omni_bigvgan",
|
| 448 |
+
"no_repeat_ngram_size": 0,
|
| 449 |
+
"num_beam_groups": 1,
|
| 450 |
+
"num_beams": 1,
|
| 451 |
+
"num_return_sequences": 1,
|
| 452 |
+
"output_attentions": false,
|
| 453 |
+
"output_hidden_states": false,
|
| 454 |
+
"output_scores": false,
|
| 455 |
+
"pad_token_id": null,
|
| 456 |
+
"prefix": null,
|
| 457 |
+
"problem_type": null,
|
| 458 |
+
"pruned_heads": {},
|
| 459 |
+
"remove_invalid_values": false,
|
| 460 |
+
"repetition_penalty": 1.0,
|
| 461 |
+
"resblock_dilation_sizes": [
|
| 462 |
+
[
|
| 463 |
+
1,
|
| 464 |
+
3,
|
| 465 |
+
5
|
| 466 |
+
],
|
| 467 |
+
[
|
| 468 |
+
1,
|
| 469 |
+
3,
|
| 470 |
+
5
|
| 471 |
+
],
|
| 472 |
+
[
|
| 473 |
+
1,
|
| 474 |
+
3,
|
| 475 |
+
5
|
| 476 |
+
]
|
| 477 |
+
],
|
| 478 |
+
"resblock_kernel_sizes": [
|
| 479 |
+
3,
|
| 480 |
+
7,
|
| 481 |
+
11
|
| 482 |
+
],
|
| 483 |
+
"return_dict": true,
|
| 484 |
+
"return_dict_in_generate": false,
|
| 485 |
+
"sep_token_id": null,
|
| 486 |
+
"suppress_tokens": null,
|
| 487 |
+
"task_specific_params": null,
|
| 488 |
+
"temperature": 1.0,
|
| 489 |
+
"tf_legacy_loss": false,
|
| 490 |
+
"tie_encoder_decoder": false,
|
| 491 |
+
"tie_word_embeddings": true,
|
| 492 |
+
"tokenizer_class": null,
|
| 493 |
+
"top_k": 50,
|
| 494 |
+
"top_p": 1.0,
|
| 495 |
+
"torchscript": false,
|
| 496 |
+
"typical_p": 1.0,
|
| 497 |
+
"upsample_initial_channel": 1536,
|
| 498 |
+
"upsample_kernel_sizes": [
|
| 499 |
+
11,
|
| 500 |
+
7,
|
| 501 |
+
4,
|
| 502 |
+
4,
|
| 503 |
+
4,
|
| 504 |
+
4
|
| 505 |
+
],
|
| 506 |
+
"upsample_rates": [
|
| 507 |
+
5,
|
| 508 |
+
3,
|
| 509 |
+
2,
|
| 510 |
+
2,
|
| 511 |
+
2,
|
| 512 |
+
2
|
| 513 |
+
],
|
| 514 |
+
"use_bfloat16": false,
|
| 515 |
+
"use_bias_at_final": false
|
| 516 |
+
},
|
| 517 |
+
"dit_config": {
|
| 518 |
+
"_attn_implementation_autoset": true,
|
| 519 |
+
"_name_or_path": "",
|
| 520 |
+
"add_cross_attention": false,
|
| 521 |
+
"architectures": null,
|
| 522 |
+
"bad_words_ids": null,
|
| 523 |
+
"begin_suppress_tokens": null,
|
| 524 |
+
"block_size": 24,
|
| 525 |
+
"bos_token_id": null,
|
| 526 |
+
"chunk_size_feed_forward": 0,
|
| 527 |
+
"cross_attention_hidden_size": null,
|
| 528 |
+
"decoder_start_token_id": null,
|
| 529 |
+
"depth": 22,
|
| 530 |
+
"dim": 1024,
|
| 531 |
+
"diversity_penalty": 0.0,
|
| 532 |
+
"do_sample": false,
|
| 533 |
+
"dropout": 0.1,
|
| 534 |
+
"dtype": "float32",
|
| 535 |
+
"early_stopping": false,
|
| 536 |
+
"emb_dim": 512,
|
| 537 |
+
"enc_attention_channels": 64,
|
| 538 |
+
"enc_channels": [
|
| 539 |
+
256,
|
| 540 |
+
256,
|
| 541 |
+
256,
|
| 542 |
+
256,
|
| 543 |
+
768
|
| 544 |
+
],
|
| 545 |
+
"enc_dilations": [
|
| 546 |
+
1,
|
| 547 |
+
2,
|
| 548 |
+
3,
|
| 549 |
+
4,
|
| 550 |
+
1
|
| 551 |
+
],
|
| 552 |
+
"enc_dim": 128,
|
| 553 |
+
"enc_emb_dim": 192,
|
| 554 |
+
"enc_global_context": true,
|
| 555 |
+
"enc_kernel_sizes": [
|
| 556 |
+
5,
|
| 557 |
+
3,
|
| 558 |
+
3,
|
| 559 |
+
3,
|
| 560 |
+
1
|
| 561 |
+
],
|
| 562 |
+
"enc_lin_neurons": 192,
|
| 563 |
+
"enc_res2net_scale": 2,
|
| 564 |
+
"enc_se_channels": 64,
|
| 565 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 566 |
+
"eos_token_id": null,
|
| 567 |
+
"exponential_decay_length_penalty": null,
|
| 568 |
+
"ff_mult": 2,
|
| 569 |
+
"finetuning_task": null,
|
| 570 |
+
"forced_bos_token_id": null,
|
| 571 |
+
"forced_eos_token_id": null,
|
| 572 |
+
"head_dim": 64,
|
| 573 |
+
"heads": 16,
|
| 574 |
+
"hidden_size": 1024,
|
| 575 |
+
"id2label": {
|
| 576 |
+
"0": "LABEL_0",
|
| 577 |
+
"1": "LABEL_1"
|
| 578 |
+
},
|
| 579 |
+
"is_decoder": false,
|
| 580 |
+
"is_encoder_decoder": false,
|
| 581 |
+
"label2id": {
|
| 582 |
+
"LABEL_0": 0,
|
| 583 |
+
"LABEL_1": 1
|
| 584 |
+
},
|
| 585 |
+
"length_penalty": 1.0,
|
| 586 |
+
"look_ahead_layers": [
|
| 587 |
+
10
|
| 588 |
+
],
|
| 589 |
+
"look_backward_layers": [
|
| 590 |
+
0,
|
| 591 |
+
20
|
| 592 |
+
],
|
| 593 |
+
"max_length": 20,
|
| 594 |
+
"max_position_embeddings": 32768,
|
| 595 |
+
"mel_dim": 80,
|
| 596 |
+
"min_length": 0,
|
| 597 |
+
"model_type": "qwen2_5_omni_dit",
|
| 598 |
+
"no_repeat_ngram_size": 0,
|
| 599 |
+
"num_attention_heads": 16,
|
| 600 |
+
"num_beam_groups": 1,
|
| 601 |
+
"num_beams": 1,
|
| 602 |
+
"num_embeds": 8193,
|
| 603 |
+
"num_hidden_layers": 22,
|
| 604 |
+
"num_return_sequences": 1,
|
| 605 |
+
"output_attentions": false,
|
| 606 |
+
"output_hidden_states": false,
|
| 607 |
+
"output_scores": false,
|
| 608 |
+
"pad_token_id": null,
|
| 609 |
+
"prefix": null,
|
| 610 |
+
"problem_type": null,
|
| 611 |
+
"pruned_heads": {},
|
| 612 |
+
"remove_invalid_values": false,
|
| 613 |
+
"repeats": 2,
|
| 614 |
+
"repetition_penalty": 1.0,
|
| 615 |
+
"return_dict": true,
|
| 616 |
+
"return_dict_in_generate": false,
|
| 617 |
+
"rope_theta": 10000.0,
|
| 618 |
+
"sep_token_id": null,
|
| 619 |
+
"suppress_tokens": null,
|
| 620 |
+
"task_specific_params": null,
|
| 621 |
+
"temperature": 1.0,
|
| 622 |
+
"tf_legacy_loss": false,
|
| 623 |
+
"tie_encoder_decoder": false,
|
| 624 |
+
"tie_word_embeddings": true,
|
| 625 |
+
"tokenizer_class": null,
|
| 626 |
+
"top_k": 50,
|
| 627 |
+
"top_p": 1.0,
|
| 628 |
+
"torchscript": false,
|
| 629 |
+
"typical_p": 1.0,
|
| 630 |
+
"use_bfloat16": false
|
| 631 |
+
},
|
| 632 |
+
"dtype": "bfloat16",
|
| 633 |
+
"model_type": "qwen2_5_omni_token2wav"
|
| 634 |
+
},
|
| 635 |
+
"transformers_version": "4.57.6"
|
| 636 |
+
}
|
offline/generation_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"transformers_version": "4.57.6"
|
| 4 |
+
}
|
offline/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
offline/model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:729ed0b6b19640bfbf616323d293cb893984bf545ab9cfe537cfc3a07209c93f
|
| 3 |
+
size 4994850880
|
offline/model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6927c4454c4b9a44a8a4c62eb4ce963b31869d0b8cae7a2ec2485e84a0ebb043
|
| 3 |
+
size 4993767120
|
offline/model-00003-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cb56110a905a848da1bb44f5410db9f3cdbb786f2c07f4772636e2871669903
|
| 3 |
+
size 2030795984
|
offline/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
offline/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 |
+
}
|
offline/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 |
+
}
|
offline/spk_dict.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a05609b28f5d42b7b748f0f07592545c8f1f6885b9ae8fff64baf56e86b2a18
|
| 3 |
+
size 259544
|
offline/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8441917e39ae0244e06d704b95b3124795cec478e297f9afac39ba670d7e9d99
|
| 3 |
+
size 11421870
|
offline/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 |
+
}
|
offline/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
simuls2st_adapter/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 |
+
}
|
simuls2st_adapter/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 %}
|
simuls2st_adapter/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
simuls2st_adapter/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 |
+
}
|
simuls2st_adapter/talker_components.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4413b21bd29740b16e9a4f3a23d1f6128bee496973418f0f40ff063dad9fb399
|
| 3 |
+
size 834052562
|
simuls2st_adapter/talker_lora/adapter_config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen2.5-Omni-3B/talker",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.0,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 8,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"up_proj",
|
| 33 |
+
"v_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"down_proj",
|
| 37 |
+
"thinker_to_talker_proj",
|
| 38 |
+
"q_proj",
|
| 39 |
+
"o_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "FEATURE_EXTRACTION",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_dora": false,
|
| 45 |
+
"use_qalora": false,
|
| 46 |
+
"use_rslora": false
|
| 47 |
+
}
|
simuls2st_adapter/talker_lora/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dbde3550838b390d171652cd23703083f2d0966cbdb4db0143e3245b6dc6a43
|
| 3 |
+
size 17734592
|
simuls2st_adapter/thinker_lora/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen2.5-Omni-3B/thinker",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.0,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 8,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"up_proj",
|
| 33 |
+
"v_proj",
|
| 34 |
+
"gate_proj",
|
| 35 |
+
"k_proj",
|
| 36 |
+
"down_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"o_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": null,
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
simuls2st_adapter/thinker_lora/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f93594b433826a7887d378886f16a0cedaa5abf26f74cf9eba5bb05659dcd97
|
| 3 |
+
size 67824488
|
simuls2st_adapter/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8441917e39ae0244e06d704b95b3124795cec478e297f9afac39ba670d7e9d99
|
| 3 |
+
size 11421870
|
simuls2st_adapter/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 |
+
}
|
simuls2st_adapter/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
simuls2st_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"model_type": "simuls2st-omni",
|
| 4 |
+
"offline_model": "offline",
|
| 5 |
+
"simuls2st_adapter": "simuls2st_adapter",
|
| 6 |
+
"voicebox": "voicebox/voicebox.safetensors",
|
| 7 |
+
"vocos": "voicebox/vocos.safetensors",
|
| 8 |
+
"voicebox_config": "voicebox/voicebox_config.json",
|
| 9 |
+
"dualcodec": "dualcodec/dualcodec.safetensors",
|
| 10 |
+
"dualcodec_stats": "dualcodec/w2v_bert_stats.pt",
|
| 11 |
+
"w2v": "w2v",
|
| 12 |
+
"sample_rates": {
|
| 13 |
+
"input": 16000,
|
| 14 |
+
"output": 24000
|
| 15 |
+
}
|
| 16 |
+
}
|
voicebox/vocos.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b5d1a46b19351c9a71bd8a5a59dd16be0be2ddefe70d3a0b4915d9a425e56d3
|
| 3 |
+
size 1020206416
|
voicebox/voicebox.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66a511e1d09513c8bd0b301464fc29938535de360b2b0e3a7646dc62f2f3083a
|
| 3 |
+
size 1384358160
|
voicebox/voicebox_config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"preprocess": {
|
| 3 |
+
"tokenizer_path": "checkpoints",
|
| 4 |
+
"min_dur": 0.01,
|
| 5 |
+
"max_dur": 30,
|
| 6 |
+
"pad_token_id": 151643,
|
| 7 |
+
"end_token_id": 151645,
|
| 8 |
+
"bos_audio_token_id": 151683,
|
| 9 |
+
"eos_audio_token_id": 151684,
|
| 10 |
+
"audio_token_shift": 151685,
|
| 11 |
+
"hop_size": 480,
|
| 12 |
+
"sample_rate": 24000,
|
| 13 |
+
"n_fft": 1920,
|
| 14 |
+
"num_mels": 128,
|
| 15 |
+
"win_size": 1920,
|
| 16 |
+
"fmin": 0,
|
| 17 |
+
"fmax": 12000,
|
| 18 |
+
"mel_var": 8.14,
|
| 19 |
+
"mel_mean": -4.92
|
| 20 |
+
},
|
| 21 |
+
"model": {
|
| 22 |
+
"pretrained_model_path": "checkpoints",
|
| 23 |
+
"voicebox": {
|
| 24 |
+
"mel_dim": 128,
|
| 25 |
+
"hidden_size": 1024,
|
| 26 |
+
"num_layers": 16,
|
| 27 |
+
"num_heads": 16,
|
| 28 |
+
"cfg_scale": 0.2,
|
| 29 |
+
"use_cond_code": true,
|
| 30 |
+
"cond_codebook_size": 16384,
|
| 31 |
+
"cond_dim": 1024,
|
| 32 |
+
"cond_scale_factor": 4,
|
| 33 |
+
"use_pretrained_model": false,
|
| 34 |
+
"sigma": 1e-5,
|
| 35 |
+
"time_scheduler": "cos"
|
| 36 |
+
},
|
| 37 |
+
"kmeans": {
|
| 38 |
+
"type": "dual_codec",
|
| 39 |
+
"stat_mean_var_path": "dualcodec/w2v_bert_stats.pt"
|
| 40 |
+
},
|
| 41 |
+
"dual_codec": {
|
| 42 |
+
"n_codebooks": 7,
|
| 43 |
+
"codebook_size": 4096,
|
| 44 |
+
"semantic_codebook_size": 16384,
|
| 45 |
+
"is_causal": true,
|
| 46 |
+
"semantic_downsample_factor": 4,
|
| 47 |
+
"pretrained_path": "dualcodec/dualcodec.safetensors"
|
| 48 |
+
},
|
| 49 |
+
"vocos": {
|
| 50 |
+
"input_channels": 128,
|
| 51 |
+
"dim": 1024,
|
| 52 |
+
"intermediate_dim": 4096,
|
| 53 |
+
"num_layers": 30,
|
| 54 |
+
"n_fft": 1920,
|
| 55 |
+
"hop_size": 480,
|
| 56 |
+
"padding": "same"
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
}
|
w2v/UPSTREAM_README.md
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- af
|
| 5 |
+
- am
|
| 6 |
+
- ar
|
| 7 |
+
- as
|
| 8 |
+
- az
|
| 9 |
+
- be
|
| 10 |
+
- bn
|
| 11 |
+
- bs
|
| 12 |
+
- bg
|
| 13 |
+
- ca
|
| 14 |
+
- cs
|
| 15 |
+
- zh
|
| 16 |
+
- cy
|
| 17 |
+
- da
|
| 18 |
+
- de
|
| 19 |
+
- el
|
| 20 |
+
- en
|
| 21 |
+
- et
|
| 22 |
+
- fi
|
| 23 |
+
- fr
|
| 24 |
+
- or
|
| 25 |
+
- om
|
| 26 |
+
- ga
|
| 27 |
+
- gl
|
| 28 |
+
- gu
|
| 29 |
+
- ha
|
| 30 |
+
- he
|
| 31 |
+
- hi
|
| 32 |
+
- hr
|
| 33 |
+
- hu
|
| 34 |
+
- hy
|
| 35 |
+
- ig
|
| 36 |
+
- id
|
| 37 |
+
- is
|
| 38 |
+
- it
|
| 39 |
+
- jv
|
| 40 |
+
- ja
|
| 41 |
+
- kn
|
| 42 |
+
- ka
|
| 43 |
+
- kk
|
| 44 |
+
- mn
|
| 45 |
+
- km
|
| 46 |
+
- ky
|
| 47 |
+
- ko
|
| 48 |
+
- lo
|
| 49 |
+
- ln
|
| 50 |
+
- lt
|
| 51 |
+
- lb
|
| 52 |
+
- lg
|
| 53 |
+
- lv
|
| 54 |
+
- ml
|
| 55 |
+
- mr
|
| 56 |
+
- mk
|
| 57 |
+
- mt
|
| 58 |
+
- mi
|
| 59 |
+
- my
|
| 60 |
+
- nl
|
| 61 |
+
- nb
|
| 62 |
+
- ne
|
| 63 |
+
- ny
|
| 64 |
+
- oc
|
| 65 |
+
- pa
|
| 66 |
+
- ps
|
| 67 |
+
- fa
|
| 68 |
+
- pl
|
| 69 |
+
- pt
|
| 70 |
+
- ro
|
| 71 |
+
- ru
|
| 72 |
+
- sk
|
| 73 |
+
- sl
|
| 74 |
+
- sn
|
| 75 |
+
- sd
|
| 76 |
+
- so
|
| 77 |
+
- es
|
| 78 |
+
- sr
|
| 79 |
+
- sv
|
| 80 |
+
- sw
|
| 81 |
+
- ta
|
| 82 |
+
- te
|
| 83 |
+
- tg
|
| 84 |
+
- tl
|
| 85 |
+
- th
|
| 86 |
+
- tr
|
| 87 |
+
- uk
|
| 88 |
+
- ur
|
| 89 |
+
- uz
|
| 90 |
+
- vi
|
| 91 |
+
- wo
|
| 92 |
+
- xh
|
| 93 |
+
- yo
|
| 94 |
+
- ms
|
| 95 |
+
- zu
|
| 96 |
+
- ary
|
| 97 |
+
- arz
|
| 98 |
+
- yue
|
| 99 |
+
- kea
|
| 100 |
+
inference: false
|
| 101 |
+
---
|
| 102 |
+
# W2v-BERT 2.0 speech encoder
|
| 103 |
+
|
| 104 |
+
We are open-sourcing our Conformer-based [W2v-BERT 2.0 speech encoder](#w2v-bert-20-speech-encoder) as described in Section 3.2.1 of the [paper](https://arxiv.org/pdf/2312.05187.pdf), which is at the core of our Seamless models.
|
| 105 |
+
|
| 106 |
+
This model was pre-trained on 4.5M hours of unlabeled audio data covering more than 143 languages. It requires finetuning to be used for downstream tasks such as Automatic Speech Recognition (ASR), or Audio Classification.
|
| 107 |
+
|
| 108 |
+
| Model Name | #params | checkpoint |
|
| 109 |
+
| ----------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 110 |
+
| W2v-BERT 2.0 | 600M | [checkpoint](https://huggingface.co/reach-vb/conformer-shaw/resolve/main/conformer_shaw.pt)
|
| 111 |
+
|
| 112 |
+
**This model and its training are supported by 🤗 Transformers, more on it in the [docs](https://huggingface.co/docs/transformers/main/en/model_doc/wav2vec2-bert).**
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
# 🤗 Transformers usage
|
| 116 |
+
|
| 117 |
+
This is a bare checkpoint without any modeling head, and thus requires finetuning to be used for downstream tasks such as ASR. You can however use it to extract audio embeddings from the top layer with this code snippet:
|
| 118 |
+
|
| 119 |
+
```python
|
| 120 |
+
from transformers import AutoFeatureExtractor, Wav2Vec2BertModel
|
| 121 |
+
import torch
|
| 122 |
+
from datasets import load_dataset
|
| 123 |
+
|
| 124 |
+
dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
|
| 125 |
+
dataset = dataset.sort("id")
|
| 126 |
+
sampling_rate = dataset.features["audio"].sampling_rate
|
| 127 |
+
|
| 128 |
+
processor = AutoProcessor.from_pretrained("facebook/w2v-bert-2.0")
|
| 129 |
+
model = Wav2Vec2BertModel.from_pretrained("facebook/w2v-bert-2.0")
|
| 130 |
+
|
| 131 |
+
# audio file is decoded on the fly
|
| 132 |
+
inputs = processor(dataset[0]["audio"]["array"], sampling_rate=sampling_rate, return_tensors="pt")
|
| 133 |
+
with torch.no_grad():
|
| 134 |
+
outputs = model(**inputs)
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
To learn more about the model use, refer to the following resources:
|
| 138 |
+
- [its docs](https://huggingface.co/docs/transformers/main/en/model_doc/wav2vec2-bert)
|
| 139 |
+
- [a blog post showing how to fine-tune it on Mongolian ASR](https://huggingface.co/blog/fine-tune-w2v2-bert)
|
| 140 |
+
- [a training script example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py)
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
# Seamless Communication usage
|
| 144 |
+
|
| 145 |
+
This model can be used in [Seamless Communication](https://github.com/facebookresearch/seamless_communication), where it was released.
|
| 146 |
+
|
| 147 |
+
Here's how to make a forward pass through the voice encoder, after having completed the [installation steps](https://github.com/facebookresearch/seamless_communication?tab=readme-ov-file#installation):
|
| 148 |
+
|
| 149 |
+
```python
|
| 150 |
+
import torch
|
| 151 |
+
|
| 152 |
+
from fairseq2.data.audio import AudioDecoder, WaveformToFbankConverter
|
| 153 |
+
from fairseq2.memory import MemoryBlock
|
| 154 |
+
from fairseq2.nn.padding import get_seqs_and_padding_mask
|
| 155 |
+
from pathlib import Path
|
| 156 |
+
from seamless_communication.models.conformer_shaw import load_conformer_shaw_model
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
audio_wav_path, device, dtype = ...
|
| 160 |
+
audio_decoder = AudioDecoder(dtype=torch.float32, device=device)
|
| 161 |
+
fbank_converter = WaveformToFbankConverter(
|
| 162 |
+
num_mel_bins=80,
|
| 163 |
+
waveform_scale=2**15,
|
| 164 |
+
channel_last=True,
|
| 165 |
+
standardize=True,
|
| 166 |
+
device=device,
|
| 167 |
+
dtype=dtype,
|
| 168 |
+
)
|
| 169 |
+
collater = Collater(pad_value=1)
|
| 170 |
+
|
| 171 |
+
model = load_conformer_shaw_model("conformer_shaw", device=device, dtype=dtype)
|
| 172 |
+
model.eval()
|
| 173 |
+
|
| 174 |
+
with Path(audio_wav_path).open("rb") as fb:
|
| 175 |
+
block = MemoryBlock(fb.read())
|
| 176 |
+
|
| 177 |
+
decoded_audio = audio_decoder(block)
|
| 178 |
+
src = collater(fbank_converter(decoded_audio))["fbank"]
|
| 179 |
+
seqs, padding_mask = get_seqs_and_padding_mask(src)
|
| 180 |
+
|
| 181 |
+
with torch.inference_mode():
|
| 182 |
+
seqs, padding_mask = model.encoder_frontend(seqs, padding_mask)
|
| 183 |
+
seqs, padding_mask = model.encoder(seqs, padding_mask)
|
| 184 |
+
```
|
w2v/config.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"adapter_act": "relu",
|
| 4 |
+
"adapter_kernel_size": 3,
|
| 5 |
+
"adapter_stride": 2,
|
| 6 |
+
"add_adapter": false,
|
| 7 |
+
"apply_spec_augment": false,
|
| 8 |
+
"architectures": [
|
| 9 |
+
"Wav2Vec2BertModel"
|
| 10 |
+
],
|
| 11 |
+
"attention_dropout": 0.0,
|
| 12 |
+
"bos_token_id": 1,
|
| 13 |
+
"classifier_proj_size": 768,
|
| 14 |
+
"codevector_dim": 768,
|
| 15 |
+
"conformer_conv_dropout": 0.1,
|
| 16 |
+
"contrastive_logits_temperature": 0.1,
|
| 17 |
+
"conv_depthwise_kernel_size": 31,
|
| 18 |
+
"ctc_loss_reduction": "sum",
|
| 19 |
+
"ctc_zero_infinity": false,
|
| 20 |
+
"diversity_loss_weight": 0.1,
|
| 21 |
+
"eos_token_id": 2,
|
| 22 |
+
"feat_proj_dropout": 0.0,
|
| 23 |
+
"feat_quantizer_dropout": 0.0,
|
| 24 |
+
"feature_projection_input_dim": 160,
|
| 25 |
+
"final_dropout": 0.1,
|
| 26 |
+
"hidden_act": "swish",
|
| 27 |
+
"hidden_dropout": 0.0,
|
| 28 |
+
"hidden_size": 1024,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 4096,
|
| 31 |
+
"layer_norm_eps": 1e-05,
|
| 32 |
+
"layerdrop": 0.1,
|
| 33 |
+
"left_max_position_embeddings": 64,
|
| 34 |
+
"mask_feature_length": 10,
|
| 35 |
+
"mask_feature_min_masks": 0,
|
| 36 |
+
"mask_feature_prob": 0.0,
|
| 37 |
+
"mask_time_length": 10,
|
| 38 |
+
"mask_time_min_masks": 2,
|
| 39 |
+
"mask_time_prob": 0.05,
|
| 40 |
+
"max_source_positions": 5000,
|
| 41 |
+
"model_type": "wav2vec2-bert",
|
| 42 |
+
"num_adapter_layers": 1,
|
| 43 |
+
"num_attention_heads": 16,
|
| 44 |
+
"num_codevector_groups": 2,
|
| 45 |
+
"num_codevectors_per_group": 320,
|
| 46 |
+
"num_hidden_layers": 24,
|
| 47 |
+
"num_negatives": 100,
|
| 48 |
+
"output_hidden_size": 1024,
|
| 49 |
+
"pad_token_id": 0,
|
| 50 |
+
"position_embeddings_type": "relative_key",
|
| 51 |
+
"proj_codevector_dim": 768,
|
| 52 |
+
"right_max_position_embeddings": 8,
|
| 53 |
+
"rotary_embedding_base": 10000,
|
| 54 |
+
"tdnn_dilation": [
|
| 55 |
+
1,
|
| 56 |
+
2,
|
| 57 |
+
3,
|
| 58 |
+
1,
|
| 59 |
+
1
|
| 60 |
+
],
|
| 61 |
+
"tdnn_dim": [
|
| 62 |
+
512,
|
| 63 |
+
512,
|
| 64 |
+
512,
|
| 65 |
+
512,
|
| 66 |
+
1500
|
| 67 |
+
],
|
| 68 |
+
"tdnn_kernel": [
|
| 69 |
+
5,
|
| 70 |
+
3,
|
| 71 |
+
3,
|
| 72 |
+
1,
|
| 73 |
+
1
|
| 74 |
+
],
|
| 75 |
+
"torch_dtype": "float32",
|
| 76 |
+
"transformers_version": "4.37.0.dev0",
|
| 77 |
+
"use_intermediate_ffn_before_adapter": false,
|
| 78 |
+
"use_weighted_layer_sum": false,
|
| 79 |
+
"vocab_size": null,
|
| 80 |
+
"xvector_output_dim": 512
|
| 81 |
+
}
|
w2v/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb890c9660ed6e3414b6812e27257b8ce5454365d5490d3ad581ea60b93be043
|
| 3 |
+
size 2322063736
|
w2v/preprocessor_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"feature_extractor_type": "SeamlessM4TFeatureExtractor",
|
| 3 |
+
"feature_size": 80,
|
| 4 |
+
"num_mel_bins": 80,
|
| 5 |
+
"padding_side": "right",
|
| 6 |
+
"padding_value": 1,
|
| 7 |
+
"processor_class": "Wav2Vec2BertProcessor",
|
| 8 |
+
"return_attention_mask": true,
|
| 9 |
+
"sampling_rate": 16000,
|
| 10 |
+
"stride": 2
|
| 11 |
+
}
|