fremko commited on
Commit
ac4348e
·
verified ·
1 Parent(s): c65a0bd

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - unsloth
4
+ base_model:
5
+ - Qwen/Qwen3-VL-8B-Thinking
6
+ license: apache-2.0
7
+ pipeline_tag: image-text-to-text
8
+ ---
9
+ > [!NOTE]
10
+ > Includes Unsloth **chat template fixes**! <br> For `llama.cpp`, use `--jinja`
11
+ >
12
+
13
+ <div>
14
+ <p style="margin-top: 0;margin-bottom: 0;">
15
+ <em><a href="https://docs.unsloth.ai/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0</a> achieves superior accuracy & outperforms other leading quants.</em>
16
+ </p>
17
+ <div style="display: flex; gap: 5px; align-items: center; ">
18
+ <a href="https://github.com/unslothai/unsloth/">
19
+ <img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="133">
20
+ </a>
21
+ <a href="https://discord.gg/unsloth">
22
+ <img src="https://github.com/unslothai/unsloth/raw/main/images/Discord%20button.png" width="173">
23
+ </a>
24
+ <a href="https://docs.unsloth.ai/">
25
+ <img src="https://raw.githubusercontent.com/unslothai/unsloth/refs/heads/main/images/documentation%20green%20button.png" width="143">
26
+ </a>
27
+ </div>
28
+ </div>
29
+
30
+ <a href="https://chat.qwenlm.ai/" target="_blank" style="margin: 2px;">
31
+ <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;"/>
32
+ </a>
33
+
34
+ # Qwen3-VL-8B-Thinking
35
+
36
+
37
+ Meet Qwen3-VL — the most powerful vision-language model in the Qwen series to date.
38
+
39
+ This generation delivers comprehensive upgrades across the board: superior text understanding & generation, deeper visual perception & reasoning, extended context length, enhanced spatial and video dynamics comprehension, and stronger agent interaction capabilities.
40
+
41
+ Available in Dense and MoE architectures that scale from edge to cloud, with Instruct and reasoning‑enhanced Thinking editions for flexible, on‑demand deployment.
42
+
43
+
44
+ #### Key Enhancements:
45
+
46
+ * **Visual Agent**: Operates PC/mobile GUIs—recognizes elements, understands functions, invokes tools, completes tasks.
47
+
48
+ * **Visual Coding Boost**: Generates Draw.io/HTML/CSS/JS from images/videos.
49
+
50
+ * **Advanced Spatial Perception**: Judges object positions, viewpoints, and occlusions; provides stronger 2D grounding and enables 3D grounding for spatial reasoning and embodied AI.
51
+
52
+ * **Long Context & Video Understanding**: Native 256K context, expandable to 1M; handles books and hours-long video with full recall and second-level indexing.
53
+
54
+ * **Enhanced Multimodal Reasoning**: Excels in STEM/Math—causal analysis and logical, evidence-based answers.
55
+
56
+ * **Upgraded Visual Recognition**: Broader, higher-quality pretraining is able to “recognize everything”—celebrities, anime, products, landmarks, flora/fauna, etc.
57
+
58
+ * **Expanded OCR**: Supports 32 languages (up from 19); robust in low light, blur, and tilt; better with rare/ancient characters and jargon; improved long-document structure parsing.
59
+
60
+ * **Text Understanding on par with pure LLMs**: Seamless text–vision fusion for lossless, unified comprehension.
61
+
62
+
63
+ #### Model Architecture Updates:
64
+
65
+ <p align="center">
66
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3-VL/qwen3vl_arc.jpg" width="80%"/>
67
+ <p>
68
+
69
+
70
+ 1. **Interleaved-MRoPE**: Full‑frequency allocation over time, width, and height via robust positional embeddings, enhancing long‑horizon video reasoning.
71
+
72
+ 2. **DeepStack**: Fuses multi‑level ViT features to capture fine‑grained details and sharpen image–text alignment.
73
+
74
+ 3. **Text–Timestamp Alignment:** Moves beyond T‑RoPE to precise, timestamp‑grounded event localization for stronger video temporal modeling.
75
+
76
+
77
+ This is the weight repository for Qwen3-VL-8B-Thinking.
78
+
79
+
80
+ ---
81
+
82
+ ## Model Performance
83
+
84
+ **Multimodal performance**
85
+
86
+ ![](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-VL/qwen3vl_4b_8b_vl_thinking.jpg)
87
+
88
+ **Pure text performance**
89
+ ![](https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3-VL/qwen3vl_4b_8b_text_thinking.jpg)
90
+
91
+ ## Quickstart
92
+
93
+ Below, we provide simple examples to show how to use Qwen3-VL with 🤖 ModelScope and 🤗 Transformers.
94
+
95
+ The code of Qwen3-VL has been in the latest Hugging face transformers and we advise you to build from source with command:
96
+ ```
97
+ pip install git+https://github.com/huggingface/transformers
98
+ # pip install transformers==4.57.0 # currently, V4.57.0 is not released
99
+ ```
100
+
101
+ ### Using 🤗 Transformers to Chat
102
+
103
+ Here we show a code snippet to show you how to use the chat model with `transformers`:
104
+
105
+ ```python
106
+ from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
107
+
108
+ # default: Load the model on the available device(s)
109
+ model = Qwen3VLForConditionalGeneration.from_pretrained(
110
+ "Qwen/Qwen3-VL-8B-Thinking", dtype="auto", device_map="auto"
111
+ )
112
+
113
+ # We recommend enabling flash_attention_2 for better acceleration and memory saving, especially in multi-image and video scenarios.
114
+ # model = Qwen3VLForConditionalGeneration.from_pretrained(
115
+ # "Qwen/Qwen3-VL-8B-Thinking",
116
+ # dtype=torch.bfloat16,
117
+ # attn_implementation="flash_attention_2",
118
+ # device_map="auto",
119
+ # )
120
+
121
+ processor = AutoProcessor.from_pretrained("Qwen/Qwen3-VL-8B-Thinking")
122
+
123
+ messages = [
124
+ {
125
+ "role": "user",
126
+ "content": [
127
+ {
128
+ "type": "image",
129
+ "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
130
+ },
131
+ {"type": "text", "text": "Describe this image."},
132
+ ],
133
+ }
134
+ ]
135
+
136
+ # Preparation for inference
137
+ inputs = processor.apply_chat_template(
138
+ messages,
139
+ tokenize=True,
140
+ add_generation_prompt=True,
141
+ return_dict=True,
142
+ return_tensors="pt"
143
+ )
144
+ inputs = inputs.to(model.device)
145
+
146
+ # Inference: Generation of the output
147
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
148
+ generated_ids_trimmed = [
149
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
150
+ ]
151
+ output_text = processor.batch_decode(
152
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
153
+ )
154
+ print(output_text)
155
+ ```
156
+
157
+ ### Generation Hyperparameters
158
+ #### VL
159
+ ```bash
160
+ export greedy='false'
161
+ export top_p=0.95
162
+ export top_k=20
163
+ export repetition_penalty=1.0
164
+ export presence_penalty=0.0
165
+ export temperature=1.0
166
+ export out_seq_length=40960
167
+ ```
168
+
169
+ #### Text
170
+ ```bash
171
+ export greedy='false'
172
+ export top_p=0.95
173
+ export top_k=20
174
+ export repetition_penalty=1.0
175
+ export presence_penalty=1.5
176
+ export temperature=1.0
177
+ export out_seq_length=32768 (for aime, lcb, and gpqa, it is recommended to set to 81920)
178
+ ```
179
+
180
+
181
+
182
+ ## Citation
183
+
184
+ If you find our work helpful, feel free to give us a cite.
185
+
186
+ ```
187
+ @misc{qwen3technicalreport,
188
+ title={Qwen3 Technical Report},
189
+ author={Qwen Team},
190
+ year={2025},
191
+ eprint={2505.09388},
192
+ archivePrefix={arXiv},
193
+ primaryClass={cs.CL},
194
+ url={https://arxiv.org/abs/2505.09388},
195
+ }
196
+
197
+ @article{Qwen2.5-VL,
198
+ title={Qwen2.5-VL Technical Report},
199
+ author={Bai, Shuai and Chen, Keqin and Liu, Xuejing and Wang, Jialin and Ge, Wenbin and Song, Sibo and Dang, Kai and Wang, Peng and Wang, Shijie and Tang, Jun and Zhong, Humen and Zhu, Yuanzhi and Yang, Mingkun and Li, Zhaohai and Wan, Jianqiang and Wang, Pengfei and Ding, Wei and Fu, Zheren and Xu, Yiheng and Ye, Jiabo and Zhang, Xi and Xie, Tianbao and Cheng, Zesen and Zhang, Hang and Yang, Zhibo and Xu, Haiyang and Lin, Junyang},
200
+ journal={arXiv preprint arXiv:2502.13923},
201
+ year={2025}
202
+ }
203
+
204
+ @article{Qwen2VL,
205
+ title={Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution},
206
+ 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},
207
+ journal={arXiv preprint arXiv:2409.12191},
208
+ year={2024}
209
+ }
210
+
211
+ @article{Qwen-VL,
212
+ title={Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond},
213
+ 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},
214
+ journal={arXiv preprint arXiv:2308.12966},
215
+ year={2023}
216
+ }
217
+ ```
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
config.json CHANGED
@@ -2,8 +2,6 @@
2
  "architectures": [
3
  "Qwen3VLForConditionalGeneration"
4
  ],
5
- "torch_dtype": "bfloat16",
6
- "eos_token_id": 151645,
7
  "image_token_id": 151655,
8
  "model_type": "qwen3_vl",
9
  "pad_token_id": 151654,
@@ -24,24 +22,22 @@
24
  "num_hidden_layers": 36,
25
  "num_key_value_heads": 8,
26
  "rms_norm_eps": 1e-06,
27
- "rope_parameters": {
28
  "mrope_interleaved": true,
29
  "mrope_section": [
30
  24,
31
  20,
32
  20
33
  ],
34
- "rope_theta": 5000000,
35
  "rope_type": "default"
36
  },
 
37
  "use_cache": true,
38
  "vocab_size": 151936
39
  },
40
  "tie_word_embeddings": false,
41
- "transformers_version": "5.0.0rc0",
42
  "unsloth_fixed": true,
43
- "unsloth_version": "2026.1.3",
44
- "use_cache": false,
45
  "video_token_id": 151656,
46
  "vision_config": {
47
  "deepstack_visual_indexes": [
@@ -50,7 +46,6 @@
50
  24
51
  ],
52
  "depth": 27,
53
- "torch_dtype": "bfloat16",
54
  "hidden_act": "gelu_pytorch_tanh",
55
  "hidden_size": 1152,
56
  "in_channels": 3,
@@ -66,4 +61,4 @@
66
  },
67
  "vision_end_token_id": 151653,
68
  "vision_start_token_id": 151652
69
- }
 
2
  "architectures": [
3
  "Qwen3VLForConditionalGeneration"
4
  ],
 
 
5
  "image_token_id": 151655,
6
  "model_type": "qwen3_vl",
7
  "pad_token_id": 151654,
 
22
  "num_hidden_layers": 36,
23
  "num_key_value_heads": 8,
24
  "rms_norm_eps": 1e-06,
25
+ "rope_scaling": {
26
  "mrope_interleaved": true,
27
  "mrope_section": [
28
  24,
29
  20,
30
  20
31
  ],
 
32
  "rope_type": "default"
33
  },
34
+ "rope_theta": 5000000,
35
  "use_cache": true,
36
  "vocab_size": 151936
37
  },
38
  "tie_word_embeddings": false,
39
+ "transformers_version": "4.57.1",
40
  "unsloth_fixed": true,
 
 
41
  "video_token_id": 151656,
42
  "vision_config": {
43
  "deepstack_visual_indexes": [
 
46
  24
47
  ],
48
  "depth": 27,
 
49
  "hidden_act": "gelu_pytorch_tanh",
50
  "hidden_size": 1152,
51
  "in_channels": 3,
 
61
  },
62
  "vision_end_token_id": 151653,
63
  "vision_start_token_id": 151652
64
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "pad_token_id": 151643,
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 151645,
7
+ 151643
8
+ ],
9
+ "top_k": 20,
10
+ "top_p": 0.95,
11
+ "repetition_penalty": 1.0,
12
+ "temperature": 1.0,
13
+ "transformers_version": "4.56.0"
14
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "disable_grouping": null,
7
+ "do_center_crop": null,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_pad": null,
11
+ "do_rescale": true,
12
+ "do_resize": true,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_processor_type": "Qwen2VLImageProcessorFast",
19
+ "image_std": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "input_data_format": null,
25
+ "max_pixels": null,
26
+ "merge_size": 2,
27
+ "min_pixels": null,
28
+ "pad_size": null,
29
+ "patch_size": 16,
30
+ "processor_class": "Qwen3VLProcessor",
31
+ "resample": 3,
32
+ "rescale_factor": 0.00392156862745098,
33
+ "return_tensors": null,
34
+ "size": {
35
+ "longest_edge": 16777216,
36
+ "shortest_edge": 65536
37
+ },
38
+ "temporal_patch_size": 2
39
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|vision_pad|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4f75be3dee5e1f0c9aaf0ce62b67095c6a4416463ff43862d64dd909b084b1e8
3
- size 11422923
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json CHANGED
@@ -1,6 +1,216 @@
1
  {
2
  "add_bos_token": false,
3
  "add_prefix_space": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  "additional_special_tokens": [
5
  "<|im_start|>",
6
  "<|im_end|>",
@@ -16,31 +226,14 @@
16
  "<|image_pad|>",
17
  "<|video_pad|>"
18
  ],
19
- "backend": "tokenizers",
20
  "bos_token": null,
21
  "clean_up_tokenization_spaces": false,
22
  "eos_token": "<|im_end|>",
23
  "errors": "replace",
24
- "extra_special_tokens": [
25
- "<|im_start|>",
26
- "<|im_end|>",
27
- "<|object_ref_start|>",
28
- "<|object_ref_end|>",
29
- "<|box_start|>",
30
- "<|box_end|>",
31
- "<|quad_start|>",
32
- "<|quad_end|>",
33
- "<|vision_start|>",
34
- "<|vision_end|>",
35
- "<|vision_pad|>",
36
- "<|image_pad|>",
37
- "<|video_pad|>"
38
- ],
39
- "is_local": false,
40
  "model_max_length": 262144,
41
- "model_specific_special_tokens": {},
42
  "pad_token": "<|vision_pad|>",
43
- "padding_side": "right",
44
  "processor_class": "Qwen3VLProcessor",
45
  "split_special_tokens": false,
46
  "tokenizer_class": "Qwen2Tokenizer",
 
1
  {
2
  "add_bos_token": false,
3
  "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
  "additional_special_tokens": [
215
  "<|im_start|>",
216
  "<|im_end|>",
 
226
  "<|image_pad|>",
227
  "<|video_pad|>"
228
  ],
 
229
  "bos_token": null,
230
  "clean_up_tokenization_spaces": false,
231
  "eos_token": "<|im_end|>",
232
  "errors": "replace",
233
+ "extra_special_tokens": {},
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
  "model_max_length": 262144,
 
235
  "pad_token": "<|vision_pad|>",
236
+ "padding_side": "left",
237
  "processor_class": "Qwen3VLProcessor",
238
  "split_special_tokens": false,
239
  "tokenizer_class": "Qwen2Tokenizer",
video_preprocessor_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "do_center_crop": null,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "do_sample_frames": true,
12
+ "fps": 2,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "input_data_format": null,
24
+ "max_frames": 768,
25
+ "merge_size": 2,
26
+ "min_frames": 4,
27
+ "num_frames": null,
28
+ "pad_size": null,
29
+ "patch_size": 16,
30
+ "processor_class": "Qwen3VLProcessor",
31
+ "resample": 3,
32
+ "rescale_factor": 0.00392156862745098,
33
+ "return_metadata": false,
34
+ "size": {
35
+ "longest_edge": 25165824,
36
+ "shortest_edge": 4096
37
+ },
38
+ "temporal_patch_size": 2,
39
+ "video_metadata": null,
40
+ "video_processor_type": "Qwen3VLVideoProcessor"
41
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff