Image-Text-to-Text
Transformers
Safetensors
English
qwen2_vl
multimodal
conversational
text-generation-inference
Instructions to use saim1212/qwen2_2b_git2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saim1212/qwen2_2b_git2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="saim1212/qwen2_2b_git2") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("saim1212/qwen2_2b_git2") model = AutoModelForMultimodalLM.from_pretrained("saim1212/qwen2_2b_git2", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use saim1212/qwen2_2b_git2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "saim1212/qwen2_2b_git2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "saim1212/qwen2_2b_git2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/saim1212/qwen2_2b_git2
- SGLang
How to use saim1212/qwen2_2b_git2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "saim1212/qwen2_2b_git2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "saim1212/qwen2_2b_git2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "saim1212/qwen2_2b_git2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "saim1212/qwen2_2b_git2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use saim1212/qwen2_2b_git2 with Docker Model Runner:
docker model run hf.co/saim1212/qwen2_2b_git2
model upload
Browse filesFiles changed (13)
- LICENSEAdded+202
- README.mdAdded+500
- chat_template.jsonAdded+3
- config.jsonAdded+52
- generation_config.jsonAdded+15
- merges.txtAdded
- model-00001-of-00002.safetensorsAdded+3
- model-00002-of-00002.safetensorsAdded+3
- model.safetensors.index.jsonAdded+736
- preprocessor_config.jsonAdded+19
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+129
- vocab.jsonAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright 2024 Alibaba Cloud
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500---license: apache-2.0language:- enpipeline_tag: image-text-to-texttags:- multimodallibrary_name: transformersbase_model:- Qwen/Qwen2-VL-2B---
# Qwen2-VL-2B-Instruct<a href="https://chat.qwenlm.ai/" target="_blank" style="margin: 2px;"> <img alt="Chat" src="https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5" style="display: inline-block; vertical-align: middle;"/></a>
## Introduction
We're excited to unveil **Qwen2-VL**, the latest iteration of our Qwen-VL model, representing nearly a year of innovation.
### What’s New in Qwen2-VL?
#### Key Enhancements:
* **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.
* **Understanding videos of 20min+**: Qwen2-VL can understand videos over 20 minutes for high-quality video-based question answering, dialog, content creation, etc.
* **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.
* **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.
#### Model Architecture Updates:
* **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.
<p align="center"> <img src="https://qianwen-res.oss-accelerate-overseas.aliyuncs.com/Qwen2-VL/qwen2_vl.jpg" width="80%"/><p>
* **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.
<p align="center"> <img src="http://qianwen-res.oss-accelerate-overseas.aliyuncs.com/Qwen2-VL/mrope.png" width="80%"/><p>
We have three models with 2, 7 and 72 billion parameters. This repo contains the instruction-tuned 2B Qwen2-VL model. For more information, visit our [Blog](https://qwenlm.github.io/blog/qwen2-vl/) and [GitHub](https://github.com/QwenLM/Qwen2-VL).
## Evaluation
### Image Benchmarks
| Benchmark | InternVL2-2B | MiniCPM-V 2.0 | **Qwen2-VL-2B** || :--- | :---: | :---: | :---: || MMMU<sub>val</sub> | 36.3 | 38.2 | **41.1** || DocVQA<sub>test</sub> | 86.9 | - | **90.1** || InfoVQA<sub>test</sub> | 58.9 | - | **65.5** || ChartQA<sub>test</sub> | **76.2** | - | 73.5 || TextVQA<sub>val</sub> | 73.4 | - | **79.7** || OCRBench | 781 | 605 | **794** || MTVQA | - | - | **20.0** || VCR<sub>en easy</sub> | - | - | **81.45**| VCR<sub>zh easy</sub> | - | - | **46.16**| RealWorldQA | 57.3 | 55.8 | **62.9** || MME<sub>sum</sub> | **1876.8** | 1808.6 | 1872.0 || MMBench-EN<sub>test</sub> | 73.2 | 69.1 | **74.9** || MMBench-CN<sub>test</sub> | 70.9 | 66.5 | **73.5** || MMBench-V1.1<sub>test</sub> | 69.6 | 65.8 | **72.2** || MMT-Bench<sub>test</sub> | - | - | **54.5** || MMStar | **49.8** | 39.1 | 48.0 || MMVet<sub>GPT-4-Turbo</sub> | 39.7 | 41.0 | **49.5** || HallBench<sub>avg</sub> | 38.0 | 36.1 | **41.7** || MathVista<sub>testmini</sub> | **46.0** | 39.8 | 43.0 || MathVision | - | - | **12.4** |
### Video Benchmarks
| Benchmark | **Qwen2-VL-2B** || :--- | :---: || MVBench | **63.2** || PerceptionTest<sub>test</sub> | **53.9** || EgoSchema<sub>test</sub> | **54.9** || Video-MME<sub>wo/w subs</sub> | **55.6**/**60.4** |
## RequirementsThe 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:```KeyError: 'qwen2_vl'```
## QuickstartWe 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:
```bashpip install qwen-vl-utils```
Here we show a code snippet to show you how to use the chat model with `transformers` and `qwen_vl_utils`:
```pythonfrom transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessorfrom qwen_vl_utils import process_vision_info
# default: Load the model on the available device(s)model = Qwen2VLForConditionalGeneration.from_pretrained( "Qwen/Qwen2-VL-2B-Instruct", torch_dtype="auto", device_map="auto")
# We recommend enabling flash_attention_2 for better acceleration and memory saving, especially in multi-image and video scenarios.# model = Qwen2VLForConditionalGeneration.from_pretrained(# "Qwen/Qwen2-VL-2B-Instruct",# torch_dtype=torch.bfloat16,# attn_implementation="flash_attention_2",# device_map="auto",# )
# default processerprocessor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
# 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.# min_pixels = 256*28*28# max_pixels = 1280*28*28# processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels)
messages = [ { "role": "user", "content": [ { "type": "image", "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg", }, {"type": "text", "text": "Describe this image."}, ], }]
# Preparation for inferencetext = processor.apply_chat_template( messages, tokenize=False, add_generation_prompt=True)image_inputs, video_inputs = process_vision_info(messages)inputs = processor( text=[text], images=image_inputs, videos=video_inputs, padding=True, return_tensors="pt",)inputs = inputs.to("cuda")
# Inference: Generation of the outputgenerated_ids = model.generate(**inputs, max_new_tokens=128)generated_ids_trimmed = [ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)]output_text = processor.batch_decode( generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False)print(output_text)```<details><summary>Without qwen_vl_utils</summary>
```pythonfrom PIL import Imageimport requestsimport torchfrom torchvision import iofrom typing import Dictfrom transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
# Load the model in half-precision on the available device(s)model = Qwen2VLForConditionalGeneration.from_pretrained( "Qwen/Qwen2-VL-2B-Instruct", torch_dtype="auto", device_map="auto")processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
# Imageurl = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"image = Image.open(requests.get(url, stream=True).raw)
conversation = [ { "role": "user", "content": [ { "type": "image", }, {"type": "text", "text": "Describe this image."}, ], }]
# Preprocess the inputstext_prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)# 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'
inputs = processor( text=[text_prompt], images=[image], padding=True, return_tensors="pt")inputs = inputs.to("cuda")
# Inference: Generation of the outputoutput_ids = model.generate(**inputs, max_new_tokens=128)generated_ids = [ output_ids[len(input_ids) :] for input_ids, output_ids in zip(inputs.input_ids, output_ids)]output_text = processor.batch_decode( generated_ids, skip_special_tokens=True, clean_up_tokenization_spaces=True)print(output_text)```</details>
<details><summary>Multi image inference</summary>
```python# Messages containing multiple images and a text querymessages = [ { "role": "user", "content": [ {"type": "image", "image": "file:///path/to/image1.jpg"}, {"type": "image", "image": "file:///path/to/image2.jpg"}, {"type": "text", "text": "Identify the similarities between these images."}, ], }]
# Preparation for inferencetext = processor.apply_chat_template( messages, tokenize=False, add_generation_prompt=True)image_inputs, video_inputs = process_vision_info(messages)inputs = processor( text=[text], images=image_inputs, videos=video_inputs, padding=True, return_tensors="pt",)inputs = inputs.to("cuda")
# Inferencegenerated_ids = model.generate(**inputs, max_new_tokens=128)generated_ids_trimmed = [ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)]output_text = processor.batch_decode( generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False)print(output_text)```</details>
<details><summary>Video inference</summary>
```python# Messages containing a images list as a video and a text querymessages = [ { "role": "user", "content": [ { "type": "video", "video": [ "file:///path/to/frame1.jpg", "file:///path/to/frame2.jpg", "file:///path/to/frame3.jpg", "file:///path/to/frame4.jpg", ], "fps": 1.0, }, {"type": "text", "text": "Describe this video."}, ], }]# Messages containing a video and a text querymessages = [ { "role": "user", "content": [ { "type": "video", "video": "file:///path/to/video1.mp4", "max_pixels": 360 * 420, "fps": 1.0, }, {"type": "text", "text": "Describe this video."}, ], }]
# Preparation for inferencetext = processor.apply_chat_template( messages, tokenize=False, add_generation_prompt=True)image_inputs, video_inputs = process_vision_info(messages)inputs = processor( text=[text], images=image_inputs, videos=video_inputs, padding=True, return_tensors="pt",)inputs = inputs.to("cuda")
# Inferencegenerated_ids = model.generate(**inputs, max_new_tokens=128)generated_ids_trimmed = [ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)]output_text = processor.batch_decode( generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False)print(output_text)```</details>
<details><summary>Batch inference</summary>
```python# Sample messages for batch inferencemessages1 = [ { "role": "user", "content": [ {"type": "image", "image": "file:///path/to/image1.jpg"}, {"type": "image", "image": "file:///path/to/image2.jpg"}, {"type": "text", "text": "What are the common elements in these pictures?"}, ], }]messages2 = [ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Who are you?"},]# Combine messages for batch processingmessages = [messages1, messages1]
# Preparation for batch inferencetexts = [ processor.apply_chat_template(msg, tokenize=False, add_generation_prompt=True) for msg in messages]image_inputs, video_inputs = process_vision_info(messages)inputs = processor( text=texts, images=image_inputs, videos=video_inputs, padding=True, return_tensors="pt",)inputs = inputs.to("cuda")
# Batch Inferencegenerated_ids = model.generate(**inputs, max_new_tokens=128)generated_ids_trimmed = [ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)]output_texts = processor.batch_decode( generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False)print(output_texts)```</details>
### More Usage Tips
For input images, we support local files, base64, and URLs. For videos, we currently only support local files.
```python# You can directly insert a local file path, a URL, or a base64-encoded image into the position where you want in the text.## Local file pathmessages = [ { "role": "user", "content": [ {"type": "image", "image": "file:///path/to/your/image.jpg"}, {"type": "text", "text": "Describe this image."}, ], }]## Image URLmessages = [ { "role": "user", "content": [ {"type": "image", "image": "http://path/to/your/image.jpg"}, {"type": "text", "text": "Describe this image."}, ], }]## Base64 encoded imagemessages = [ { "role": "user", "content": [ {"type": "image", "image": "data:image;base64,/9j/..."}, {"type": "text", "text": "Describe this image."}, ], }]```#### Image Resolution for performance boost
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.
```pythonmin_pixels = 256 * 28 * 28max_pixels = 1280 * 28 * 28processor = AutoProcessor.from_pretrained( "Qwen/Qwen2-VL-2B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels)```
Besides, We provide two methods for fine-grained control over the image size input to the model:
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. 2. Specify exact dimensions: Directly set `resized_height` and `resized_width`. These values will be rounded to the nearest multiple of 28.
```python# min_pixels and max_pixelsmessages = [ { "role": "user", "content": [ { "type": "image", "image": "file:///path/to/your/image.jpg", "resized_height": 280, "resized_width": 420, }, {"type": "text", "text": "Describe this image."}, ], }]# resized_height and resized_widthmessages = [ { "role": "user", "content": [ { "type": "image", "image": "file:///path/to/your/image.jpg", "min_pixels": 50176, "max_pixels": 50176, }, {"type": "text", "text": "Describe this image."}, ], }]```
## Limitations
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:
1. Lack of Audio Support: The current model does **not comprehend audio information** within videos.2. Data timeliness: Our image dataset is **updated until June 2023**, and information subsequent to this date may not be covered.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.4. Limited Capacity for Complex Instruction: When faced with intricate multi-step instructions, the model's understanding and execution capabilities require enhancement.5. Insufficient Counting Accuracy: Particularly in complex scenes, the accuracy of object counting is not high, necessitating further improvements.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.
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.
## Citation
If you find our work helpful, feel free to give us a cite.
```@article{Qwen2VL, title={Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution}, author={Wang, Peng and Bai, Shuai and Tan, Sinan and Wang, Shijie and Fan, Zhihao and Bai, Jinze and Chen, Keqin and Liu, Xuejing and Wang, Jialin and Ge, Wenbin and Fan, Yang and Dang, Kai and Du, Mengfei and Ren, Xuancheng and Men, Rui and Liu, Dayiheng and Zhou, Chang and Zhou, Jingren and Lin, Junyang}, journal={arXiv preprint arXiv:2409.12191}, year={2024}}
@article{Qwen-VL, title={Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond}, 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}, journal={arXiv preprint arXiv:2308.12966}, year={2023}}```123{ "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 %}"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "architectures": [ "Qwen2VLForConditionalGeneration" ], "attention_dropout": 0.0, "bos_token_id": 151643, "eos_token_id": 151645, "vision_start_token_id": 151652, "vision_end_token_id": 151653, "vision_token_id": 151654, "image_token_id": 151655, "video_token_id": 151656, "hidden_act": "silu", "hidden_size": 1536, "initializer_range": 0.02, "intermediate_size": 8960, "max_position_embeddings": 32768, "max_window_layers": 28, "model_type": "qwen2_vl", "num_attention_heads": 12, "num_hidden_layers": 28, "num_key_value_heads": 2, "rms_norm_eps": 1e-06, "rope_theta": 1000000.0, "sliding_window": 32768, "tie_word_embeddings": true, "torch_dtype": "bfloat16", "transformers_version": "4.41.2", "use_cache": true, "use_sliding_window": false, "vision_config": { "depth": 32, "embed_dim": 1280, "mlp_ratio": 4, "num_heads": 16, "in_chans": 3, "hidden_size": 1536, "patch_size": 14, "spatial_merge_size": 2, "spatial_patch_size": 14, "temporal_patch_size": 2 }, "rope_scaling": { "type": "mrope", "mrope_section": [ 16, 24, 24 ] }, "vocab_size": 151936}123456789101112131415{ "bos_token_id": 151643, "pad_token_id": 151643, "do_sample": true, "eos_token_id": [ 151645, 151643 ], "repetition_penalty": 1.0, "temperature": 0.01, "top_p": 0.001, "top_k": 1, "transformers_version": "4.37.0" } 123version https://git-lfs.github.com/spec/v1oid sha256:994ac2b03f97de8bc647d0fe5eba2e4b632b3e28dc03574c29bdfc36cf47e1b9size 3988609112123version https://git-lfs.github.com/spec/v1oid sha256:92540d8353c8d226a589a3b179bdb33851c970ee2cc2ac7ba035f79425e7b833size 429441656123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736{ "metadata": { "total_size": 4417971200 }, "weight_map": { "model.embed_tokens.weight": "model-00001-of-00002.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00002-of-00002.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00002-of-00002.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.24.input_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00002-of-00002.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00002-of-00002.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00002-of-00002.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.24.self_attn.k_proj.bias": "model-00002-of-00002.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00002-of-00002.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00002-of-00002.safetensors", "model.layers.24.self_attn.q_proj.bias": "model-00002-of-00002.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00002-of-00002.safetensors", "model.layers.24.self_attn.v_proj.bias": "model-00002-of-00002.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00002-of-00002.safetensors", "model.layers.25.input_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00002-of-00002.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00002-of-00002.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00002-of-00002.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.25.self_attn.k_proj.bias": "model-00002-of-00002.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00002-of-00002.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00002-of-00002.safetensors", "model.layers.25.self_attn.q_proj.bias": "model-00002-of-00002.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00002-of-00002.safetensors", "model.layers.25.self_attn.v_proj.bias": "model-00002-of-00002.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00002-of-00002.safetensors", "model.layers.26.input_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00002-of-00002.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00002-of-00002.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00002-of-00002.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.26.self_attn.k_proj.bias": "model-00002-of-00002.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00002-of-00002.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00002-of-00002.safetensors", "model.layers.26.self_attn.q_proj.bias": "model-00002-of-00002.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00002-of-00002.safetensors", "model.layers.26.self_attn.v_proj.bias": "model-00002-of-00002.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00002-of-00002.safetensors", "model.layers.27.input_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00002-of-00002.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00002-of-00002.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00002-of-00002.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.27.self_attn.k_proj.bias": "model-00002-of-00002.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00002-of-00002.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00002-of-00002.safetensors", "model.layers.27.self_attn.q_proj.bias": "model-00002-of-00002.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00002-of-00002.safetensors", "model.layers.27.self_attn.v_proj.bias": "model-00002-of-00002.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00002-of-00002.safetensors", "model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.norm.weight": "model-00002-of-00002.safetensors", "visual.blocks.0.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.0.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.0.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.0.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.0.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.0.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.0.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.0.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.0.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.0.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.0.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.0.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.1.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.1.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.1.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.1.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.1.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.1.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.1.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.1.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.1.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.1.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.1.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.1.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.10.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.10.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.10.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.10.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.10.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.10.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.10.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.10.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.10.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.10.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.10.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.10.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.11.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.11.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.11.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.11.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.11.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.11.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.11.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.11.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.11.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.11.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.11.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.11.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.12.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.12.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.12.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.12.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.12.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.12.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.12.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.12.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.12.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.12.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.12.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.12.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.13.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.13.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.13.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.13.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.13.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.13.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.13.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.13.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.13.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.13.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.13.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.13.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.14.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.14.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.14.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.14.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.14.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.14.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.14.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.14.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.14.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.14.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.14.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.14.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.15.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.15.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.15.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.15.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.15.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.15.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.15.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.15.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.15.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.15.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.15.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.15.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.16.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.16.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.16.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.16.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.16.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.16.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.16.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.16.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.16.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.16.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.16.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.16.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.17.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.17.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.17.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.17.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.17.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.17.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.17.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.17.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.17.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.17.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.17.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.17.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.18.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.18.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.18.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.18.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.18.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.18.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.18.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.18.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.18.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.18.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.18.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.18.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.19.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.19.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.19.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.19.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.19.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.19.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.19.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.19.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.19.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.19.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.19.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.19.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.2.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.2.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.2.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.2.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.2.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.2.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.2.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.2.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.2.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.2.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.2.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.2.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.20.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.20.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.20.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.20.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.20.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.20.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.20.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.20.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.20.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.20.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.20.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.20.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.21.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.21.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.21.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.21.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.21.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.21.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.21.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.21.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.21.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.21.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.21.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.21.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.22.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.22.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.22.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.22.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.22.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.22.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.22.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.22.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.22.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.22.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.22.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.22.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.23.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.23.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.23.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.23.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.23.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.23.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.23.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.23.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.23.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.23.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.23.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.23.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.24.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.24.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.24.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.24.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.24.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.24.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.24.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.24.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.24.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.24.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.24.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.24.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.25.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.25.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.25.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.25.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.25.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.25.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.25.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.25.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.25.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.25.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.25.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.25.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.26.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.26.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.26.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.26.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.26.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.26.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.26.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.26.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.26.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.26.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.26.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.26.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.27.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.27.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.27.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.27.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.27.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.27.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.27.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.27.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.27.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.27.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.27.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.27.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.28.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.28.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.28.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.28.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.28.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.28.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.28.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.28.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.28.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.28.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.28.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.28.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.29.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.29.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.29.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.29.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.29.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.29.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.29.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.29.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.29.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.29.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.29.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.29.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.3.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.3.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.3.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.3.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.3.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.3.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.3.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.3.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.3.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.3.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.3.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.3.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.30.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.30.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.30.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.30.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.30.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.30.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.30.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.30.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.30.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.30.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.30.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.30.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.31.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.31.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.31.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.31.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.31.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.31.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.31.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.31.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.31.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.31.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.31.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.31.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.4.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.4.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.4.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.4.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.4.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.4.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.4.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.4.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.4.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.4.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.4.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.4.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.5.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.5.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.5.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.5.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.5.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.5.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.5.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.5.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.5.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.5.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.5.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.5.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.6.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.6.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.6.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.6.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.6.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.6.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.6.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.6.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.6.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.6.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.6.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.6.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.7.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.7.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.7.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.7.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.7.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.7.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.7.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.7.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.7.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.7.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.7.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.7.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.8.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.8.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.8.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.8.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.8.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.8.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.8.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.8.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.8.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.8.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.8.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.8.norm2.weight": "model-00001-of-00002.safetensors", "visual.blocks.9.attn.proj.bias": "model-00001-of-00002.safetensors", "visual.blocks.9.attn.proj.weight": "model-00001-of-00002.safetensors", "visual.blocks.9.attn.qkv.bias": "model-00001-of-00002.safetensors", "visual.blocks.9.attn.qkv.weight": "model-00001-of-00002.safetensors", "visual.blocks.9.mlp.fc1.bias": "model-00001-of-00002.safetensors", "visual.blocks.9.mlp.fc1.weight": "model-00001-of-00002.safetensors", "visual.blocks.9.mlp.fc2.bias": "model-00001-of-00002.safetensors", "visual.blocks.9.mlp.fc2.weight": "model-00001-of-00002.safetensors", "visual.blocks.9.norm1.bias": "model-00001-of-00002.safetensors", "visual.blocks.9.norm1.weight": "model-00001-of-00002.safetensors", "visual.blocks.9.norm2.bias": "model-00001-of-00002.safetensors", "visual.blocks.9.norm2.weight": "model-00001-of-00002.safetensors", "visual.merger.ln_q.bias": "model-00001-of-00002.safetensors", "visual.merger.ln_q.weight": "model-00001-of-00002.safetensors", "visual.merger.mlp.0.bias": "model-00001-of-00002.safetensors", "visual.merger.mlp.0.weight": "model-00001-of-00002.safetensors", "visual.merger.mlp.2.bias": "model-00001-of-00002.safetensors", "visual.merger.mlp.2.weight": "model-00001-of-00002.safetensors", "visual.patch_embed.proj.weight": "model-00001-of-00002.safetensors" }}12345678910111213141516171819{ "min_pixels": 3136, "max_pixels": 12845056, "patch_size": 14, "temporal_patch_size": 2, "merge_size": 2, "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "image_processor_type": "Qwen2VLImageProcessor", "processor_class": "Qwen2VLProcessor"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129{ "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "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|>"], "bos_token": null, "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 %}", "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "padding_side": "left", "errors": "replace", "model_max_length": 32768, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}LICENSEAdded+202
README.mdAdded+500
chat_template.jsonAdded+3
config.jsonAdded+52
generation_config.jsonAdded+15
merges.txtAdded
model-00001-of-00002.safetensorsAdded+3
model-00002-of-00002.safetensorsAdded+3
model.safetensors.index.jsonAdded+736
preprocessor_config.jsonAdded+19
tokenizer.jsonAdded
tokenizer_config.jsonAdded+129
vocab.jsonAdded