fredaddy clonefy commited on
Commit
250141d
0 Parent(s):

Duplicate from Qwen/Qwen2-VL-7B-Instruct

Browse files

Co-authored-by: Yang Fan <clonefy@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
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
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2024 Alibaba Cloud
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,495 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ pipeline_tag: image-text-to-text
6
+ tags:
7
+ - multimodal
8
+ library_name: transformers
9
+ ---
10
+
11
+ # Qwen2-VL-7B-Instruct
12
+
13
+ ## Introduction
14
+
15
+ We're excited to unveil **Qwen2-VL**, the latest iteration of our Qwen-VL model, representing nearly a year of innovation.
16
+
17
+ ### What’s New in Qwen2-VL?
18
+
19
+ #### Key Enhancements:
20
+
21
+
22
+ * **SoTA understanding of images of various resolution & ratio**: Qwen2-VL achieves state-of-the-art performance on visual understanding benchmarks, including MathVista, DocVQA, RealWorldQA, MTVQA, etc.
23
+
24
+ * **Understanding videos of 20min+**: Qwen2-VL can understand videos over 20 minutes for high-quality video-based question answering, dialog, content creation, etc.
25
+
26
+ * **Agent that can operate your mobiles, robots, etc.**: with the abilities of complex reasoning and decision making, Qwen2-VL can be integrated with devices like mobile phones, robots, etc., for automatic operation based on visual environment and text instructions.
27
+
28
+ * **Multilingual Support**: to serve global users, besides English and Chinese, Qwen2-VL now supports the understanding of texts in different languages inside images, including most European languages, Japanese, Korean, Arabic, Vietnamese, etc.
29
+
30
+
31
+ #### Model Architecture Updates:
32
+
33
+ * **Naive Dynamic Resolution**: Unlike before, Qwen2-VL can handle arbitrary image resolutions, mapping them into a dynamic number of visual tokens, offering a more human-like visual processing experience.
34
+
35
+ <p align="center">
36
+ <img src="https://qianwen-res.oss-accelerate-overseas.aliyuncs.com/Qwen2-VL/qwen2_vl.jpg" width="80%"/>
37
+ <p>
38
+
39
+ * **Multimodal Rotary Position Embedding (M-ROPE)**: Decomposes positional embedding into parts to capture 1D textual, 2D visual, and 3D video positional information, enhancing its multimodal processing capabilities.
40
+
41
+ <p align="center">
42
+ <img src="http://qianwen-res.oss-accelerate-overseas.aliyuncs.com/Qwen2-VL/mrope.png" width="80%"/>
43
+ <p>
44
+
45
+ We have three models with 2, 7 and 72 billion parameters. This repo contains the instruction-tuned 7B Qwen2-VL model. For more information, visit our [Blog](https://qwenlm.github.io/blog/qwen2-vl/) and [GitHub](https://github.com/QwenLM/Qwen2-VL).
46
+
47
+
48
+
49
+ ## Evaluation
50
+
51
+ ### Image Benchmarks
52
+
53
+ | Benchmark | InternVL2-8B | MiniCPM-V 2.6 | GPT-4o-mini | **Qwen2-VL-7B** |
54
+ | :--- | :---: | :---: | :---: | :---: |
55
+ | MMMU<sub>val</sub> | 51.8 | 49.8 | **60**| 54.1 |
56
+ | DocVQA<sub>test</sub> | 91.6 | 90.8 | - | **94.5** |
57
+ | InfoVQA<sub>test</sub> | 74.8 | - | - |**76.5** |
58
+ | ChartQA<sub>test</sub> | **83.3** | - |- | 83.0 |
59
+ | TextVQA<sub>val</sub> | 77.4 | 80.1 | -| **84.3** |
60
+ | OCRBench | 794 | **852** | 785 | 845 |
61
+ | MTVQA | - | - | -| **26.3** |
62
+ | VCR<sub>en easy</sub> | - | 73.88 | 83.60 | **89.70** |
63
+ | VCR<sub>zh easy</sub> | - | 10.18| 1.10 | **59.94** |
64
+ | RealWorldQA | 64.4 | - | - | **70.1** |
65
+ | MME<sub>sum</sub> | 2210.3 | **2348.4** | 2003.4| 2326.8 |
66
+ | MMBench-EN<sub>test</sub> | 81.7 | - | - | **83.0** |
67
+ | MMBench-CN<sub>test</sub> | **81.2** | - | - | 80.5 |
68
+ | MMBench-V1.1<sub>test</sub> | 79.4 | 78.0 | 76.0| **80.7** |
69
+ | MMT-Bench<sub>test</sub> | - | - | - |**63.7** |
70
+ | MMStar | **61.5** | 57.5 | 54.8 | 60.7 |
71
+ | MMVet<sub>GPT-4-Turbo</sub> | 54.2 | 60.0 | **66.9** | 62.0 |
72
+ | HallBench<sub>avg</sub> | 45.2 | 48.1 | 46.1| **50.6** |
73
+ | MathVista<sub>testmini</sub> | 58.3 | **60.6** | 52.4 | 58.2 |
74
+ | MathVision | - | - | - | **16.3** |
75
+
76
+ ### Video Benchmarks
77
+
78
+ | Benchmark | Internvl2-8B | LLaVA-OneVision-7B | MiniCPM-V 2.6 | **Qwen2-VL-7B** |
79
+ | :--- | :---: | :---: | :---: | :---: |
80
+ | MVBench | 66.4 | 56.7 | - | **67.0** |
81
+ | PerceptionTest<sub>test</sub> | - | 57.1 | - | **62.3** |
82
+ | EgoSchema<sub>test</sub> | - | 60.1 | - | **66.7** |
83
+ | Video-MME<sub>wo/w subs</sub> | 54.0/56.9 | 58.2/- | 60.9/63.6 | **63.3**/**69.0** |
84
+
85
+
86
+
87
+
88
+ ## Requirements
89
+ The code of Qwen2-VL has been in the latest Hugging face transformers and we advise you to build from source with command `pip install git+https://github.com/huggingface/transformers`, or you might encounter the following error:
90
+ ```
91
+ KeyError: 'qwen2_vl'
92
+ ```
93
+
94
+ ## Quickstart
95
+ We offer a toolkit to help you handle various types of visual input more conveniently. This includes base64, URLs, and interleaved images and videos. You can install it using the following command:
96
+
97
+ ```bash
98
+ pip install qwen-vl-utils
99
+ ```
100
+
101
+ Here we show a code snippet to show you how to use the chat model with `transformers` and `qwen_vl_utils`:
102
+
103
+ ```python
104
+ from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
105
+ from qwen_vl_utils import process_vision_info
106
+
107
+ # default: Load the model on the available device(s)
108
+ model = Qwen2VLForConditionalGeneration.from_pretrained(
109
+ "Qwen/Qwen2-VL-7B-Instruct", torch_dtype="auto", device_map="auto"
110
+ )
111
+
112
+ # We recommend enabling flash_attention_2 for better acceleration and memory saving, especially in multi-image and video scenarios.
113
+ # model = Qwen2VLForConditionalGeneration.from_pretrained(
114
+ # "Qwen/Qwen2-VL-7B-Instruct",
115
+ # torch_dtype=torch.bfloat16,
116
+ # attn_implementation="flash_attention_2",
117
+ # device_map="auto",
118
+ # )
119
+
120
+ # default processer
121
+ processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
122
+
123
+ # The default range for the number of visual tokens per image in the model is 4-16384. You can set min_pixels and max_pixels according to your needs, such as a token count range of 256-1280, to balance speed and memory usage.
124
+ # min_pixels = 256*28*28
125
+ # max_pixels = 1280*28*28
126
+ # processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels)
127
+
128
+ messages = [
129
+ {
130
+ "role": "user",
131
+ "content": [
132
+ {
133
+ "type": "image",
134
+ "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
135
+ },
136
+ {"type": "text", "text": "Describe this image."},
137
+ ],
138
+ }
139
+ ]
140
+
141
+ # Preparation for inference
142
+ text = processor.apply_chat_template(
143
+ messages, tokenize=False, add_generation_prompt=True
144
+ )
145
+ image_inputs, video_inputs = process_vision_info(messages)
146
+ inputs = processor(
147
+ text=[text],
148
+ images=image_inputs,
149
+ videos=video_inputs,
150
+ padding=True,
151
+ return_tensors="pt",
152
+ )
153
+ inputs = inputs.to("cuda")
154
+
155
+ # Inference: Generation of the output
156
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
157
+ generated_ids_trimmed = [
158
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
159
+ ]
160
+ output_text = processor.batch_decode(
161
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
162
+ )
163
+ print(output_text)
164
+ ```
165
+ <details>
166
+ <summary>Without qwen_vl_utils</summary>
167
+
168
+ ```python
169
+ from PIL import Image
170
+ import requests
171
+ import torch
172
+ from torchvision import io
173
+ from typing import Dict
174
+ from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
175
+
176
+ # Load the model in half-precision on the available device(s)
177
+ model = Qwen2VLForConditionalGeneration.from_pretrained(
178
+ "Qwen/Qwen2-VL-7B-Instruct", torch_dtype="auto", device_map="auto"
179
+ )
180
+ processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
181
+
182
+ # Image
183
+ url = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"
184
+ image = Image.open(requests.get(url, stream=True).raw)
185
+
186
+ conversation = [
187
+ {
188
+ "role": "user",
189
+ "content": [
190
+ {
191
+ "type": "image",
192
+ },
193
+ {"type": "text", "text": "Describe this image."},
194
+ ],
195
+ }
196
+ ]
197
+
198
+
199
+ # Preprocess the inputs
200
+ text_prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
201
+ # Excepted output: '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>Describe this image.<|im_end|>\n<|im_start|>assistant\n'
202
+
203
+ inputs = processor(
204
+ text=[text_prompt], images=[image], padding=True, return_tensors="pt"
205
+ )
206
+ inputs = inputs.to("cuda")
207
+
208
+ # Inference: Generation of the output
209
+ output_ids = model.generate(**inputs, max_new_tokens=128)
210
+ generated_ids = [
211
+ output_ids[len(input_ids) :]
212
+ for input_ids, output_ids in zip(inputs.input_ids, output_ids)
213
+ ]
214
+ output_text = processor.batch_decode(
215
+ generated_ids, skip_special_tokens=True, clean_up_tokenization_spaces=True
216
+ )
217
+ print(output_text)
218
+ ```
219
+ </details>
220
+ <details>
221
+ <summary>Multi image inference</summary>
222
+
223
+ ```python
224
+ # Messages containing multiple images and a text query
225
+ messages = [
226
+ {
227
+ "role": "user",
228
+ "content": [
229
+ {"type": "image", "image": "file:///path/to/image1.jpg"},
230
+ {"type": "image", "image": "file:///path/to/image2.jpg"},
231
+ {"type": "text", "text": "Identify the similarities between these images."},
232
+ ],
233
+ }
234
+ ]
235
+
236
+ # Preparation for inference
237
+ text = processor.apply_chat_template(
238
+ messages, tokenize=False, add_generation_prompt=True
239
+ )
240
+ image_inputs, video_inputs = process_vision_info(messages)
241
+ inputs = processor(
242
+ text=[text],
243
+ images=image_inputs,
244
+ videos=video_inputs,
245
+ padding=True,
246
+ return_tensors="pt",
247
+ )
248
+ inputs = inputs.to("cuda")
249
+
250
+ # Inference
251
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
252
+ generated_ids_trimmed = [
253
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
254
+ ]
255
+ output_text = processor.batch_decode(
256
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
257
+ )
258
+ print(output_text)
259
+ ```
260
+ </details>
261
+
262
+ <details>
263
+ <summary>Video inference</summary>
264
+
265
+ ```python
266
+ # Messages containing a images list as a video and a text query
267
+ messages = [
268
+ {
269
+ "role": "user",
270
+ "content": [
271
+ {
272
+ "type": "video",
273
+ "video": [
274
+ "file:///path/to/frame1.jpg",
275
+ "file:///path/to/frame2.jpg",
276
+ "file:///path/to/frame3.jpg",
277
+ "file:///path/to/frame4.jpg",
278
+ ],
279
+ "fps": 1.0,
280
+ },
281
+ {"type": "text", "text": "Describe this video."},
282
+ ],
283
+ }
284
+ ]
285
+ # Messages containing a video and a text query
286
+ messages = [
287
+ {
288
+ "role": "user",
289
+ "content": [
290
+ {
291
+ "type": "video",
292
+ "video": "file:///path/to/video1.mp4",
293
+ "max_pixels": 360 * 420,
294
+ "fps": 1.0,
295
+ },
296
+ {"type": "text", "text": "Describe this video."},
297
+ ],
298
+ }
299
+ ]
300
+
301
+ # Preparation for inference
302
+ text = processor.apply_chat_template(
303
+ messages, tokenize=False, add_generation_prompt=True
304
+ )
305
+ image_inputs, video_inputs = process_vision_info(messages)
306
+ inputs = processor(
307
+ text=[text],
308
+ images=image_inputs,
309
+ videos=video_inputs,
310
+ padding=True,
311
+ return_tensors="pt",
312
+ )
313
+ inputs = inputs.to("cuda")
314
+
315
+ # Inference
316
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
317
+ generated_ids_trimmed = [
318
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
319
+ ]
320
+ output_text = processor.batch_decode(
321
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
322
+ )
323
+ print(output_text)
324
+ ```
325
+ </details>
326
+
327
+ <details>
328
+ <summary>Batch inference</summary>
329
+
330
+ ```python
331
+ # Sample messages for batch inference
332
+ messages1 = [
333
+ {
334
+ "role": "user",
335
+ "content": [
336
+ {"type": "image", "image": "file:///path/to/image1.jpg"},
337
+ {"type": "image", "image": "file:///path/to/image2.jpg"},
338
+ {"type": "text", "text": "What are the common elements in these pictures?"},
339
+ ],
340
+ }
341
+ ]
342
+ messages2 = [
343
+ {"role": "system", "content": "You are a helpful assistant."},
344
+ {"role": "user", "content": "Who are you?"},
345
+ ]
346
+ # Combine messages for batch processing
347
+ messages = [messages1, messages1]
348
+
349
+ # Preparation for batch inference
350
+ texts = [
351
+ processor.apply_chat_template(msg, tokenize=False, add_generation_prompt=True)
352
+ for msg in messages
353
+ ]
354
+ image_inputs, video_inputs = process_vision_info(messages)
355
+ inputs = processor(
356
+ text=texts,
357
+ images=image_inputs,
358
+ videos=video_inputs,
359
+ padding=True,
360
+ return_tensors="pt",
361
+ )
362
+ inputs = inputs.to("cuda")
363
+
364
+ # Batch Inference
365
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
366
+ generated_ids_trimmed = [
367
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
368
+ ]
369
+ output_texts = processor.batch_decode(
370
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
371
+ )
372
+ print(output_texts)
373
+ ```
374
+ </details>
375
+
376
+ ### More Usage Tips
377
+
378
+ For input images, we support local files, base64, and URLs. For videos, we currently only support local files.
379
+
380
+ ```python
381
+ # You can directly insert a local file path, a URL, or a base64-encoded image into the position where you want in the text.
382
+ ## Local file path
383
+ messages = [
384
+ {
385
+ "role": "user",
386
+ "content": [
387
+ {"type": "image", "image": "file:///path/to/your/image.jpg"},
388
+ {"type": "text", "text": "Describe this image."},
389
+ ],
390
+ }
391
+ ]
392
+ ## Image URL
393
+ messages = [
394
+ {
395
+ "role": "user",
396
+ "content": [
397
+ {"type": "image", "image": "http://path/to/your/image.jpg"},
398
+ {"type": "text", "text": "Describe this image."},
399
+ ],
400
+ }
401
+ ]
402
+ ## Base64 encoded image
403
+ messages = [
404
+ {
405
+ "role": "user",
406
+ "content": [
407
+ {"type": "image", "image": "data:image;base64,/9j/..."},
408
+ {"type": "text", "text": "Describe this image."},
409
+ ],
410
+ }
411
+ ]
412
+ ```
413
+ #### Image Resolution for performance boost
414
+
415
+ The model supports a wide range of resolution inputs. By default, it uses the native resolution for input, but higher resolutions can enhance performance at the cost of more computation. Users can set the minimum and maximum number of pixels to achieve an optimal configuration for their needs, such as a token count range of 256-1280, to balance speed and memory usage.
416
+
417
+ ```python
418
+ min_pixels = 256 * 28 * 28
419
+ max_pixels = 1280 * 28 * 28
420
+ processor = AutoProcessor.from_pretrained(
421
+ "Qwen/Qwen2-VL-7B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels
422
+ )
423
+ ```
424
+
425
+ Besides, We provide two methods for fine-grained control over the image size input to the model:
426
+
427
+ 1. Define min_pixels and max_pixels: Images will be resized to maintain their aspect ratio within the range of min_pixels and max_pixels.
428
+
429
+ 2. Specify exact dimensions: Directly set `resized_height` and `resized_width`. These values will be rounded to the nearest multiple of 28.
430
+
431
+ ```python
432
+ # min_pixels and max_pixels
433
+ messages = [
434
+ {
435
+ "role": "user",
436
+ "content": [
437
+ {
438
+ "type": "image",
439
+ "image": "file:///path/to/your/image.jpg",
440
+ "resized_height": 280,
441
+ "resized_width": 420,
442
+ },
443
+ {"type": "text", "text": "Describe this image."},
444
+ ],
445
+ }
446
+ ]
447
+ # resized_height and resized_width
448
+ messages = [
449
+ {
450
+ "role": "user",
451
+ "content": [
452
+ {
453
+ "type": "image",
454
+ "image": "file:///path/to/your/image.jpg",
455
+ "min_pixels": 50176,
456
+ "max_pixels": 50176,
457
+ },
458
+ {"type": "text", "text": "Describe this image."},
459
+ ],
460
+ }
461
+ ]
462
+ ```
463
+
464
+ ## Limitations
465
+
466
+ While Qwen2-VL are applicable to a wide range of visual tasks, it is equally important to understand its limitations. Here are some known restrictions:
467
+
468
+ 1. Lack of Audio Support: The current model does **not comprehend audio information** within videos.
469
+ 2. Data timeliness: Our image dataset is **updated until June 2023**, and information subsequent to this date may not be covered.
470
+ 3. Constraints in Individuals and Intellectual Property (IP): The model's capacity to recognize specific individuals or IPs is limited, potentially failing to comprehensively cover all well-known personalities or brands.
471
+ 4. Limited Capacity for Complex Instruction: When faced with intricate multi-step instructions, the model's understanding and execution capabilities require enhancement.
472
+ 5. Insufficient Counting Accuracy: Particularly in complex scenes, the accuracy of object counting is not high, necessitating further improvements.
473
+ 6. Weak Spatial Reasoning Skills: Especially in 3D spaces, the model's inference of object positional relationships is inadequate, making it difficult to precisely judge the relative positions of objects.
474
+
475
+ These limitations serve as ongoing directions for model optimization and improvement, and we are committed to continually enhancing the model's performance and scope of application.
476
+
477
+
478
+ ## Citation
479
+
480
+ If you find our work helpful, feel free to give us a cite.
481
+
482
+ ```
483
+ @article{Qwen2-VL,
484
+ title={Qwen2-VL},
485
+ author={Qwen team},
486
+ year={2024}
487
+ }
488
+
489
+ @article{Qwen-VL,
490
+ title={Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond},
491
+ author={Bai, Jinze and Bai, Shuai and Yang, Shusheng and Wang, Shijie and Tan, Sinan and Wang, Peng and Lin, Junyang and Zhou, Chang and Zhou, Jingren},
492
+ journal={arXiv preprint arXiv:2308.12966},
493
+ year={2023}
494
+ }
495
+ ```
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{% 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_start|><|image_pad|><|vision_end|>{% 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_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
3
+ }
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2VLForConditionalGeneration"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 151643,
7
+ "eos_token_id": 151645,
8
+ "vision_start_token_id": 151652,
9
+ "vision_end_token_id": 151653,
10
+ "vision_token_id": 151654,
11
+ "image_token_id": 151655,
12
+ "video_token_id": 151656,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 3584,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 18944,
17
+ "max_position_embeddings": 32768,
18
+ "max_window_layers": 28,
19
+ "model_type": "qwen2_vl",
20
+ "num_attention_heads": 28,
21
+ "num_hidden_layers": 28,
22
+ "num_key_value_heads": 4,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_theta": 1000000.0,
25
+ "sliding_window": 32768,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.41.2",
29
+ "use_cache": true,
30
+ "use_sliding_window": false,
31
+ "vision_config": {
32
+ "depth": 32,
33
+ "embed_dim": 1280,
34
+ "mlp_ratio": 4,
35
+ "num_heads": 16,
36
+ "in_chans": 3,
37
+ "hidden_size": 3584,
38
+ "patch_size": 14,
39
+ "spatial_merge_size": 2,
40
+ "spatial_patch_size": 14,
41
+ "temporal_patch_size": 2
42
+ },
43
+ "rope_scaling": {
44
+ "type": "mrope",
45
+ "mrope_section": [
46
+ 16,
47
+ 24,
48
+ 24
49
+ ]
50
+ },
51
+ "vocab_size": 152064
52
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "pad_token_id": 151643,
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 151645,
7
+ 151643
8
+ ],
9
+ "repetition_penalty": 1.0,
10
+ "temperature": 0.01,
11
+ "top_p": 0.001,
12
+ "top_k": 1,
13
+ "transformers_version": "4.37.0"
14
+ }
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:eab4f4dc1abf860794c98ce3759b4ace1059fc0fc041ede76b88988b3557c132
3
+ size 3898649896
model-00002-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0546b7cd070ff239de0f61a28770de6a0ac517ad313071e151653e38911ffb25
3
+ size 3864726320
model-00003-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11368ea1e9c0039ca54012a74ac32d543a9e9d980b2d0ad7e93af0341ace1fe6
3
+ size 3864726424
model-00004-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:381e110d74db594cc24956af0e74a01ae02104497113a78926990c5bd1f395f6
3
+ size 3864733680
model-00005-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e76ec4dc2e7c0dcbe3432e58fae08e62204a2ef2323069d85c8fa0affb87332a
3
+ size 1089994880
model.safetensors.index.json ADDED
@@ -0,0 +1,737 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 16582751232
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00005-of-00005.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00005.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00005.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
13
+ "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
16
+ "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
18
+ "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
19
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
20
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00005.safetensors",
21
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
22
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
23
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
24
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
25
+ "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
26
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
27
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
28
+ "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
29
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
30
+ "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
31
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
32
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00005.safetensors",
33
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
34
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
35
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
36
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
37
+ "model.layers.10.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
38
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
39
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
40
+ "model.layers.10.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
41
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
42
+ "model.layers.10.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
43
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
44
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00005.safetensors",
45
+ "model.layers.11.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
46
+ "model.layers.11.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
47
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
48
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
49
+ "model.layers.11.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
50
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
51
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
52
+ "model.layers.11.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
53
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
54
+ "model.layers.11.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
55
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
56
+ "model.layers.12.input_layernorm.weight": "model-00003-of-00005.safetensors",
57
+ "model.layers.12.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
58
+ "model.layers.12.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
59
+ "model.layers.12.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
60
+ "model.layers.12.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
61
+ "model.layers.12.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
62
+ "model.layers.12.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
63
+ "model.layers.12.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
64
+ "model.layers.12.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
65
+ "model.layers.12.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
66
+ "model.layers.12.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
67
+ "model.layers.12.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
68
+ "model.layers.13.input_layernorm.weight": "model-00003-of-00005.safetensors",
69
+ "model.layers.13.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
70
+ "model.layers.13.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
71
+ "model.layers.13.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
72
+ "model.layers.13.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
73
+ "model.layers.13.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
74
+ "model.layers.13.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
75
+ "model.layers.13.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
76
+ "model.layers.13.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
77
+ "model.layers.13.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
78
+ "model.layers.13.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
79
+ "model.layers.13.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
80
+ "model.layers.14.input_layernorm.weight": "model-00003-of-00005.safetensors",
81
+ "model.layers.14.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
82
+ "model.layers.14.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
83
+ "model.layers.14.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
84
+ "model.layers.14.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
85
+ "model.layers.14.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
86
+ "model.layers.14.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
87
+ "model.layers.14.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
88
+ "model.layers.14.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
89
+ "model.layers.14.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
90
+ "model.layers.14.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
91
+ "model.layers.14.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
92
+ "model.layers.15.input_layernorm.weight": "model-00003-of-00005.safetensors",
93
+ "model.layers.15.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
94
+ "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
95
+ "model.layers.15.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
96
+ "model.layers.15.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
97
+ "model.layers.15.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
98
+ "model.layers.15.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
99
+ "model.layers.15.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
100
+ "model.layers.15.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
101
+ "model.layers.15.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
102
+ "model.layers.15.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
103
+ "model.layers.15.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
104
+ "model.layers.16.input_layernorm.weight": "model-00003-of-00005.safetensors",
105
+ "model.layers.16.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
106
+ "model.layers.16.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
107
+ "model.layers.16.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
108
+ "model.layers.16.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
109
+ "model.layers.16.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
110
+ "model.layers.16.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
111
+ "model.layers.16.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
112
+ "model.layers.16.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
113
+ "model.layers.16.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
114
+ "model.layers.16.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
115
+ "model.layers.16.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
116
+ "model.layers.17.input_layernorm.weight": "model-00003-of-00005.safetensors",
117
+ "model.layers.17.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
118
+ "model.layers.17.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
119
+ "model.layers.17.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
120
+ "model.layers.17.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
121
+ "model.layers.17.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
122
+ "model.layers.17.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
123
+ "model.layers.17.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
124
+ "model.layers.17.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
125
+ "model.layers.17.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
126
+ "model.layers.17.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
127
+ "model.layers.17.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
128
+ "model.layers.18.input_layernorm.weight": "model-00003-of-00005.safetensors",
129
+ "model.layers.18.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
130
+ "model.layers.18.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
131
+ "model.layers.18.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
132
+ "model.layers.18.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
133
+ "model.layers.18.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
134
+ "model.layers.18.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
135
+ "model.layers.18.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
136
+ "model.layers.18.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
137
+ "model.layers.18.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
138
+ "model.layers.18.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
139
+ "model.layers.18.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
140
+ "model.layers.19.input_layernorm.weight": "model-00003-of-00005.safetensors",
141
+ "model.layers.19.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
142
+ "model.layers.19.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
143
+ "model.layers.19.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
144
+ "model.layers.19.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
145
+ "model.layers.19.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
146
+ "model.layers.19.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
147
+ "model.layers.19.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
148
+ "model.layers.19.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
149
+ "model.layers.19.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
150
+ "model.layers.19.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
151
+ "model.layers.19.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
152
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00005.safetensors",
153
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
154
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
155
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
156
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
157
+ "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
158
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
159
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
160
+ "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
161
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
162
+ "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
163
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
164
+ "model.layers.20.input_layernorm.weight": "model-00004-of-00005.safetensors",
165
+ "model.layers.20.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
166
+ "model.layers.20.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
167
+ "model.layers.20.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
168
+ "model.layers.20.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
169
+ "model.layers.20.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
170
+ "model.layers.20.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
171
+ "model.layers.20.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
172
+ "model.layers.20.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
173
+ "model.layers.20.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
174
+ "model.layers.20.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
175
+ "model.layers.20.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
176
+ "model.layers.21.input_layernorm.weight": "model-00004-of-00005.safetensors",
177
+ "model.layers.21.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
178
+ "model.layers.21.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
179
+ "model.layers.21.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
180
+ "model.layers.21.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
181
+ "model.layers.21.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
182
+ "model.layers.21.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
183
+ "model.layers.21.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
184
+ "model.layers.21.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
185
+ "model.layers.21.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
186
+ "model.layers.21.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
187
+ "model.layers.21.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
188
+ "model.layers.22.input_layernorm.weight": "model-00004-of-00005.safetensors",
189
+ "model.layers.22.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
190
+ "model.layers.22.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
191
+ "model.layers.22.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
192
+ "model.layers.22.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
193
+ "model.layers.22.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
194
+ "model.layers.22.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
195
+ "model.layers.22.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
196
+ "model.layers.22.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
197
+ "model.layers.22.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
198
+ "model.layers.22.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
199
+ "model.layers.22.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
200
+ "model.layers.23.input_layernorm.weight": "model-00004-of-00005.safetensors",
201
+ "model.layers.23.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
202
+ "model.layers.23.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
203
+ "model.layers.23.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
204
+ "model.layers.23.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
205
+ "model.layers.23.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
206
+ "model.layers.23.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
207
+ "model.layers.23.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
208
+ "model.layers.23.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
209
+ "model.layers.23.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
210
+ "model.layers.23.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
211
+ "model.layers.23.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
212
+ "model.layers.24.input_layernorm.weight": "model-00004-of-00005.safetensors",
213
+ "model.layers.24.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
214
+ "model.layers.24.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
215
+ "model.layers.24.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
216
+ "model.layers.24.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
217
+ "model.layers.24.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
218
+ "model.layers.24.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
219
+ "model.layers.24.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
220
+ "model.layers.24.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
221
+ "model.layers.24.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
222
+ "model.layers.24.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
223
+ "model.layers.24.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
224
+ "model.layers.25.input_layernorm.weight": "model-00004-of-00005.safetensors",
225
+ "model.layers.25.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
226
+ "model.layers.25.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
227
+ "model.layers.25.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
228
+ "model.layers.25.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
229
+ "model.layers.25.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
230
+ "model.layers.25.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
231
+ "model.layers.25.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
232
+ "model.layers.25.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
233
+ "model.layers.25.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
234
+ "model.layers.25.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
235
+ "model.layers.25.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
236
+ "model.layers.26.input_layernorm.weight": "model-00004-of-00005.safetensors",
237
+ "model.layers.26.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
238
+ "model.layers.26.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
239
+ "model.layers.26.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
240
+ "model.layers.26.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
241
+ "model.layers.26.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
242
+ "model.layers.26.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
243
+ "model.layers.26.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
244
+ "model.layers.26.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
245
+ "model.layers.26.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
246
+ "model.layers.26.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
247
+ "model.layers.26.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
248
+ "model.layers.27.input_layernorm.weight": "model-00004-of-00005.safetensors",
249
+ "model.layers.27.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
250
+ "model.layers.27.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
251
+ "model.layers.27.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
252
+ "model.layers.27.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
253
+ "model.layers.27.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
254
+ "model.layers.27.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
255
+ "model.layers.27.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
256
+ "model.layers.27.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
257
+ "model.layers.27.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
258
+ "model.layers.27.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
259
+ "model.layers.27.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
260
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00005.safetensors",
261
+ "model.layers.3.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
262
+ "model.layers.3.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
263
+ "model.layers.3.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
264
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
265
+ "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
266
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
267
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
268
+ "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
269
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
270
+ "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
271
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
272
+ "model.layers.4.input_layernorm.weight": "model-00002-of-00005.safetensors",
273
+ "model.layers.4.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
274
+ "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
275
+ "model.layers.4.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
276
+ "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
277
+ "model.layers.4.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
278
+ "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
279
+ "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
280
+ "model.layers.4.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
281
+ "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
282
+ "model.layers.4.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
283
+ "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
284
+ "model.layers.5.input_layernorm.weight": "model-00002-of-00005.safetensors",
285
+ "model.layers.5.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
286
+ "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
287
+ "model.layers.5.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
288
+ "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
289
+ "model.layers.5.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
290
+ "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
291
+ "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
292
+ "model.layers.5.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
293
+ "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
294
+ "model.layers.5.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
295
+ "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
296
+ "model.layers.6.input_layernorm.weight": "model-00002-of-00005.safetensors",
297
+ "model.layers.6.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
298
+ "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
299
+ "model.layers.6.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
300
+ "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
301
+ "model.layers.6.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
302
+ "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
303
+ "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
304
+ "model.layers.6.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
305
+ "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
306
+ "model.layers.6.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
307
+ "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
308
+ "model.layers.7.input_layernorm.weight": "model-00002-of-00005.safetensors",
309
+ "model.layers.7.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
310
+ "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
311
+ "model.layers.7.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
312
+ "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
313
+ "model.layers.7.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
314
+ "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
315
+ "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
316
+ "model.layers.7.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
317
+ "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
318
+ "model.layers.7.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
319
+ "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
320
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00005.safetensors",
321
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
322
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
323
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
324
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
325
+ "model.layers.8.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
326
+ "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
327
+ "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
328
+ "model.layers.8.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
329
+ "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
330
+ "model.layers.8.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
331
+ "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
332
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00005.safetensors",
333
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
334
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
335
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
336
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
337
+ "model.layers.9.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
338
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
339
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
340
+ "model.layers.9.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
341
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
342
+ "model.layers.9.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
343
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
344
+ "model.norm.weight": "model-00004-of-00005.safetensors",
345
+ "visual.blocks.0.attn.proj.bias": "model-00001-of-00005.safetensors",
346
+ "visual.blocks.0.attn.proj.weight": "model-00001-of-00005.safetensors",
347
+ "visual.blocks.0.attn.qkv.bias": "model-00001-of-00005.safetensors",
348
+ "visual.blocks.0.attn.qkv.weight": "model-00001-of-00005.safetensors",
349
+ "visual.blocks.0.mlp.fc1.bias": "model-00001-of-00005.safetensors",
350
+ "visual.blocks.0.mlp.fc1.weight": "model-00001-of-00005.safetensors",
351
+ "visual.blocks.0.mlp.fc2.bias": "model-00001-of-00005.safetensors",
352
+ "visual.blocks.0.mlp.fc2.weight": "model-00001-of-00005.safetensors",
353
+ "visual.blocks.0.norm1.bias": "model-00001-of-00005.safetensors",
354
+ "visual.blocks.0.norm1.weight": "model-00001-of-00005.safetensors",
355
+ "visual.blocks.0.norm2.bias": "model-00001-of-00005.safetensors",
356
+ "visual.blocks.0.norm2.weight": "model-00001-of-00005.safetensors",
357
+ "visual.blocks.1.attn.proj.bias": "model-00001-of-00005.safetensors",
358
+ "visual.blocks.1.attn.proj.weight": "model-00001-of-00005.safetensors",
359
+ "visual.blocks.1.attn.qkv.bias": "model-00001-of-00005.safetensors",
360
+ "visual.blocks.1.attn.qkv.weight": "model-00001-of-00005.safetensors",
361
+ "visual.blocks.1.mlp.fc1.bias": "model-00001-of-00005.safetensors",
362
+ "visual.blocks.1.mlp.fc1.weight": "model-00001-of-00005.safetensors",
363
+ "visual.blocks.1.mlp.fc2.bias": "model-00001-of-00005.safetensors",
364
+ "visual.blocks.1.mlp.fc2.weight": "model-00001-of-00005.safetensors",
365
+ "visual.blocks.1.norm1.bias": "model-00001-of-00005.safetensors",
366
+ "visual.blocks.1.norm1.weight": "model-00001-of-00005.safetensors",
367
+ "visual.blocks.1.norm2.bias": "model-00001-of-00005.safetensors",
368
+ "visual.blocks.1.norm2.weight": "model-00001-of-00005.safetensors",
369
+ "visual.blocks.10.attn.proj.bias": "model-00001-of-00005.safetensors",
370
+ "visual.blocks.10.attn.proj.weight": "model-00001-of-00005.safetensors",
371
+ "visual.blocks.10.attn.qkv.bias": "model-00001-of-00005.safetensors",
372
+ "visual.blocks.10.attn.qkv.weight": "model-00001-of-00005.safetensors",
373
+ "visual.blocks.10.mlp.fc1.bias": "model-00001-of-00005.safetensors",
374
+ "visual.blocks.10.mlp.fc1.weight": "model-00001-of-00005.safetensors",
375
+ "visual.blocks.10.mlp.fc2.bias": "model-00001-of-00005.safetensors",
376
+ "visual.blocks.10.mlp.fc2.weight": "model-00001-of-00005.safetensors",
377
+ "visual.blocks.10.norm1.bias": "model-00001-of-00005.safetensors",
378
+ "visual.blocks.10.norm1.weight": "model-00001-of-00005.safetensors",
379
+ "visual.blocks.10.norm2.bias": "model-00001-of-00005.safetensors",
380
+ "visual.blocks.10.norm2.weight": "model-00001-of-00005.safetensors",
381
+ "visual.blocks.11.attn.proj.bias": "model-00001-of-00005.safetensors",
382
+ "visual.blocks.11.attn.proj.weight": "model-00001-of-00005.safetensors",
383
+ "visual.blocks.11.attn.qkv.bias": "model-00001-of-00005.safetensors",
384
+ "visual.blocks.11.attn.qkv.weight": "model-00001-of-00005.safetensors",
385
+ "visual.blocks.11.mlp.fc1.bias": "model-00001-of-00005.safetensors",
386
+ "visual.blocks.11.mlp.fc1.weight": "model-00001-of-00005.safetensors",
387
+ "visual.blocks.11.mlp.fc2.bias": "model-00001-of-00005.safetensors",
388
+ "visual.blocks.11.mlp.fc2.weight": "model-00001-of-00005.safetensors",
389
+ "visual.blocks.11.norm1.bias": "model-00001-of-00005.safetensors",
390
+ "visual.blocks.11.norm1.weight": "model-00001-of-00005.safetensors",
391
+ "visual.blocks.11.norm2.bias": "model-00001-of-00005.safetensors",
392
+ "visual.blocks.11.norm2.weight": "model-00001-of-00005.safetensors",
393
+ "visual.blocks.12.attn.proj.bias": "model-00001-of-00005.safetensors",
394
+ "visual.blocks.12.attn.proj.weight": "model-00001-of-00005.safetensors",
395
+ "visual.blocks.12.attn.qkv.bias": "model-00001-of-00005.safetensors",
396
+ "visual.blocks.12.attn.qkv.weight": "model-00001-of-00005.safetensors",
397
+ "visual.blocks.12.mlp.fc1.bias": "model-00001-of-00005.safetensors",
398
+ "visual.blocks.12.mlp.fc1.weight": "model-00001-of-00005.safetensors",
399
+ "visual.blocks.12.mlp.fc2.bias": "model-00001-of-00005.safetensors",
400
+ "visual.blocks.12.mlp.fc2.weight": "model-00001-of-00005.safetensors",
401
+ "visual.blocks.12.norm1.bias": "model-00001-of-00005.safetensors",
402
+ "visual.blocks.12.norm1.weight": "model-00001-of-00005.safetensors",
403
+ "visual.blocks.12.norm2.bias": "model-00001-of-00005.safetensors",
404
+ "visual.blocks.12.norm2.weight": "model-00001-of-00005.safetensors",
405
+ "visual.blocks.13.attn.proj.bias": "model-00001-of-00005.safetensors",
406
+ "visual.blocks.13.attn.proj.weight": "model-00001-of-00005.safetensors",
407
+ "visual.blocks.13.attn.qkv.bias": "model-00001-of-00005.safetensors",
408
+ "visual.blocks.13.attn.qkv.weight": "model-00001-of-00005.safetensors",
409
+ "visual.blocks.13.mlp.fc1.bias": "model-00001-of-00005.safetensors",
410
+ "visual.blocks.13.mlp.fc1.weight": "model-00001-of-00005.safetensors",
411
+ "visual.blocks.13.mlp.fc2.bias": "model-00001-of-00005.safetensors",
412
+ "visual.blocks.13.mlp.fc2.weight": "model-00001-of-00005.safetensors",
413
+ "visual.blocks.13.norm1.bias": "model-00001-of-00005.safetensors",
414
+ "visual.blocks.13.norm1.weight": "model-00001-of-00005.safetensors",
415
+ "visual.blocks.13.norm2.bias": "model-00001-of-00005.safetensors",
416
+ "visual.blocks.13.norm2.weight": "model-00001-of-00005.safetensors",
417
+ "visual.blocks.14.attn.proj.bias": "model-00001-of-00005.safetensors",
418
+ "visual.blocks.14.attn.proj.weight": "model-00001-of-00005.safetensors",
419
+ "visual.blocks.14.attn.qkv.bias": "model-00001-of-00005.safetensors",
420
+ "visual.blocks.14.attn.qkv.weight": "model-00001-of-00005.safetensors",
421
+ "visual.blocks.14.mlp.fc1.bias": "model-00001-of-00005.safetensors",
422
+ "visual.blocks.14.mlp.fc1.weight": "model-00001-of-00005.safetensors",
423
+ "visual.blocks.14.mlp.fc2.bias": "model-00001-of-00005.safetensors",
424
+ "visual.blocks.14.mlp.fc2.weight": "model-00001-of-00005.safetensors",
425
+ "visual.blocks.14.norm1.bias": "model-00001-of-00005.safetensors",
426
+ "visual.blocks.14.norm1.weight": "model-00001-of-00005.safetensors",
427
+ "visual.blocks.14.norm2.bias": "model-00001-of-00005.safetensors",
428
+ "visual.blocks.14.norm2.weight": "model-00001-of-00005.safetensors",
429
+ "visual.blocks.15.attn.proj.bias": "model-00001-of-00005.safetensors",
430
+ "visual.blocks.15.attn.proj.weight": "model-00001-of-00005.safetensors",
431
+ "visual.blocks.15.attn.qkv.bias": "model-00001-of-00005.safetensors",
432
+ "visual.blocks.15.attn.qkv.weight": "model-00001-of-00005.safetensors",
433
+ "visual.blocks.15.mlp.fc1.bias": "model-00001-of-00005.safetensors",
434
+ "visual.blocks.15.mlp.fc1.weight": "model-00001-of-00005.safetensors",
435
+ "visual.blocks.15.mlp.fc2.bias": "model-00001-of-00005.safetensors",
436
+ "visual.blocks.15.mlp.fc2.weight": "model-00001-of-00005.safetensors",
437
+ "visual.blocks.15.norm1.bias": "model-00001-of-00005.safetensors",
438
+ "visual.blocks.15.norm1.weight": "model-00001-of-00005.safetensors",
439
+ "visual.blocks.15.norm2.bias": "model-00001-of-00005.safetensors",
440
+ "visual.blocks.15.norm2.weight": "model-00001-of-00005.safetensors",
441
+ "visual.blocks.16.attn.proj.bias": "model-00001-of-00005.safetensors",
442
+ "visual.blocks.16.attn.proj.weight": "model-00001-of-00005.safetensors",
443
+ "visual.blocks.16.attn.qkv.bias": "model-00001-of-00005.safetensors",
444
+ "visual.blocks.16.attn.qkv.weight": "model-00001-of-00005.safetensors",
445
+ "visual.blocks.16.mlp.fc1.bias": "model-00001-of-00005.safetensors",
446
+ "visual.blocks.16.mlp.fc1.weight": "model-00001-of-00005.safetensors",
447
+ "visual.blocks.16.mlp.fc2.bias": "model-00001-of-00005.safetensors",
448
+ "visual.blocks.16.mlp.fc2.weight": "model-00001-of-00005.safetensors",
449
+ "visual.blocks.16.norm1.bias": "model-00001-of-00005.safetensors",
450
+ "visual.blocks.16.norm1.weight": "model-00001-of-00005.safetensors",
451
+ "visual.blocks.16.norm2.bias": "model-00001-of-00005.safetensors",
452
+ "visual.blocks.16.norm2.weight": "model-00001-of-00005.safetensors",
453
+ "visual.blocks.17.attn.proj.bias": "model-00001-of-00005.safetensors",
454
+ "visual.blocks.17.attn.proj.weight": "model-00001-of-00005.safetensors",
455
+ "visual.blocks.17.attn.qkv.bias": "model-00001-of-00005.safetensors",
456
+ "visual.blocks.17.attn.qkv.weight": "model-00001-of-00005.safetensors",
457
+ "visual.blocks.17.mlp.fc1.bias": "model-00001-of-00005.safetensors",
458
+ "visual.blocks.17.mlp.fc1.weight": "model-00001-of-00005.safetensors",
459
+ "visual.blocks.17.mlp.fc2.bias": "model-00001-of-00005.safetensors",
460
+ "visual.blocks.17.mlp.fc2.weight": "model-00001-of-00005.safetensors",
461
+ "visual.blocks.17.norm1.bias": "model-00001-of-00005.safetensors",
462
+ "visual.blocks.17.norm1.weight": "model-00001-of-00005.safetensors",
463
+ "visual.blocks.17.norm2.bias": "model-00001-of-00005.safetensors",
464
+ "visual.blocks.17.norm2.weight": "model-00001-of-00005.safetensors",
465
+ "visual.blocks.18.attn.proj.bias": "model-00001-of-00005.safetensors",
466
+ "visual.blocks.18.attn.proj.weight": "model-00001-of-00005.safetensors",
467
+ "visual.blocks.18.attn.qkv.bias": "model-00001-of-00005.safetensors",
468
+ "visual.blocks.18.attn.qkv.weight": "model-00001-of-00005.safetensors",
469
+ "visual.blocks.18.mlp.fc1.bias": "model-00001-of-00005.safetensors",
470
+ "visual.blocks.18.mlp.fc1.weight": "model-00001-of-00005.safetensors",
471
+ "visual.blocks.18.mlp.fc2.bias": "model-00001-of-00005.safetensors",
472
+ "visual.blocks.18.mlp.fc2.weight": "model-00001-of-00005.safetensors",
473
+ "visual.blocks.18.norm1.bias": "model-00001-of-00005.safetensors",
474
+ "visual.blocks.18.norm1.weight": "model-00001-of-00005.safetensors",
475
+ "visual.blocks.18.norm2.bias": "model-00001-of-00005.safetensors",
476
+ "visual.blocks.18.norm2.weight": "model-00001-of-00005.safetensors",
477
+ "visual.blocks.19.attn.proj.bias": "model-00001-of-00005.safetensors",
478
+ "visual.blocks.19.attn.proj.weight": "model-00001-of-00005.safetensors",
479
+ "visual.blocks.19.attn.qkv.bias": "model-00001-of-00005.safetensors",
480
+ "visual.blocks.19.attn.qkv.weight": "model-00001-of-00005.safetensors",
481
+ "visual.blocks.19.mlp.fc1.bias": "model-00001-of-00005.safetensors",
482
+ "visual.blocks.19.mlp.fc1.weight": "model-00001-of-00005.safetensors",
483
+ "visual.blocks.19.mlp.fc2.bias": "model-00001-of-00005.safetensors",
484
+ "visual.blocks.19.mlp.fc2.weight": "model-00001-of-00005.safetensors",
485
+ "visual.blocks.19.norm1.bias": "model-00001-of-00005.safetensors",
486
+ "visual.blocks.19.norm1.weight": "model-00001-of-00005.safetensors",
487
+ "visual.blocks.19.norm2.bias": "model-00001-of-00005.safetensors",
488
+ "visual.blocks.19.norm2.weight": "model-00001-of-00005.safetensors",
489
+ "visual.blocks.2.attn.proj.bias": "model-00001-of-00005.safetensors",
490
+ "visual.blocks.2.attn.proj.weight": "model-00001-of-00005.safetensors",
491
+ "visual.blocks.2.attn.qkv.bias": "model-00001-of-00005.safetensors",
492
+ "visual.blocks.2.attn.qkv.weight": "model-00001-of-00005.safetensors",
493
+ "visual.blocks.2.mlp.fc1.bias": "model-00001-of-00005.safetensors",
494
+ "visual.blocks.2.mlp.fc1.weight": "model-00001-of-00005.safetensors",
495
+ "visual.blocks.2.mlp.fc2.bias": "model-00001-of-00005.safetensors",
496
+ "visual.blocks.2.mlp.fc2.weight": "model-00001-of-00005.safetensors",
497
+ "visual.blocks.2.norm1.bias": "model-00001-of-00005.safetensors",
498
+ "visual.blocks.2.norm1.weight": "model-00001-of-00005.safetensors",
499
+ "visual.blocks.2.norm2.bias": "model-00001-of-00005.safetensors",
500
+ "visual.blocks.2.norm2.weight": "model-00001-of-00005.safetensors",
501
+ "visual.blocks.20.attn.proj.bias": "model-00001-of-00005.safetensors",
502
+ "visual.blocks.20.attn.proj.weight": "model-00001-of-00005.safetensors",
503
+ "visual.blocks.20.attn.qkv.bias": "model-00001-of-00005.safetensors",
504
+ "visual.blocks.20.attn.qkv.weight": "model-00001-of-00005.safetensors",
505
+ "visual.blocks.20.mlp.fc1.bias": "model-00001-of-00005.safetensors",
506
+ "visual.blocks.20.mlp.fc1.weight": "model-00001-of-00005.safetensors",
507
+ "visual.blocks.20.mlp.fc2.bias": "model-00001-of-00005.safetensors",
508
+ "visual.blocks.20.mlp.fc2.weight": "model-00001-of-00005.safetensors",
509
+ "visual.blocks.20.norm1.bias": "model-00001-of-00005.safetensors",
510
+ "visual.blocks.20.norm1.weight": "model-00001-of-00005.safetensors",
511
+ "visual.blocks.20.norm2.bias": "model-00001-of-00005.safetensors",
512
+ "visual.blocks.20.norm2.weight": "model-00001-of-00005.safetensors",
513
+ "visual.blocks.21.attn.proj.bias": "model-00001-of-00005.safetensors",
514
+ "visual.blocks.21.attn.proj.weight": "model-00001-of-00005.safetensors",
515
+ "visual.blocks.21.attn.qkv.bias": "model-00001-of-00005.safetensors",
516
+ "visual.blocks.21.attn.qkv.weight": "model-00001-of-00005.safetensors",
517
+ "visual.blocks.21.mlp.fc1.bias": "model-00001-of-00005.safetensors",
518
+ "visual.blocks.21.mlp.fc1.weight": "model-00001-of-00005.safetensors",
519
+ "visual.blocks.21.mlp.fc2.bias": "model-00001-of-00005.safetensors",
520
+ "visual.blocks.21.mlp.fc2.weight": "model-00001-of-00005.safetensors",
521
+ "visual.blocks.21.norm1.bias": "model-00001-of-00005.safetensors",
522
+ "visual.blocks.21.norm1.weight": "model-00001-of-00005.safetensors",
523
+ "visual.blocks.21.norm2.bias": "model-00001-of-00005.safetensors",
524
+ "visual.blocks.21.norm2.weight": "model-00001-of-00005.safetensors",
525
+ "visual.blocks.22.attn.proj.bias": "model-00001-of-00005.safetensors",
526
+ "visual.blocks.22.attn.proj.weight": "model-00001-of-00005.safetensors",
527
+ "visual.blocks.22.attn.qkv.bias": "model-00001-of-00005.safetensors",
528
+ "visual.blocks.22.attn.qkv.weight": "model-00001-of-00005.safetensors",
529
+ "visual.blocks.22.mlp.fc1.bias": "model-00001-of-00005.safetensors",
530
+ "visual.blocks.22.mlp.fc1.weight": "model-00001-of-00005.safetensors",
531
+ "visual.blocks.22.mlp.fc2.bias": "model-00001-of-00005.safetensors",
532
+ "visual.blocks.22.mlp.fc2.weight": "model-00001-of-00005.safetensors",
533
+ "visual.blocks.22.norm1.bias": "model-00001-of-00005.safetensors",
534
+ "visual.blocks.22.norm1.weight": "model-00001-of-00005.safetensors",
535
+ "visual.blocks.22.norm2.bias": "model-00001-of-00005.safetensors",
536
+ "visual.blocks.22.norm2.weight": "model-00001-of-00005.safetensors",
537
+ "visual.blocks.23.attn.proj.bias": "model-00001-of-00005.safetensors",
538
+ "visual.blocks.23.attn.proj.weight": "model-00001-of-00005.safetensors",
539
+ "visual.blocks.23.attn.qkv.bias": "model-00001-of-00005.safetensors",
540
+ "visual.blocks.23.attn.qkv.weight": "model-00001-of-00005.safetensors",
541
+ "visual.blocks.23.mlp.fc1.bias": "model-00001-of-00005.safetensors",
542
+ "visual.blocks.23.mlp.fc1.weight": "model-00001-of-00005.safetensors",
543
+ "visual.blocks.23.mlp.fc2.bias": "model-00001-of-00005.safetensors",
544
+ "visual.blocks.23.mlp.fc2.weight": "model-00001-of-00005.safetensors",
545
+ "visual.blocks.23.norm1.bias": "model-00001-of-00005.safetensors",
546
+ "visual.blocks.23.norm1.weight": "model-00001-of-00005.safetensors",
547
+ "visual.blocks.23.norm2.bias": "model-00001-of-00005.safetensors",
548
+ "visual.blocks.23.norm2.weight": "model-00001-of-00005.safetensors",
549
+ "visual.blocks.24.attn.proj.bias": "model-00001-of-00005.safetensors",
550
+ "visual.blocks.24.attn.proj.weight": "model-00001-of-00005.safetensors",
551
+ "visual.blocks.24.attn.qkv.bias": "model-00001-of-00005.safetensors",
552
+ "visual.blocks.24.attn.qkv.weight": "model-00001-of-00005.safetensors",
553
+ "visual.blocks.24.mlp.fc1.bias": "model-00001-of-00005.safetensors",
554
+ "visual.blocks.24.mlp.fc1.weight": "model-00001-of-00005.safetensors",
555
+ "visual.blocks.24.mlp.fc2.bias": "model-00001-of-00005.safetensors",
556
+ "visual.blocks.24.mlp.fc2.weight": "model-00001-of-00005.safetensors",
557
+ "visual.blocks.24.norm1.bias": "model-00001-of-00005.safetensors",
558
+ "visual.blocks.24.norm1.weight": "model-00001-of-00005.safetensors",
559
+ "visual.blocks.24.norm2.bias": "model-00001-of-00005.safetensors",
560
+ "visual.blocks.24.norm2.weight": "model-00001-of-00005.safetensors",
561
+ "visual.blocks.25.attn.proj.bias": "model-00001-of-00005.safetensors",
562
+ "visual.blocks.25.attn.proj.weight": "model-00001-of-00005.safetensors",
563
+ "visual.blocks.25.attn.qkv.bias": "model-00001-of-00005.safetensors",
564
+ "visual.blocks.25.attn.qkv.weight": "model-00001-of-00005.safetensors",
565
+ "visual.blocks.25.mlp.fc1.bias": "model-00001-of-00005.safetensors",
566
+ "visual.blocks.25.mlp.fc1.weight": "model-00001-of-00005.safetensors",
567
+ "visual.blocks.25.mlp.fc2.bias": "model-00001-of-00005.safetensors",
568
+ "visual.blocks.25.mlp.fc2.weight": "model-00001-of-00005.safetensors",
569
+ "visual.blocks.25.norm1.bias": "model-00001-of-00005.safetensors",
570
+ "visual.blocks.25.norm1.weight": "model-00001-of-00005.safetensors",
571
+ "visual.blocks.25.norm2.bias": "model-00001-of-00005.safetensors",
572
+ "visual.blocks.25.norm2.weight": "model-00001-of-00005.safetensors",
573
+ "visual.blocks.26.attn.proj.bias": "model-00001-of-00005.safetensors",
574
+ "visual.blocks.26.attn.proj.weight": "model-00001-of-00005.safetensors",
575
+ "visual.blocks.26.attn.qkv.bias": "model-00001-of-00005.safetensors",
576
+ "visual.blocks.26.attn.qkv.weight": "model-00001-of-00005.safetensors",
577
+ "visual.blocks.26.mlp.fc1.bias": "model-00001-of-00005.safetensors",
578
+ "visual.blocks.26.mlp.fc1.weight": "model-00001-of-00005.safetensors",
579
+ "visual.blocks.26.mlp.fc2.bias": "model-00001-of-00005.safetensors",
580
+ "visual.blocks.26.mlp.fc2.weight": "model-00001-of-00005.safetensors",
581
+ "visual.blocks.26.norm1.bias": "model-00001-of-00005.safetensors",
582
+ "visual.blocks.26.norm1.weight": "model-00001-of-00005.safetensors",
583
+ "visual.blocks.26.norm2.bias": "model-00001-of-00005.safetensors",
584
+ "visual.blocks.26.norm2.weight": "model-00001-of-00005.safetensors",
585
+ "visual.blocks.27.attn.proj.bias": "model-00001-of-00005.safetensors",
586
+ "visual.blocks.27.attn.proj.weight": "model-00001-of-00005.safetensors",
587
+ "visual.blocks.27.attn.qkv.bias": "model-00001-of-00005.safetensors",
588
+ "visual.blocks.27.attn.qkv.weight": "model-00001-of-00005.safetensors",
589
+ "visual.blocks.27.mlp.fc1.bias": "model-00001-of-00005.safetensors",
590
+ "visual.blocks.27.mlp.fc1.weight": "model-00001-of-00005.safetensors",
591
+ "visual.blocks.27.mlp.fc2.bias": "model-00001-of-00005.safetensors",
592
+ "visual.blocks.27.mlp.fc2.weight": "model-00001-of-00005.safetensors",
593
+ "visual.blocks.27.norm1.bias": "model-00001-of-00005.safetensors",
594
+ "visual.blocks.27.norm1.weight": "model-00001-of-00005.safetensors",
595
+ "visual.blocks.27.norm2.bias": "model-00001-of-00005.safetensors",
596
+ "visual.blocks.27.norm2.weight": "model-00001-of-00005.safetensors",
597
+ "visual.blocks.28.attn.proj.bias": "model-00001-of-00005.safetensors",
598
+ "visual.blocks.28.attn.proj.weight": "model-00001-of-00005.safetensors",
599
+ "visual.blocks.28.attn.qkv.bias": "model-00001-of-00005.safetensors",
600
+ "visual.blocks.28.attn.qkv.weight": "model-00001-of-00005.safetensors",
601
+ "visual.blocks.28.mlp.fc1.bias": "model-00001-of-00005.safetensors",
602
+ "visual.blocks.28.mlp.fc1.weight": "model-00001-of-00005.safetensors",
603
+ "visual.blocks.28.mlp.fc2.bias": "model-00001-of-00005.safetensors",
604
+ "visual.blocks.28.mlp.fc2.weight": "model-00001-of-00005.safetensors",
605
+ "visual.blocks.28.norm1.bias": "model-00001-of-00005.safetensors",
606
+ "visual.blocks.28.norm1.weight": "model-00001-of-00005.safetensors",
607
+ "visual.blocks.28.norm2.bias": "model-00001-of-00005.safetensors",
608
+ "visual.blocks.28.norm2.weight": "model-00001-of-00005.safetensors",
609
+ "visual.blocks.29.attn.proj.bias": "model-00001-of-00005.safetensors",
610
+ "visual.blocks.29.attn.proj.weight": "model-00001-of-00005.safetensors",
611
+ "visual.blocks.29.attn.qkv.bias": "model-00001-of-00005.safetensors",
612
+ "visual.blocks.29.attn.qkv.weight": "model-00001-of-00005.safetensors",
613
+ "visual.blocks.29.mlp.fc1.bias": "model-00001-of-00005.safetensors",
614
+ "visual.blocks.29.mlp.fc1.weight": "model-00001-of-00005.safetensors",
615
+ "visual.blocks.29.mlp.fc2.bias": "model-00001-of-00005.safetensors",
616
+ "visual.blocks.29.mlp.fc2.weight": "model-00001-of-00005.safetensors",
617
+ "visual.blocks.29.norm1.bias": "model-00001-of-00005.safetensors",
618
+ "visual.blocks.29.norm1.weight": "model-00001-of-00005.safetensors",
619
+ "visual.blocks.29.norm2.bias": "model-00001-of-00005.safetensors",
620
+ "visual.blocks.29.norm2.weight": "model-00001-of-00005.safetensors",
621
+ "visual.blocks.3.attn.proj.bias": "model-00001-of-00005.safetensors",
622
+ "visual.blocks.3.attn.proj.weight": "model-00001-of-00005.safetensors",
623
+ "visual.blocks.3.attn.qkv.bias": "model-00001-of-00005.safetensors",
624
+ "visual.blocks.3.attn.qkv.weight": "model-00001-of-00005.safetensors",
625
+ "visual.blocks.3.mlp.fc1.bias": "model-00001-of-00005.safetensors",
626
+ "visual.blocks.3.mlp.fc1.weight": "model-00001-of-00005.safetensors",
627
+ "visual.blocks.3.mlp.fc2.bias": "model-00001-of-00005.safetensors",
628
+ "visual.blocks.3.mlp.fc2.weight": "model-00001-of-00005.safetensors",
629
+ "visual.blocks.3.norm1.bias": "model-00001-of-00005.safetensors",
630
+ "visual.blocks.3.norm1.weight": "model-00001-of-00005.safetensors",
631
+ "visual.blocks.3.norm2.bias": "model-00001-of-00005.safetensors",
632
+ "visual.blocks.3.norm2.weight": "model-00001-of-00005.safetensors",
633
+ "visual.blocks.30.attn.proj.bias": "model-00001-of-00005.safetensors",
634
+ "visual.blocks.30.attn.proj.weight": "model-00001-of-00005.safetensors",
635
+ "visual.blocks.30.attn.qkv.bias": "model-00001-of-00005.safetensors",
636
+ "visual.blocks.30.attn.qkv.weight": "model-00001-of-00005.safetensors",
637
+ "visual.blocks.30.mlp.fc1.bias": "model-00001-of-00005.safetensors",
638
+ "visual.blocks.30.mlp.fc1.weight": "model-00001-of-00005.safetensors",
639
+ "visual.blocks.30.mlp.fc2.bias": "model-00001-of-00005.safetensors",
640
+ "visual.blocks.30.mlp.fc2.weight": "model-00001-of-00005.safetensors",
641
+ "visual.blocks.30.norm1.bias": "model-00001-of-00005.safetensors",
642
+ "visual.blocks.30.norm1.weight": "model-00001-of-00005.safetensors",
643
+ "visual.blocks.30.norm2.bias": "model-00001-of-00005.safetensors",
644
+ "visual.blocks.30.norm2.weight": "model-00001-of-00005.safetensors",
645
+ "visual.blocks.31.attn.proj.bias": "model-00001-of-00005.safetensors",
646
+ "visual.blocks.31.attn.proj.weight": "model-00001-of-00005.safetensors",
647
+ "visual.blocks.31.attn.qkv.bias": "model-00001-of-00005.safetensors",
648
+ "visual.blocks.31.attn.qkv.weight": "model-00001-of-00005.safetensors",
649
+ "visual.blocks.31.mlp.fc1.bias": "model-00001-of-00005.safetensors",
650
+ "visual.blocks.31.mlp.fc1.weight": "model-00001-of-00005.safetensors",
651
+ "visual.blocks.31.mlp.fc2.bias": "model-00001-of-00005.safetensors",
652
+ "visual.blocks.31.mlp.fc2.weight": "model-00001-of-00005.safetensors",
653
+ "visual.blocks.31.norm1.bias": "model-00001-of-00005.safetensors",
654
+ "visual.blocks.31.norm1.weight": "model-00001-of-00005.safetensors",
655
+ "visual.blocks.31.norm2.bias": "model-00001-of-00005.safetensors",
656
+ "visual.blocks.31.norm2.weight": "model-00001-of-00005.safetensors",
657
+ "visual.blocks.4.attn.proj.bias": "model-00001-of-00005.safetensors",
658
+ "visual.blocks.4.attn.proj.weight": "model-00001-of-00005.safetensors",
659
+ "visual.blocks.4.attn.qkv.bias": "model-00001-of-00005.safetensors",
660
+ "visual.blocks.4.attn.qkv.weight": "model-00001-of-00005.safetensors",
661
+ "visual.blocks.4.mlp.fc1.bias": "model-00001-of-00005.safetensors",
662
+ "visual.blocks.4.mlp.fc1.weight": "model-00001-of-00005.safetensors",
663
+ "visual.blocks.4.mlp.fc2.bias": "model-00001-of-00005.safetensors",
664
+ "visual.blocks.4.mlp.fc2.weight": "model-00001-of-00005.safetensors",
665
+ "visual.blocks.4.norm1.bias": "model-00001-of-00005.safetensors",
666
+ "visual.blocks.4.norm1.weight": "model-00001-of-00005.safetensors",
667
+ "visual.blocks.4.norm2.bias": "model-00001-of-00005.safetensors",
668
+ "visual.blocks.4.norm2.weight": "model-00001-of-00005.safetensors",
669
+ "visual.blocks.5.attn.proj.bias": "model-00001-of-00005.safetensors",
670
+ "visual.blocks.5.attn.proj.weight": "model-00001-of-00005.safetensors",
671
+ "visual.blocks.5.attn.qkv.bias": "model-00001-of-00005.safetensors",
672
+ "visual.blocks.5.attn.qkv.weight": "model-00001-of-00005.safetensors",
673
+ "visual.blocks.5.mlp.fc1.bias": "model-00001-of-00005.safetensors",
674
+ "visual.blocks.5.mlp.fc1.weight": "model-00001-of-00005.safetensors",
675
+ "visual.blocks.5.mlp.fc2.bias": "model-00001-of-00005.safetensors",
676
+ "visual.blocks.5.mlp.fc2.weight": "model-00001-of-00005.safetensors",
677
+ "visual.blocks.5.norm1.bias": "model-00001-of-00005.safetensors",
678
+ "visual.blocks.5.norm1.weight": "model-00001-of-00005.safetensors",
679
+ "visual.blocks.5.norm2.bias": "model-00001-of-00005.safetensors",
680
+ "visual.blocks.5.norm2.weight": "model-00001-of-00005.safetensors",
681
+ "visual.blocks.6.attn.proj.bias": "model-00001-of-00005.safetensors",
682
+ "visual.blocks.6.attn.proj.weight": "model-00001-of-00005.safetensors",
683
+ "visual.blocks.6.attn.qkv.bias": "model-00001-of-00005.safetensors",
684
+ "visual.blocks.6.attn.qkv.weight": "model-00001-of-00005.safetensors",
685
+ "visual.blocks.6.mlp.fc1.bias": "model-00001-of-00005.safetensors",
686
+ "visual.blocks.6.mlp.fc1.weight": "model-00001-of-00005.safetensors",
687
+ "visual.blocks.6.mlp.fc2.bias": "model-00001-of-00005.safetensors",
688
+ "visual.blocks.6.mlp.fc2.weight": "model-00001-of-00005.safetensors",
689
+ "visual.blocks.6.norm1.bias": "model-00001-of-00005.safetensors",
690
+ "visual.blocks.6.norm1.weight": "model-00001-of-00005.safetensors",
691
+ "visual.blocks.6.norm2.bias": "model-00001-of-00005.safetensors",
692
+ "visual.blocks.6.norm2.weight": "model-00001-of-00005.safetensors",
693
+ "visual.blocks.7.attn.proj.bias": "model-00001-of-00005.safetensors",
694
+ "visual.blocks.7.attn.proj.weight": "model-00001-of-00005.safetensors",
695
+ "visual.blocks.7.attn.qkv.bias": "model-00001-of-00005.safetensors",
696
+ "visual.blocks.7.attn.qkv.weight": "model-00001-of-00005.safetensors",
697
+ "visual.blocks.7.mlp.fc1.bias": "model-00001-of-00005.safetensors",
698
+ "visual.blocks.7.mlp.fc1.weight": "model-00001-of-00005.safetensors",
699
+ "visual.blocks.7.mlp.fc2.bias": "model-00001-of-00005.safetensors",
700
+ "visual.blocks.7.mlp.fc2.weight": "model-00001-of-00005.safetensors",
701
+ "visual.blocks.7.norm1.bias": "model-00001-of-00005.safetensors",
702
+ "visual.blocks.7.norm1.weight": "model-00001-of-00005.safetensors",
703
+ "visual.blocks.7.norm2.bias": "model-00001-of-00005.safetensors",
704
+ "visual.blocks.7.norm2.weight": "model-00001-of-00005.safetensors",
705
+ "visual.blocks.8.attn.proj.bias": "model-00001-of-00005.safetensors",
706
+ "visual.blocks.8.attn.proj.weight": "model-00001-of-00005.safetensors",
707
+ "visual.blocks.8.attn.qkv.bias": "model-00001-of-00005.safetensors",
708
+ "visual.blocks.8.attn.qkv.weight": "model-00001-of-00005.safetensors",
709
+ "visual.blocks.8.mlp.fc1.bias": "model-00001-of-00005.safetensors",
710
+ "visual.blocks.8.mlp.fc1.weight": "model-00001-of-00005.safetensors",
711
+ "visual.blocks.8.mlp.fc2.bias": "model-00001-of-00005.safetensors",
712
+ "visual.blocks.8.mlp.fc2.weight": "model-00001-of-00005.safetensors",
713
+ "visual.blocks.8.norm1.bias": "model-00001-of-00005.safetensors",
714
+ "visual.blocks.8.norm1.weight": "model-00001-of-00005.safetensors",
715
+ "visual.blocks.8.norm2.bias": "model-00001-of-00005.safetensors",
716
+ "visual.blocks.8.norm2.weight": "model-00001-of-00005.safetensors",
717
+ "visual.blocks.9.attn.proj.bias": "model-00001-of-00005.safetensors",
718
+ "visual.blocks.9.attn.proj.weight": "model-00001-of-00005.safetensors",
719
+ "visual.blocks.9.attn.qkv.bias": "model-00001-of-00005.safetensors",
720
+ "visual.blocks.9.attn.qkv.weight": "model-00001-of-00005.safetensors",
721
+ "visual.blocks.9.mlp.fc1.bias": "model-00001-of-00005.safetensors",
722
+ "visual.blocks.9.mlp.fc1.weight": "model-00001-of-00005.safetensors",
723
+ "visual.blocks.9.mlp.fc2.bias": "model-00001-of-00005.safetensors",
724
+ "visual.blocks.9.mlp.fc2.weight": "model-00001-of-00005.safetensors",
725
+ "visual.blocks.9.norm1.bias": "model-00001-of-00005.safetensors",
726
+ "visual.blocks.9.norm1.weight": "model-00001-of-00005.safetensors",
727
+ "visual.blocks.9.norm2.bias": "model-00001-of-00005.safetensors",
728
+ "visual.blocks.9.norm2.weight": "model-00001-of-00005.safetensors",
729
+ "visual.merger.ln_q.bias": "model-00001-of-00005.safetensors",
730
+ "visual.merger.ln_q.weight": "model-00001-of-00005.safetensors",
731
+ "visual.merger.mlp.0.bias": "model-00001-of-00005.safetensors",
732
+ "visual.merger.mlp.0.weight": "model-00001-of-00005.safetensors",
733
+ "visual.merger.mlp.2.bias": "model-00001-of-00005.safetensors",
734
+ "visual.merger.mlp.2.weight": "model-00001-of-00005.safetensors",
735
+ "visual.patch_embed.proj.weight": "model-00001-of-00005.safetensors"
736
+ }
737
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "min_pixels": 3136,
3
+ "max_pixels": 12845056,
4
+ "patch_size": 14,
5
+ "temporal_patch_size": 2,
6
+ "merge_size": 2,
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "image_processor_type": "Qwen2VLImageProcessor",
18
+ "processor_class": "Qwen2VLProcessor"
19
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|object_ref_start|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "151647": {
37
+ "content": "<|object_ref_end|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "151648": {
45
+ "content": "<|box_start|>",
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_start|>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "151653": {
85
+ "content": "<|vision_end|>",
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_pad|>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "151656": {
109
+ "content": "<|video_pad|>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ }
116
+ },
117
+ "additional_special_tokens": ["<|im_start|>", "<|im_end|>", "<|object_ref_start|>","<|object_ref_end|>","<|box_start|>","<|box_end|>","<|quad_start|>","<|quad_end|>","<|vision_start|>","<|vision_end|>","<|vision_pad|>","<|image_pad|>","<|video_pad|>"],
118
+ "bos_token": null,
119
+ "chat_template": "{% 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_start|><|image_pad|><|vision_end|>{% 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_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
120
+ "clean_up_tokenization_spaces": false,
121
+ "eos_token": "<|im_end|>",
122
+ "padding_side": "left",
123
+ "errors": "replace",
124
+ "model_max_length": 32768,
125
+ "pad_token": "<|endoftext|>",
126
+ "split_special_tokens": false,
127
+ "tokenizer_class": "Qwen2Tokenizer",
128
+ "unk_token": null
129
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff