Instructions to use GeWu-Lab/ROMA-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GeWu-Lab/ROMA-7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("GeWu-Lab/ROMA-7B") model = AutoModel.from_pretrained("GeWu-Lab/ROMA-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add files using upload-large-folder tool
Browse files- .gitattributes +27 -0
- LICENSE +201 -0
- README.md +119 -0
- ROMA-LLM.bin +3 -0
- added_tokens.json +24 -0
- anytouch2.pth +3 -0
- audio.bin +3 -0
- chat_template.json +3 -0
- config-anytouch2.json +166 -0
- config.json +495 -0
- configuration.json +1 -0
- generation_config.json +4 -0
- merges.txt +0 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +31 -0
- special_tokens_map.json +38 -0
- spk_dict.pt +3 -0
- tactile.bin +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +223 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
@@ -8,6 +9,8 @@
|
|
| 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
|
|
@@ -33,3 +36,27 @@ saved_model/**/* 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 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 9 |
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 36 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
models/ROMA-Qwen2.5-Omni-7B/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright 2025 Alibaba Cloud
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- Qwen/Qwen2.5-Omni-7B
|
| 7 |
+
tags:
|
| 8 |
+
- multimodal
|
| 9 |
+
- tactile
|
| 10 |
+
- audio
|
| 11 |
+
- robotics
|
| 12 |
+
- active-perception
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<h1 align="center">ROMA-7B</h1>
|
| 17 |
+
|
| 18 |
+
<h3 align="center"><em>I saw, I touched, I understood.</em></h3>
|
| 19 |
+
|
| 20 |
+
<p align="center">
|
| 21 |
+
<a href="https://gewu-lab.github.io/ROMA/"><img src="https://img.shields.io/badge/Project-Page-blue" alt="Project Page"></a>
|
| 22 |
+
<a href="https://arxiv.org/abs/2610.06955"><img src="https://img.shields.io/badge/arXiv-2610.06955-b31b1b" alt="Paper"></a>
|
| 23 |
+
<a href="https://github.com/GeWu-Lab/ROMA"><img src="https://img.shields.io/badge/Code-GitHub-black" alt="Code"></a>
|
| 24 |
+
<a href="https://huggingface.co/datasets/GeWu-Lab/ROMA"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Dataset-yellow" alt="Hugging Face Dataset"></a>
|
| 25 |
+
</p>
|
| 26 |
+
|
| 27 |
+
This repository hosts the **model checkpoint** of **ROMA: LLM System for Real-World Object-Centric Multi-Sensory Active Perception**. The code, web demo, and usage instructions are in the [GitHub repository](https://github.com/GeWu-Lab/ROMA). The datasets (ROMI-2K and ROMA Bench) are released separately in [GeWu-Lab/ROMA](https://huggingface.co/datasets/GeWu-Lab/ROMA).
|
| 28 |
+
|
| 29 |
+
## Introduction
|
| 30 |
+
|
| 31 |
+
Humans build an understanding of the physical world through an active process: when sensory evidence is insufficient, we decide **what** information is missing, **how** to acquire it, and **when** enough evidence has been obtained. Existing multi-sensory robot systems, in contrast, mostly integrate whatever sensory inputs they are given.
|
| 32 |
+
|
| 33 |
+
**ROMA** is an LLM-based system for **R**eal-World **O**bject-Centric **M**ulti-Sensory **A**ctive Perception. It integrates vision, audio, touch, and force into a *reasoning-interaction-feedback* loop: the LLM identifies the missing evidence and selects the target object, the interaction (`lift`, `press`, `collide`, `shake`, `rotate`, `squeeze`), and the sensory modalities, while a physical interface executes the interaction and returns the multi-sensory feedback.
|
| 34 |
+
|
| 35 |
+
**ROMA-7B** is the multi-sensory LLM at the core of this system. It is built on [Qwen2.5-Omni-7B](https://huggingface.co/Qwen/Qwen2.5-Omni-7B) and extended with:
|
| 36 |
+
|
| 37 |
+
- action / modality tokens for choosing interactions and sensory modalities;
|
| 38 |
+
- an audio branch (fine-tuned audio encoder and adapter) for contact sounds;
|
| 39 |
+
- an [AnyTouch 2](https://github.com/GeWu-Lab/AnyTouch2) tactile branch (tactile encoder and adapter).
|
| 40 |
+
|
| 41 |
+
It is trained with multi-sensory alignment followed by active-perception SFT.
|
| 42 |
+
|
| 43 |
+
## Performance
|
| 44 |
+
|
| 45 |
+
Active perception task success rate on ROMA Bench (%). See the paper for the full results.
|
| 46 |
+
|
| 47 |
+
| Model | ROMA Bench (total) | Real-world execution (total) |
|
| 48 |
+
| :--- | :---: | :---: |
|
| 49 |
+
| GPT-5.4 | 43.5 | 40.2 |
|
| 50 |
+
| Gemini 3.5 Flash | 53.0 | 41.7 |
|
| 51 |
+
| Qwen 2.5-Omni | 22.0 | 23.5 |
|
| 52 |
+
| Qwen 3-Omni | 19.7 | 23.5 |
|
| 53 |
+
| **ROMA-7B** | **72.9** | **61.4** |
|
| 54 |
+
|
| 55 |
+
## Checkpoint Files
|
| 56 |
+
|
| 57 |
+
| File | Description |
|
| 58 |
+
| :--- | :--- |
|
| 59 |
+
| `model-0000*-of-00005.safetensors`, `model.safetensors.index.json` | Base Qwen2.5-Omni-7B weights |
|
| 60 |
+
| `anytouch2.pth`, `config-anytouch2.json` | AnyTouch 2 tactile encoder |
|
| 61 |
+
| `audio.bin` | Fine-tuned audio adapter and encoder |
|
| 62 |
+
| `tactile.bin` | Fine-tuned tactile adapter |
|
| 63 |
+
| `ROMA-LLM.bin` | ROMA LLM weights |
|
| 64 |
+
| `config.json`, `generation_config.json`, `preprocessor_config.json`, `chat_template.json`, `spk_dict.pt` | Model, generation, and processor configs |
|
| 65 |
+
| `tokenizer.json`, `tokenizer_config.json`, `vocab.json`, `merges.txt`, `added_tokens.json`, `special_tokens_map.json` | Tokenizer |
|
| 66 |
+
|
| 67 |
+
## Usage
|
| 68 |
+
|
| 69 |
+
ROMA-7B cannot be loaded with plain `transformers`: the tactile modality and the extra adapters are loaded by the code in the [GitHub repository](https://github.com/GeWu-Lab/ROMA), in the same order as during training (base Qwen2.5-Omni, tactile encoder, new tokens, audio adapter, tactile adapter, ROMA LLM).
|
| 70 |
+
|
| 71 |
+
1. Set up the environment following the [Installation](https://github.com/GeWu-Lab/ROMA#installation) section of the GitHub repository.
|
| 72 |
+
|
| 73 |
+
2. Download this checkpoint:
|
| 74 |
+
|
| 75 |
+
```bash
|
| 76 |
+
hf download GeWu-Lab/ROMA-7B --repo-type model --local-dir resources/models/ROMA-7B
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
The demo reads the checkpoint directory from `MODEL_PATH_2_5` in `config/global_name.py`, which defaults to `resources/models/ROMA-7B`. Edit it if you download the checkpoint elsewhere.
|
| 80 |
+
|
| 81 |
+
3. Launch the web demo:
|
| 82 |
+
|
| 83 |
+
```bash
|
| 84 |
+
python demo.py --gpu 0 --port 7860
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
Then open `http://localhost:7860`, type a question (or pick an example), and press **Ask ROMA**.
|
| 88 |
+
|
| 89 |
+
The full checkpoint is about 39 GB on disk.
|
| 90 |
+
|
| 91 |
+
## Related Resources
|
| 92 |
+
|
| 93 |
+
- **ROMI-2K** ([dataset](https://huggingface.co/datasets/GeWu-Lab/ROMA)): a real-world multi-sensory object interaction dataset covering nearly 2,000 objects and 6 atomic interactions with synchronized visual, audio, tactile, and force feedback.
|
| 94 |
+
- **ROMA Bench**: 2,100 scene-level tasks (single-chain, multi-chain, and intent-driven) for evaluating active perception. (Coming Soon!)
|
| 95 |
+
|
| 96 |
+
The datasets are hosted in a separate repository, [GeWu-Lab/ROMA](https://huggingface.co/datasets/GeWu-Lab/ROMA), and are not included in this model repository. See the [project page](https://gewu-lab.github.io/ROMA/) and the [GitHub repository](https://github.com/GeWu-Lab/ROMA) for details.
|
| 97 |
+
|
| 98 |
+
## License
|
| 99 |
+
|
| 100 |
+
This model is released under the Apache 2.0 license (see `LICENSE`), following its base model Qwen2.5-Omni-7B.
|
| 101 |
+
|
| 102 |
+
## Citation
|
| 103 |
+
|
| 104 |
+
If you find this work useful, please consider citing:
|
| 105 |
+
|
| 106 |
+
```bibtex
|
| 107 |
+
@article{feng2026roma,
|
| 108 |
+
title = {ROMA: LLM System for Real-World Object-Centric Multi-Sensory Active Perception},
|
| 109 |
+
author = {Feng, Ruoxuan and Chen, Yutong and Song, Ruihua and Yang, Huan and
|
| 110 |
+
Wang, Zhongyuan and Yao, Guocai and Hu, Di},
|
| 111 |
+
journal = {arXiv preprint arXiv:2610.06955},
|
| 112 |
+
url = {https://arxiv.org/abs/2610.06955},
|
| 113 |
+
year = {2026}
|
| 114 |
+
}
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
## Acknowledgements
|
| 118 |
+
|
| 119 |
+
ROMA builds on [Qwen2.5-Omni](https://github.com/QwenLM/Qwen2.5-Omni), [AnyTouch 2](https://github.com/GeWu-Lab/AnyTouch2), and [AnyGrasp](https://github.com/graspnet/anygrasp_sdk). We thank the authors for their open-source contributions.
|
ROMA-LLM.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c303951cdc27dfce519415f61ebe864cf819f75579d34aed2307b44fa9b2ded7
|
| 3 |
+
size 15225812671
|
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 |
+
}
|
anytouch2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a93bfec2a770bf3150f48ff296d373da584ffc0e38f3ce866851e982a9d9166c
|
| 3 |
+
size 1164314999
|
audio.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ac16f02491d119013a67a4bc97ba57e17ba157784cda364b14d482616e6f246
|
| 3 |
+
size 1279454389
|
chat_template.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chat_template": "{% 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\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% 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|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
|
| 3 |
+
}
|
config-anytouch2.json
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_commit_hash": null,
|
| 3 |
+
"_name_or_path": "/home/marcussky/Git/CLIP-ViT-B-16-DataComp.XL-s13B-b90K",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"CLIPModel"
|
| 6 |
+
],
|
| 7 |
+
"initializer_factor": 1.0,
|
| 8 |
+
"logit_scale_init_value": 2.6592,
|
| 9 |
+
"model_type": "clip",
|
| 10 |
+
"projection_dim": 512,
|
| 11 |
+
"text_config": {
|
| 12 |
+
"_name_or_path": "",
|
| 13 |
+
"add_cross_attention": false,
|
| 14 |
+
"architectures": null,
|
| 15 |
+
"attention_dropout": 0.0,
|
| 16 |
+
"bad_words_ids": null,
|
| 17 |
+
"begin_suppress_tokens": null,
|
| 18 |
+
"bos_token_id": 0,
|
| 19 |
+
"chunk_size_feed_forward": 0,
|
| 20 |
+
"cross_attention_hidden_size": null,
|
| 21 |
+
"decoder_start_token_id": null,
|
| 22 |
+
"diversity_penalty": 0.0,
|
| 23 |
+
"do_sample": false,
|
| 24 |
+
"early_stopping": false,
|
| 25 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 26 |
+
"eos_token_id": 2,
|
| 27 |
+
"exponential_decay_length_penalty": null,
|
| 28 |
+
"finetuning_task": null,
|
| 29 |
+
"forced_bos_token_id": null,
|
| 30 |
+
"forced_eos_token_id": null,
|
| 31 |
+
"hidden_act": "gelu",
|
| 32 |
+
"hidden_size": 512,
|
| 33 |
+
"id2label": {
|
| 34 |
+
"0": "LABEL_0",
|
| 35 |
+
"1": "LABEL_1"
|
| 36 |
+
},
|
| 37 |
+
"initializer_factor": 1.0,
|
| 38 |
+
"initializer_range": 0.02,
|
| 39 |
+
"intermediate_size": 2048,
|
| 40 |
+
"is_decoder": false,
|
| 41 |
+
"is_encoder_decoder": false,
|
| 42 |
+
"label2id": {
|
| 43 |
+
"LABEL_0": 0,
|
| 44 |
+
"LABEL_1": 1
|
| 45 |
+
},
|
| 46 |
+
"layer_norm_eps": 1e-05,
|
| 47 |
+
"length_penalty": 1.0,
|
| 48 |
+
"max_length": 20,
|
| 49 |
+
"max_position_embeddings": 77,
|
| 50 |
+
"min_length": 0,
|
| 51 |
+
"model_type": "clip_text_model",
|
| 52 |
+
"no_repeat_ngram_size": 0,
|
| 53 |
+
"num_attention_heads": 8,
|
| 54 |
+
"num_beam_groups": 1,
|
| 55 |
+
"num_beams": 1,
|
| 56 |
+
"num_hidden_layers": 12,
|
| 57 |
+
"num_return_sequences": 1,
|
| 58 |
+
"output_attentions": false,
|
| 59 |
+
"output_hidden_states": false,
|
| 60 |
+
"output_scores": false,
|
| 61 |
+
"pad_token_id": 1,
|
| 62 |
+
"prefix": null,
|
| 63 |
+
"problem_type": null,
|
| 64 |
+
"projection_dim": 512,
|
| 65 |
+
"pruned_heads": {},
|
| 66 |
+
"remove_invalid_values": false,
|
| 67 |
+
"repetition_penalty": 1.0,
|
| 68 |
+
"return_dict": true,
|
| 69 |
+
"return_dict_in_generate": false,
|
| 70 |
+
"sep_token_id": null,
|
| 71 |
+
"suppress_tokens": null,
|
| 72 |
+
"task_specific_params": null,
|
| 73 |
+
"temperature": 1.0,
|
| 74 |
+
"tf_legacy_loss": false,
|
| 75 |
+
"tie_encoder_decoder": false,
|
| 76 |
+
"tie_word_embeddings": true,
|
| 77 |
+
"tokenizer_class": null,
|
| 78 |
+
"top_k": 50,
|
| 79 |
+
"top_p": 1.0,
|
| 80 |
+
"torch_dtype": null,
|
| 81 |
+
"torchscript": false,
|
| 82 |
+
"transformers_version": "4.31.0.dev0",
|
| 83 |
+
"typical_p": 1.0,
|
| 84 |
+
"use_bfloat16": false,
|
| 85 |
+
"vocab_size": 49408
|
| 86 |
+
},
|
| 87 |
+
"torch_dtype": "float32",
|
| 88 |
+
"transformers_version": null,
|
| 89 |
+
"vision_config": {
|
| 90 |
+
"_name_or_path": "",
|
| 91 |
+
"add_cross_attention": false,
|
| 92 |
+
"architectures": null,
|
| 93 |
+
"attention_dropout": 0.0,
|
| 94 |
+
"bad_words_ids": null,
|
| 95 |
+
"begin_suppress_tokens": null,
|
| 96 |
+
"bos_token_id": null,
|
| 97 |
+
"chunk_size_feed_forward": 0,
|
| 98 |
+
"cross_attention_hidden_size": null,
|
| 99 |
+
"decoder_start_token_id": null,
|
| 100 |
+
"diversity_penalty": 0.0,
|
| 101 |
+
"do_sample": false,
|
| 102 |
+
"early_stopping": false,
|
| 103 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 104 |
+
"eos_token_id": null,
|
| 105 |
+
"exponential_decay_length_penalty": null,
|
| 106 |
+
"finetuning_task": null,
|
| 107 |
+
"forced_bos_token_id": null,
|
| 108 |
+
"forced_eos_token_id": null,
|
| 109 |
+
"hidden_act": "gelu",
|
| 110 |
+
"hidden_size": 768,
|
| 111 |
+
"id2label": {
|
| 112 |
+
"0": "LABEL_0",
|
| 113 |
+
"1": "LABEL_1"
|
| 114 |
+
},
|
| 115 |
+
"image_size": 224,
|
| 116 |
+
"initializer_factor": 1.0,
|
| 117 |
+
"initializer_range": 0.02,
|
| 118 |
+
"intermediate_size": 3072,
|
| 119 |
+
"is_decoder": false,
|
| 120 |
+
"is_encoder_decoder": false,
|
| 121 |
+
"label2id": {
|
| 122 |
+
"LABEL_0": 0,
|
| 123 |
+
"LABEL_1": 1
|
| 124 |
+
},
|
| 125 |
+
"layer_norm_eps": 1e-05,
|
| 126 |
+
"length_penalty": 1.0,
|
| 127 |
+
"max_length": 20,
|
| 128 |
+
"min_length": 0,
|
| 129 |
+
"model_type": "clip_vision_model",
|
| 130 |
+
"no_repeat_ngram_size": 0,
|
| 131 |
+
"num_attention_heads": 12,
|
| 132 |
+
"num_beam_groups": 1,
|
| 133 |
+
"num_beams": 1,
|
| 134 |
+
"num_channels": 3,
|
| 135 |
+
"num_hidden_layers": 12,
|
| 136 |
+
"num_return_sequences": 1,
|
| 137 |
+
"output_attentions": false,
|
| 138 |
+
"output_hidden_states": false,
|
| 139 |
+
"output_scores": false,
|
| 140 |
+
"pad_token_id": null,
|
| 141 |
+
"patch_size": 16,
|
| 142 |
+
"prefix": null,
|
| 143 |
+
"problem_type": null,
|
| 144 |
+
"projection_dim": 512,
|
| 145 |
+
"pruned_heads": {},
|
| 146 |
+
"remove_invalid_values": false,
|
| 147 |
+
"repetition_penalty": 1.0,
|
| 148 |
+
"return_dict": true,
|
| 149 |
+
"return_dict_in_generate": false,
|
| 150 |
+
"sep_token_id": null,
|
| 151 |
+
"suppress_tokens": null,
|
| 152 |
+
"task_specific_params": null,
|
| 153 |
+
"temperature": 1.0,
|
| 154 |
+
"tf_legacy_loss": false,
|
| 155 |
+
"tie_encoder_decoder": false,
|
| 156 |
+
"tie_word_embeddings": true,
|
| 157 |
+
"tokenizer_class": null,
|
| 158 |
+
"top_k": 50,
|
| 159 |
+
"top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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2_5OmniModel"
|
| 4 |
+
],
|
| 5 |
+
"enable_audio_output": true,
|
| 6 |
+
"enable_talker": true,
|
| 7 |
+
"model_type": "qwen2_5_omni",
|
| 8 |
+
"talker_config": {
|
| 9 |
+
"_attn_implementation_autoset": true,
|
| 10 |
+
"_name_or_path": "Qwen2.5-Omni-7B/talker",
|
| 11 |
+
"architectures": [
|
| 12 |
+
"Qwen2OmniTalkerForConditionalGeneration"
|
| 13 |
+
],
|
| 14 |
+
"attention_dropout": 0.0,
|
| 15 |
+
"audio_end_token_id": 151648,
|
| 16 |
+
"audio_start_token_id": 151647,
|
| 17 |
+
"audio_token_index": 151646,
|
| 18 |
+
"embedding_size": 3584,
|
| 19 |
+
"head_dim": 128,
|
| 20 |
+
"hidden_act": "silu",
|
| 21 |
+
"hidden_size": 896,
|
| 22 |
+
"image_token_index": 151655,
|
| 23 |
+
"init_std": 0.02,
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 18944,
|
| 26 |
+
"max_position_embeddings": 32768,
|
| 27 |
+
"max_window_layers": 28,
|
| 28 |
+
"model_type": "qwen2_5_omni_talker",
|
| 29 |
+
"num_attention_heads": 12,
|
| 30 |
+
"num_hidden_layers": 24,
|
| 31 |
+
"num_key_value_heads": 4,
|
| 32 |
+
"position_id_per_seconds": 25,
|
| 33 |
+
"rms_norm_eps": 1e-06,
|
| 34 |
+
"rope_scaling": {
|
| 35 |
+
"mrope_section": [
|
| 36 |
+
16,
|
| 37 |
+
24,
|
| 38 |
+
24
|
| 39 |
+
],
|
| 40 |
+
"rope_type": "default",
|
| 41 |
+
"type": "default"
|
| 42 |
+
},
|
| 43 |
+
"rope_theta": 1000000.0,
|
| 44 |
+
"seconds_per_chunk": 2,
|
| 45 |
+
"sliding_window": 32768,
|
| 46 |
+
"spatial_merge_size": 2,
|
| 47 |
+
"torch_dtype": "bfloat16",
|
| 48 |
+
"tts_codec_end_token_id": 8294,
|
| 49 |
+
"tts_codec_mask_token_id": 8296,
|
| 50 |
+
"tts_codec_pad_token_id": 8292,
|
| 51 |
+
"tts_codec_start_token_id": 8293,
|
| 52 |
+
"tts_text_end_token_id": 151861,
|
| 53 |
+
"tts_text_pad_token_id": 151859,
|
| 54 |
+
"tts_text_start_token_id": 151860,
|
| 55 |
+
"use_cache": true,
|
| 56 |
+
"use_sliding_window": false,
|
| 57 |
+
"video_token_index": 151656,
|
| 58 |
+
"vision_end_token_id": 151653,
|
| 59 |
+
"vision_start_token_id": 151652,
|
| 60 |
+
"vocab_size": 8448
|
| 61 |
+
},
|
| 62 |
+
"thinker_config": {
|
| 63 |
+
"_attn_implementation_autoset": true,
|
| 64 |
+
"_name_or_path": "Qwen2.5-Omni-7B/thinker",
|
| 65 |
+
"architectures": [
|
| 66 |
+
"Qwen2OmniNaViTThinkerForConditionalGeneration"
|
| 67 |
+
],
|
| 68 |
+
"audio_config": {
|
| 69 |
+
"_attn_implementation_autoset": true,
|
| 70 |
+
"_name_or_path": "",
|
| 71 |
+
"activation_dropout": 0.0,
|
| 72 |
+
"activation_function": "gelu",
|
| 73 |
+
"add_cross_attention": false,
|
| 74 |
+
"architectures": null,
|
| 75 |
+
"attention_dropout": 0.0,
|
| 76 |
+
"bad_words_ids": null,
|
| 77 |
+
"begin_suppress_tokens": null,
|
| 78 |
+
"bos_token_id": null,
|
| 79 |
+
"chunk_size_feed_forward": 0,
|
| 80 |
+
"cross_attention_hidden_size": null,
|
| 81 |
+
"d_model": 1280,
|
| 82 |
+
"decoder_start_token_id": null,
|
| 83 |
+
"diversity_penalty": 0.0,
|
| 84 |
+
"do_sample": false,
|
| 85 |
+
"dropout": 0.0,
|
| 86 |
+
"early_stopping": false,
|
| 87 |
+
"encoder_attention_heads": 20,
|
| 88 |
+
"encoder_ffn_dim": 5120,
|
| 89 |
+
"encoder_layerdrop": 0.0,
|
| 90 |
+
"encoder_layers": 32,
|
| 91 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 92 |
+
"eos_token_id": null,
|
| 93 |
+
"exponential_decay_length_penalty": null,
|
| 94 |
+
"finetuning_task": null,
|
| 95 |
+
"forced_bos_token_id": null,
|
| 96 |
+
"forced_eos_token_id": null,
|
| 97 |
+
"id2label": {
|
| 98 |
+
"0": "LABEL_0",
|
| 99 |
+
"1": "LABEL_1"
|
| 100 |
+
},
|
| 101 |
+
"init_std": 0.02,
|
| 102 |
+
"is_decoder": false,
|
| 103 |
+
"is_encoder_decoder": false,
|
| 104 |
+
"label2id": {
|
| 105 |
+
"LABEL_0": 0,
|
| 106 |
+
"LABEL_1": 1
|
| 107 |
+
},
|
| 108 |
+
"length_penalty": 1.0,
|
| 109 |
+
"max_length": 20,
|
| 110 |
+
"max_source_positions": 1500,
|
| 111 |
+
"min_length": 0,
|
| 112 |
+
"model_type": "qwen2_5_omni_audio_encoder",
|
| 113 |
+
"n_window": 100,
|
| 114 |
+
"no_repeat_ngram_size": 0,
|
| 115 |
+
"num_beam_groups": 1,
|
| 116 |
+
"num_beams": 1,
|
| 117 |
+
"num_hidden_layers": 32,
|
| 118 |
+
"num_mel_bins": 128,
|
| 119 |
+
"num_return_sequences": 1,
|
| 120 |
+
"output_attentions": false,
|
| 121 |
+
"output_dim": 3584,
|
| 122 |
+
"output_hidden_states": false,
|
| 123 |
+
"output_scores": false,
|
| 124 |
+
"pad_token_id": null,
|
| 125 |
+
"prefix": null,
|
| 126 |
+
"problem_type": null,
|
| 127 |
+
"pruned_heads": {},
|
| 128 |
+
"remove_invalid_values": false,
|
| 129 |
+
"repetition_penalty": 1.0,
|
| 130 |
+
"return_dict": true,
|
| 131 |
+
"return_dict_in_generate": false,
|
| 132 |
+
"scale_embedding": false,
|
| 133 |
+
"sep_token_id": null,
|
| 134 |
+
"suppress_tokens": null,
|
| 135 |
+
"task_specific_params": null,
|
| 136 |
+
"temperature": 1.0,
|
| 137 |
+
"tf_legacy_loss": false,
|
| 138 |
+
"tie_encoder_decoder": false,
|
| 139 |
+
"tie_word_embeddings": true,
|
| 140 |
+
"tokenizer_class": null,
|
| 141 |
+
"top_k": 50,
|
| 142 |
+
"top_p": 1.0,
|
| 143 |
+
"torch_dtype": null,
|
| 144 |
+
"torchscript": false,
|
| 145 |
+
"typical_p": 1.0,
|
| 146 |
+
"use_bfloat16": false
|
| 147 |
+
},
|
| 148 |
+
"text_config": {
|
| 149 |
+
"model_type": "qwen2_5_omni_text",
|
| 150 |
+
"hidden_act": "silu",
|
| 151 |
+
"hidden_size": 3584,
|
| 152 |
+
"init_std": 0.02,
|
| 153 |
+
"intermediate_size": 18944,
|
| 154 |
+
"vocab_size": 152064,
|
| 155 |
+
"num_attention_heads": 28,
|
| 156 |
+
"num_hidden_layers": 28,
|
| 157 |
+
"num_key_value_heads": 4,
|
| 158 |
+
"max_position_embeddings": 32768,
|
| 159 |
+
"max_window_layers": 28,
|
| 160 |
+
"rms_norm_eps": 1e-06,
|
| 161 |
+
"rope_scaling": {
|
| 162 |
+
"mrope_section": [
|
| 163 |
+
16,
|
| 164 |
+
24,
|
| 165 |
+
24
|
| 166 |
+
],
|
| 167 |
+
"rope_type": "default",
|
| 168 |
+
"type": "default"
|
| 169 |
+
},
|
| 170 |
+
"use_cache": true,
|
| 171 |
+
"rope_theta": 1000000.0,
|
| 172 |
+
"use_sliding_window": false,
|
| 173 |
+
"sliding_window": 32768,
|
| 174 |
+
"attention_dropout": 0.0,
|
| 175 |
+
"tie_word_embeddings": false
|
| 176 |
+
},
|
| 177 |
+
"audio_end_token_id": 151648,
|
| 178 |
+
"audio_start_token_id": 151647,
|
| 179 |
+
"audio_token_index": 151646,
|
| 180 |
+
"bos_token_id": 151644,
|
| 181 |
+
"eos_token_id": 151645,
|
| 182 |
+
"ignore_index": -100,
|
| 183 |
+
"image_token_index": 151655,
|
| 184 |
+
"init_std": 0.02,
|
| 185 |
+
"model_type": "qwen2_5_omni_thinker",
|
| 186 |
+
"pad_token_id": 151643,
|
| 187 |
+
"position_id_per_seconds": 25,
|
| 188 |
+
"seconds_per_chunk": 2,
|
| 189 |
+
"torch_dtype": "bfloat16",
|
| 190 |
+
"user_token_id": 872,
|
| 191 |
+
"video_token_index": 151656,
|
| 192 |
+
"vision_config": {
|
| 193 |
+
"_attn_implementation_autoset": true,
|
| 194 |
+
"_name_or_path": "",
|
| 195 |
+
"add_cross_attention": false,
|
| 196 |
+
"architectures": null,
|
| 197 |
+
"bad_words_ids": null,
|
| 198 |
+
"begin_suppress_tokens": null,
|
| 199 |
+
"bos_token_id": null,
|
| 200 |
+
"chunk_size_feed_forward": 0,
|
| 201 |
+
"cross_attention_hidden_size": null,
|
| 202 |
+
"decoder_start_token_id": null,
|
| 203 |
+
"depth": 32,
|
| 204 |
+
"diversity_penalty": 0.0,
|
| 205 |
+
"do_sample": false,
|
| 206 |
+
"early_stopping": false,
|
| 207 |
+
"embed_dim": 1280,
|
| 208 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 209 |
+
"eos_token_id": null,
|
| 210 |
+
"exponential_decay_length_penalty": null,
|
| 211 |
+
"finetuning_task": null,
|
| 212 |
+
"forced_bos_token_id": null,
|
| 213 |
+
"forced_eos_token_id": null,
|
| 214 |
+
"fullatt_block_indexes": [
|
| 215 |
+
7,
|
| 216 |
+
15,
|
| 217 |
+
23,
|
| 218 |
+
31
|
| 219 |
+
],
|
| 220 |
+
"hidden_act": "silu",
|
| 221 |
+
"hidden_size": 1280,
|
| 222 |
+
"id2label": {
|
| 223 |
+
"0": "LABEL_0",
|
| 224 |
+
"1": "LABEL_1"
|
| 225 |
+
},
|
| 226 |
+
"in_channels": 3,
|
| 227 |
+
"in_chans": 3,
|
| 228 |
+
"init_std": 0.02,
|
| 229 |
+
"intermediate_size": 3420,
|
| 230 |
+
"is_decoder": false,
|
| 231 |
+
"is_encoder_decoder": false,
|
| 232 |
+
"label2id": {
|
| 233 |
+
"LABEL_0": 0,
|
| 234 |
+
"LABEL_1": 1
|
| 235 |
+
},
|
| 236 |
+
"length_penalty": 1.0,
|
| 237 |
+
"max_length": 20,
|
| 238 |
+
"min_length": 0,
|
| 239 |
+
"model_type": "qwen2_5_omni_vision_encoder",
|
| 240 |
+
"no_repeat_ngram_size": 0,
|
| 241 |
+
"num_beam_groups": 1,
|
| 242 |
+
"num_beams": 1,
|
| 243 |
+
"num_heads": 16,
|
| 244 |
+
"num_return_sequences": 1,
|
| 245 |
+
"out_hidden_size": 3584,
|
| 246 |
+
"output_attentions": false,
|
| 247 |
+
"output_hidden_states": false,
|
| 248 |
+
"output_scores": false,
|
| 249 |
+
"pad_token_id": null,
|
| 250 |
+
"patch_size": 14,
|
| 251 |
+
"prefix": null,
|
| 252 |
+
"problem_type": null,
|
| 253 |
+
"pruned_heads": {},
|
| 254 |
+
"remove_invalid_values": false,
|
| 255 |
+
"repetition_penalty": 1.0,
|
| 256 |
+
"return_dict": true,
|
| 257 |
+
"return_dict_in_generate": false,
|
| 258 |
+
"sep_token_id": null,
|
| 259 |
+
"spatial_merge_size": 2,
|
| 260 |
+
"spatial_patch_size": 14,
|
| 261 |
+
"suppress_tokens": null,
|
| 262 |
+
"task_specific_params": null,
|
| 263 |
+
"temperature": 1.0,
|
| 264 |
+
"temporal_patch_size": 2,
|
| 265 |
+
"tf_legacy_loss": false,
|
| 266 |
+
"tie_encoder_decoder": false,
|
| 267 |
+
"tie_word_embeddings": true,
|
| 268 |
+
"tokenizer_class": null,
|
| 269 |
+
"tokens_per_second": 25,
|
| 270 |
+
"top_k": 50,
|
| 271 |
+
"top_p": 1.0,
|
| 272 |
+
"torch_dtype": null,
|
| 273 |
+
"torchscript": false,
|
| 274 |
+
"typical_p": 1.0,
|
| 275 |
+
"use_bfloat16": false,
|
| 276 |
+
"window_size": 112
|
| 277 |
+
},
|
| 278 |
+
"vision_end_token_id": 151653,
|
| 279 |
+
"vision_start_token_id": 151652,
|
| 280 |
+
"vision_token_id": 151654
|
| 281 |
+
},
|
| 282 |
+
"token2wav_config": {
|
| 283 |
+
"_attn_implementation_autoset": true,
|
| 284 |
+
"bigvgan_config": {
|
| 285 |
+
"_attn_implementation_autoset": true,
|
| 286 |
+
"_name_or_path": "",
|
| 287 |
+
"add_cross_attention": false,
|
| 288 |
+
"architectures": null,
|
| 289 |
+
"bad_words_ids": null,
|
| 290 |
+
"begin_suppress_tokens": null,
|
| 291 |
+
"bos_token_id": null,
|
| 292 |
+
"chunk_size_feed_forward": 0,
|
| 293 |
+
"cross_attention_hidden_size": null,
|
| 294 |
+
"decoder_start_token_id": null,
|
| 295 |
+
"diversity_penalty": 0.0,
|
| 296 |
+
"do_sample": false,
|
| 297 |
+
"early_stopping": false,
|
| 298 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 299 |
+
"eos_token_id": null,
|
| 300 |
+
"exponential_decay_length_penalty": null,
|
| 301 |
+
"finetuning_task": null,
|
| 302 |
+
"forced_bos_token_id": null,
|
| 303 |
+
"forced_eos_token_id": null,
|
| 304 |
+
"id2label": {
|
| 305 |
+
"0": "LABEL_0",
|
| 306 |
+
"1": "LABEL_1"
|
| 307 |
+
},
|
| 308 |
+
"is_decoder": false,
|
| 309 |
+
"is_encoder_decoder": false,
|
| 310 |
+
"label2id": {
|
| 311 |
+
"LABEL_0": 0,
|
| 312 |
+
"LABEL_1": 1
|
| 313 |
+
},
|
| 314 |
+
"length_penalty": 1.0,
|
| 315 |
+
"max_length": 20,
|
| 316 |
+
"mel_dim": 80,
|
| 317 |
+
"min_length": 0,
|
| 318 |
+
"model_type": "qwen2_5_omni_bigvgan",
|
| 319 |
+
"no_repeat_ngram_size": 0,
|
| 320 |
+
"num_beam_groups": 1,
|
| 321 |
+
"num_beams": 1,
|
| 322 |
+
"num_return_sequences": 1,
|
| 323 |
+
"output_attentions": false,
|
| 324 |
+
"output_hidden_states": false,
|
| 325 |
+
"output_scores": false,
|
| 326 |
+
"pad_token_id": null,
|
| 327 |
+
"prefix": null,
|
| 328 |
+
"problem_type": null,
|
| 329 |
+
"pruned_heads": {},
|
| 330 |
+
"remove_invalid_values": false,
|
| 331 |
+
"repetition_penalty": 1.0,
|
| 332 |
+
"resblock_dilation_sizes": [
|
| 333 |
+
[
|
| 334 |
+
1,
|
| 335 |
+
3,
|
| 336 |
+
5
|
| 337 |
+
],
|
| 338 |
+
[
|
| 339 |
+
1,
|
| 340 |
+
3,
|
| 341 |
+
5
|
| 342 |
+
],
|
| 343 |
+
[
|
| 344 |
+
1,
|
| 345 |
+
3,
|
| 346 |
+
5
|
| 347 |
+
]
|
| 348 |
+
],
|
| 349 |
+
"resblock_kernel_sizes": [
|
| 350 |
+
3,
|
| 351 |
+
7,
|
| 352 |
+
11
|
| 353 |
+
],
|
| 354 |
+
"return_dict": true,
|
| 355 |
+
"return_dict_in_generate": false,
|
| 356 |
+
"sep_token_id": null,
|
| 357 |
+
"suppress_tokens": null,
|
| 358 |
+
"task_specific_params": null,
|
| 359 |
+
"temperature": 1.0,
|
| 360 |
+
"tf_legacy_loss": false,
|
| 361 |
+
"tie_encoder_decoder": false,
|
| 362 |
+
"tie_word_embeddings": true,
|
| 363 |
+
"tokenizer_class": null,
|
| 364 |
+
"top_k": 50,
|
| 365 |
+
"top_p": 1.0,
|
| 366 |
+
"torch_dtype": null,
|
| 367 |
+
"torchscript": false,
|
| 368 |
+
"typical_p": 1.0,
|
| 369 |
+
"upsample_initial_channel": 1536,
|
| 370 |
+
"upsample_kernel_sizes": [
|
| 371 |
+
11,
|
| 372 |
+
7,
|
| 373 |
+
4,
|
| 374 |
+
4,
|
| 375 |
+
4,
|
| 376 |
+
4
|
| 377 |
+
],
|
| 378 |
+
"upsample_rates": [
|
| 379 |
+
5,
|
| 380 |
+
3,
|
| 381 |
+
2,
|
| 382 |
+
2,
|
| 383 |
+
2,
|
| 384 |
+
2
|
| 385 |
+
],
|
| 386 |
+
"use_bfloat16": false,
|
| 387 |
+
"use_bias_at_final": false
|
| 388 |
+
},
|
| 389 |
+
"dit_config": {
|
| 390 |
+
"_attn_implementation_autoset": true,
|
| 391 |
+
"_name_or_path": "",
|
| 392 |
+
"add_cross_attention": false,
|
| 393 |
+
"architectures": null,
|
| 394 |
+
"bad_words_ids": null,
|
| 395 |
+
"begin_suppress_tokens": null,
|
| 396 |
+
"bos_token_id": null,
|
| 397 |
+
"chunk_size_feed_forward": 0,
|
| 398 |
+
"cross_attention_hidden_size": null,
|
| 399 |
+
"decoder_start_token_id": null,
|
| 400 |
+
"depth": 22,
|
| 401 |
+
"dim": 1024,
|
| 402 |
+
"diversity_penalty": 0.0,
|
| 403 |
+
"do_sample": false,
|
| 404 |
+
"dropout": 0.1,
|
| 405 |
+
"early_stopping": false,
|
| 406 |
+
"emb_dim": 512,
|
| 407 |
+
"enc_attention_channels": 64,
|
| 408 |
+
"enc_channels": [
|
| 409 |
+
256,
|
| 410 |
+
256,
|
| 411 |
+
256,
|
| 412 |
+
256,
|
| 413 |
+
768
|
| 414 |
+
],
|
| 415 |
+
"enc_dilations": [
|
| 416 |
+
1,
|
| 417 |
+
2,
|
| 418 |
+
3,
|
| 419 |
+
4,
|
| 420 |
+
1
|
| 421 |
+
],
|
| 422 |
+
"enc_dim": 128,
|
| 423 |
+
"enc_emb_dim": 192,
|
| 424 |
+
"enc_global_context": true,
|
| 425 |
+
"enc_kernel_sizes": [
|
| 426 |
+
5,
|
| 427 |
+
3,
|
| 428 |
+
3,
|
| 429 |
+
3,
|
| 430 |
+
1
|
| 431 |
+
],
|
| 432 |
+
"enc_lin_neurons": 192,
|
| 433 |
+
"enc_res2net_scale": 2,
|
| 434 |
+
"enc_se_channels": 64,
|
| 435 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 436 |
+
"eos_token_id": null,
|
| 437 |
+
"exponential_decay_length_penalty": null,
|
| 438 |
+
"ff_mult": 2,
|
| 439 |
+
"finetuning_task": null,
|
| 440 |
+
"forced_bos_token_id": null,
|
| 441 |
+
"forced_eos_token_id": null,
|
| 442 |
+
"head_dim": 64,
|
| 443 |
+
"heads": 16,
|
| 444 |
+
"id2label": {
|
| 445 |
+
"0": "LABEL_0",
|
| 446 |
+
"1": "LABEL_1"
|
| 447 |
+
},
|
| 448 |
+
"is_decoder": false,
|
| 449 |
+
"is_encoder_decoder": false,
|
| 450 |
+
"label2id": {
|
| 451 |
+
"LABEL_0": 0,
|
| 452 |
+
"LABEL_1": 1
|
| 453 |
+
},
|
| 454 |
+
"length_penalty": 1.0,
|
| 455 |
+
"max_length": 20,
|
| 456 |
+
"mel_dim": 80,
|
| 457 |
+
"min_length": 0,
|
| 458 |
+
"model_type": "qwen2_5_omni_dit",
|
| 459 |
+
"no_repeat_ngram_size": 0,
|
| 460 |
+
"num_beam_groups": 1,
|
| 461 |
+
"num_beams": 1,
|
| 462 |
+
"num_embeds": 8193,
|
| 463 |
+
"num_return_sequences": 1,
|
| 464 |
+
"output_attentions": false,
|
| 465 |
+
"output_hidden_states": false,
|
| 466 |
+
"output_scores": false,
|
| 467 |
+
"pad_token_id": null,
|
| 468 |
+
"prefix": null,
|
| 469 |
+
"problem_type": null,
|
| 470 |
+
"pruned_heads": {},
|
| 471 |
+
"remove_invalid_values": false,
|
| 472 |
+
"repeats": 2,
|
| 473 |
+
"repetition_penalty": 1.0,
|
| 474 |
+
"return_dict": true,
|
| 475 |
+
"return_dict_in_generate": false,
|
| 476 |
+
"sep_token_id": null,
|
| 477 |
+
"suppress_tokens": null,
|
| 478 |
+
"task_specific_params": null,
|
| 479 |
+
"temperature": 1.0,
|
| 480 |
+
"tf_legacy_loss": false,
|
| 481 |
+
"tie_encoder_decoder": false,
|
| 482 |
+
"tie_word_embeddings": true,
|
| 483 |
+
"tokenizer_class": null,
|
| 484 |
+
"top_k": 50,
|
| 485 |
+
"top_p": 1.0,
|
| 486 |
+
"torch_dtype": "float32",
|
| 487 |
+
"torchscript": false,
|
| 488 |
+
"typical_p": 1.0,
|
| 489 |
+
"use_bfloat16": false
|
| 490 |
+
},
|
| 491 |
+
"model_type": "qwen2_5_omni_token2wav"
|
| 492 |
+
},
|
| 493 |
+
"torch_dtype": "bfloat16",
|
| 494 |
+
"transformers_version": "4.50.0.dev0"
|
| 495 |
+
}
|
configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"framework": "pytorch", "task": "all-to-all", "allow_remote": true}
|
generation_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"transformers_version": "4.50.0.dev0"
|
| 4 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5edb02fd7c98803239468375cc9dc1bff492865c2aa086b78f348597021d6cbc
|
| 3 |
+
size 4985055504
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c99b55c6e5bc63fd4b19d4dc23cdc3ddac4b0101bb3c0958cc2b5d05c2bbafe
|
| 3 |
+
size 4991496800
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad00c3ac296300db905934ed213c4077ff49b85d30c0099270c814e2c77ec812
|
| 3 |
+
size 4991496904
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:152bc7d81441eaba22547d8d96c03d32dd592ce0e0e1d0e449347a4b23a532d3
|
| 3 |
+
size 4969489824
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8b18276481ba8cdf4fe2c98ac4c7a2da6e0d1c8a51850d162a391760cb2b81e
|
| 3 |
+
size 2425322160
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length": 300,
|
| 3 |
+
"dither": 0.0,
|
| 4 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
| 5 |
+
"feature_size": 128,
|
| 6 |
+
"hop_length": 160,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.48145466,
|
| 9 |
+
0.4578275,
|
| 10 |
+
0.40821073
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.26862954,
|
| 15 |
+
0.26130258,
|
| 16 |
+
0.27577711
|
| 17 |
+
],
|
| 18 |
+
"max_pixels": 12845056,
|
| 19 |
+
"merge_size": 2,
|
| 20 |
+
"min_pixels": 3136,
|
| 21 |
+
"n_fft": 400,
|
| 22 |
+
"n_samples": 4800000,
|
| 23 |
+
"nb_max_frames": 30000,
|
| 24 |
+
"padding_side": "right",
|
| 25 |
+
"padding_value": 0.0,
|
| 26 |
+
"patch_size": 14,
|
| 27 |
+
"processor_class": "Qwen2_5OmniProcessor",
|
| 28 |
+
"return_attention_mask": true,
|
| 29 |
+
"sampling_rate": 16000,
|
| 30 |
+
"temporal_patch_size": 2
|
| 31 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|AUDIO|>",
|
| 6 |
+
"<|audio_bos|>",
|
| 7 |
+
"<|audio_eos|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_bos|>",
|
| 12 |
+
"<|vision_eos|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|IMAGE|>",
|
| 15 |
+
"<|VIDEO|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
},
|
| 31 |
+
"image_token": "<|IMAGE|>",
|
| 32 |
+
"audio_token": "<|AUDIO|>",
|
| 33 |
+
"video_token": "<|VIDEO|>",
|
| 34 |
+
"vision_bos_token": "<|vision_bos|>",
|
| 35 |
+
"vision_eos_token": "<|vision_eos|>",
|
| 36 |
+
"audio_bos_token": "<|audio_bos|>",
|
| 37 |
+
"audio_eos_token": "<|audio_eos|>"
|
| 38 |
+
}
|
spk_dict.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a05609b28f5d42b7b748f0f07592545c8f1f6885b9ae8fff64baf56e86b2a18
|
| 3 |
+
size 259544
|
tactile.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05300d0a17528e10ebc2926f83a2342dee9c49c0c9a76b3f578f7778feaa68f8
|
| 3 |
+
size 5513742
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8441917e39ae0244e06d704b95b3124795cec478e297f9afac39ba670d7e9d99
|
| 3 |
+
size 11421870
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
"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 |
+
"bos_token": null,
|
| 197 |
+
"chat_template": "{% 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\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% 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|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
|
| 198 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"extra_special_tokens": {
|
| 202 |
+
"image_token": "<|IMAGE|>",
|
| 203 |
+
"audio_token": "<|AUDIO|>",
|
| 204 |
+
"video_token": "<|VIDEO|>",
|
| 205 |
+
"vision_bos_token": "<|vision_bos|>",
|
| 206 |
+
"vision_eos_token": "<|vision_eos|>",
|
| 207 |
+
"audio_bos_token": "<|audio_bos|>",
|
| 208 |
+
"audio_eos_token": "<|audio_eos|>"
|
| 209 |
+
},
|
| 210 |
+
"model_max_length": 32768,
|
| 211 |
+
"pad_token": "<|endoftext|>",
|
| 212 |
+
"processor_class": "Qwen2_5OmniProcessor",
|
| 213 |
+
"split_special_tokens": false,
|
| 214 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 215 |
+
"unk_token": null,
|
| 216 |
+
"image_token": "<|IMAGE|>",
|
| 217 |
+
"audio_token": "<|AUDIO|>",
|
| 218 |
+
"video_token": "<|VIDEO|>",
|
| 219 |
+
"vision_bos_token": "<|vision_bos|>",
|
| 220 |
+
"vision_eos_token": "<|vision_eos|>",
|
| 221 |
+
"audio_bos_token": "<|audio_bos|>",
|
| 222 |
+
"audio_eos_token": "<|audio_eos|>"
|
| 223 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|