bluelike commited on
Commit
244df9a
·
verified ·
1 Parent(s): a22b9b2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +525 -0
README.md ADDED
@@ -0,0 +1,525 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: apache-2.0
4
+ language:
5
+ - en
6
+ pipeline_tag: image-text-to-text
7
+ tags:
8
+ - multimodal
9
+ library_name: transformers
10
+ base_model:
11
+ - Qwen/Qwen2.5-VL-7B-Instruct
12
+ ---
13
+
14
+ # Qwen2.5-VL-7B-Instruct
15
+ <a href="https://chat.qwenlm.ai/" target="_blank" style="margin: 2px;">
16
+ <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;"/>
17
+ </a>
18
+
19
+ ## Introduction
20
+
21
+ In the past five months since Qwen2-VL’s release, numerous developers have built new models on the Qwen2-VL vision-language models, providing us with valuable feedback. During this period, we focused on building more useful vision-language models. Today, we are excited to introduce the latest addition to the Qwen family: Qwen2.5-VL.
22
+
23
+ #### Key Enhancements:
24
+ * **Understand things visually**: Qwen2.5-VL is not only proficient in recognizing common objects such as flowers, birds, fish, and insects, but it is highly capable of analyzing texts, charts, icons, graphics, and layouts within images.
25
+
26
+ * **Being agentic**: Qwen2.5-VL directly plays as a visual agent that can reason and dynamically direct tools, which is capable of computer use and phone use.
27
+
28
+ * **Understanding long videos and capturing events**: Qwen2.5-VL can comprehend videos of over 1 hour, and this time it has a new ability of cpaturing event by pinpointing the relevant video segments.
29
+
30
+ * **Capable of visual localization in different formats**: Qwen2.5-VL can accurately localize objects in an image by generating bounding boxes or points, and it can provide stable JSON outputs for coordinates and attributes.
31
+
32
+ * **Generating structured outputs**: for data like scans of invoices, forms, tables, etc. Qwen2.5-VL supports structured outputs of their contents, benefiting usages in finance, commerce, etc.
33
+
34
+
35
+ #### Model Architecture Updates:
36
+
37
+ * **Dynamic Resolution and Frame Rate Training for Video Understanding**:
38
+
39
+ We extend dynamic resolution to the temporal dimension by adopting dynamic FPS sampling, enabling the model to comprehend videos at various sampling rates. Accordingly, we update mRoPE in the time dimension with IDs and absolute time alignment, enabling the model to learn temporal sequence and speed, and ultimately acquire the ability to pinpoint specific moments.
40
+
41
+ * **Streamlined and Efficient Vision Encoder**
42
+
43
+ We enhance both training and inference speeds by strategically implementing window attention into the ViT. The ViT architecture is further optimized with SwiGLU and RMSNorm, aligning it with the structure of the Qwen2.5 LLM.
44
+
45
+
46
+ We have three models with 3, 7 and 72 billion parameters. This repo contains the instruction-tuned 7B Qwen2.5-VL model. For more information, visit our [Blog](https://qwenlm.github.io/blog/qwen2.5-vl/) and [GitHub](https://github.com/QwenLM/Qwen2.5-VL).
47
+
48
+
49
+
50
+ ## Evaluation
51
+
52
+ ### Image benchmark
53
+
54
+
55
+ | Benchmark | InternVL2.5-8B | MiniCPM-o 2.6 | GPT-4o-mini | Qwen2-VL-7B |**Qwen2.5-VL-7B** |
56
+ | :--- | :---: | :---: | :---: | :---: | :---: |
57
+ | MMMU<sub>val</sub> | 56 | 50.4 | **60**| 54.1 | 58.6|
58
+ | MMMU-Pro<sub>val</sub> | 34.3 | - | 37.6| 30.5 | 41.0|
59
+ | DocVQA<sub>test</sub> | 93 | 93 | - | 94.5 | **95.7** |
60
+ | InfoVQA<sub>test</sub> | 77.6 | - | - |76.5 | **82.6** |
61
+ | ChartQA<sub>test</sub> | 84.8 | - |- | 83.0 |**87.3** |
62
+ | TextVQA<sub>val</sub> | 79.1 | 80.1 | -| 84.3 | **84.9**|
63
+ | OCRBench | 822 | 852 | 785 | 845 | **864** |
64
+ | CC_OCR | 57.7 | | | 61.6 | **77.8**|
65
+ | MMStar | 62.8| | |60.7| **63.9**|
66
+ | MMBench-V1.1-En<sub>test</sub> | 79.4 | 78.0 | 76.0| 80.7 | **82.6** |
67
+ | MMT-Bench<sub>test</sub> | - | - | - |**63.7** |63.6 |
68
+ | MMStar | **61.5** | 57.5 | 54.8 | 60.7 |63.9 |
69
+ | MMVet<sub>GPT-4-Turbo</sub> | 54.2 | 60.0 | 66.9 | 62.0 | **67.1**|
70
+ | HallBench<sub>avg</sub> | 45.2 | 48.1 | 46.1| 50.6 | **52.9**|
71
+ | MathVista<sub>testmini</sub> | 58.3 | 60.6 | 52.4 | 58.2 | **68.2**|
72
+ | MathVision | - | - | - | 16.3 | **25.07** |
73
+
74
+ ### Video Benchmarks
75
+
76
+ | Benchmark | Qwen2-VL-7B | **Qwen2.5-VL-7B** |
77
+ | :--- | :---: | :---: |
78
+ | MVBench | 67.0 | **69.6** |
79
+ | PerceptionTest<sub>test</sub> | 66.9 | **70.5** |
80
+ | Video-MME<sub>wo/w subs</sub> | 63.3/69.0 | **65.1**/**71.6** |
81
+ | LVBench | | 45.3 |
82
+ | LongVideoBench | | 54.7 |
83
+ | MMBench-Video | 1.44 | 1.79 |
84
+ | TempCompass | | 71.7 |
85
+ | MLVU | | 70.2 |
86
+ | CharadesSTA/mIoU | 43.6|
87
+
88
+ ### Agent benchmark
89
+ | Benchmarks | Qwen2.5-VL-7B |
90
+ |-------------------------|---------------|
91
+ | ScreenSpot | 84.7 |
92
+ | ScreenSpot Pro | 29.0 |
93
+ | AITZ_EM | 81.9 |
94
+ | Android Control High_EM | 60.1 |
95
+ | Android Control Low_EM | 93.7 |
96
+ | AndroidWorld_SR | 25.5 |
97
+ | MobileMiniWob++_SR | 91.4 |
98
+
99
+ ## Requirements
100
+ The code of Qwen2.5-VL has been in the latest Hugging face transformers and we advise you to build from source with command:
101
+ ```
102
+ pip install git+https://github.com/huggingface/transformer accelerate
103
+ ```
104
+ or you might encounter the following error:
105
+ ```
106
+ KeyError: 'qwen2_5_vl'
107
+ ```
108
+
109
+
110
+ ## Quickstart
111
+
112
+ Below, we provide simple examples to show how to use Qwen2.5-VL with 🤖 ModelScope and 🤗 Transformers.
113
+
114
+ The code of Qwen2.5-VL has been in the latest Hugging face transformers and we advise you to build from source with command:
115
+ ```
116
+ pip install git+https://github.com/huggingface/transformer accelerate
117
+ ```
118
+ or you might encounter the following error:
119
+ ```
120
+ KeyError: 'qwen2_5_vl'
121
+ ```
122
+
123
+
124
+ We offer a toolkit to help you handle various types of visual input more conveniently, as if you were using an API. This includes base64, URLs, and interleaved images and videos. You can install it using the following command:
125
+
126
+ ```bash
127
+ # It's highly recommanded to use `[decord]` feature for faster video loading.
128
+ pip install qwen-vl-utils[decord]
129
+ ```
130
+
131
+ If you are not using Linux, you might not be able to install `decord` from PyPI. In that case, you can use `pip install qwen-vl-utils` which will fall back to using torchvision for video processing. However, you can still [install decord from source](https://github.com/dmlc/decord?tab=readme-ov-file#install-from-source) to get decord used when loading video.
132
+
133
+ ### Using 🤗 Transformers to Chat
134
+
135
+ Here we show a code snippet to show you how to use the chat model with `transformers` and `qwen_vl_utils`:
136
+
137
+ ```python
138
+ from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
139
+ from qwen_vl_utils import process_vision_info
140
+
141
+ # default: Load the model on the available device(s)
142
+ model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
143
+ "Qwen/Qwen2.5-VL-7B-Instruct", torch_dtype="auto", device_map="auto"
144
+ )
145
+
146
+ # We recommend enabling flash_attention_2 for better acceleration and memory saving, especially in multi-image and video scenarios.
147
+ # model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
148
+ # "Qwen/Qwen2.5-VL-7B-Instruct",
149
+ # torch_dtype=torch.bfloat16,
150
+ # attn_implementation="flash_attention_2",
151
+ # device_map="auto",
152
+ # )
153
+
154
+ # default processer
155
+ processor = AutoProcessor.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct")
156
+
157
+ # The default range for the number of visual tokens per image in the model is 4-16384.
158
+ # You can set min_pixels and max_pixels according to your needs, such as a token range of 256-1280, to balance performance and cost.
159
+ # min_pixels = 256*28*28
160
+ # max_pixels = 1280*28*28
161
+ # processor = AutoProcessor.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels)
162
+
163
+ messages = [
164
+ {
165
+ "role": "user",
166
+ "content": [
167
+ {
168
+ "type": "image",
169
+ "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
170
+ },
171
+ {"type": "text", "text": "Describe this image."},
172
+ ],
173
+ }
174
+ ]
175
+
176
+ # Preparation for inference
177
+ text = processor.apply_chat_template(
178
+ messages, tokenize=False, add_generation_prompt=True
179
+ )
180
+ image_inputs, video_inputs = process_vision_info(messages)
181
+ inputs = processor(
182
+ text=[text],
183
+ images=image_inputs,
184
+ videos=video_inputs,
185
+ padding=True,
186
+ return_tensors="pt",
187
+ )
188
+ inputs = inputs.to("cuda")
189
+
190
+ # Inference: Generation of the output
191
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
192
+ generated_ids_trimmed = [
193
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
194
+ ]
195
+ output_text = processor.batch_decode(
196
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
197
+ )
198
+ print(output_text)
199
+ ```
200
+ <details>
201
+ <summary>Multi image inference</summary>
202
+
203
+ ```python
204
+ # Messages containing multiple images and a text query
205
+ messages = [
206
+ {
207
+ "role": "user",
208
+ "content": [
209
+ {"type": "image", "image": "file:///path/to/image1.jpg"},
210
+ {"type": "image", "image": "file:///path/to/image2.jpg"},
211
+ {"type": "text", "text": "Identify the similarities between these images."},
212
+ ],
213
+ }
214
+ ]
215
+
216
+ # Preparation for inference
217
+ text = processor.apply_chat_template(
218
+ messages, tokenize=False, add_generation_prompt=True
219
+ )
220
+ image_inputs, video_inputs = process_vision_info(messages)
221
+ inputs = processor(
222
+ text=[text],
223
+ images=image_inputs,
224
+ videos=video_inputs,
225
+ padding=True,
226
+ return_tensors="pt",
227
+ )
228
+ inputs = inputs.to("cuda")
229
+
230
+ # Inference
231
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
232
+ generated_ids_trimmed = [
233
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
234
+ ]
235
+ output_text = processor.batch_decode(
236
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
237
+ )
238
+ print(output_text)
239
+ ```
240
+ </details>
241
+
242
+ <details>
243
+ <summary>Video inference</summary>
244
+
245
+ ```python
246
+ # Messages containing a images list as a video and a text query
247
+ messages = [
248
+ {
249
+ "role": "user",
250
+ "content": [
251
+ {
252
+ "type": "video",
253
+ "video": [
254
+ "file:///path/to/frame1.jpg",
255
+ "file:///path/to/frame2.jpg",
256
+ "file:///path/to/frame3.jpg",
257
+ "file:///path/to/frame4.jpg",
258
+ ],
259
+ },
260
+ {"type": "text", "text": "Describe this video."},
261
+ ],
262
+ }
263
+ ]
264
+
265
+ # Messages containing a local video path and a text query
266
+ messages = [
267
+ {
268
+ "role": "user",
269
+ "content": [
270
+ {
271
+ "type": "video",
272
+ "video": "file:///path/to/video1.mp4",
273
+ "max_pixels": 360 * 420,
274
+ "fps": 1.0,
275
+ },
276
+ {"type": "text", "text": "Describe this video."},
277
+ ],
278
+ }
279
+ ]
280
+
281
+ # Messages containing a video url and a text query
282
+ messages = [
283
+ {
284
+ "role": "user",
285
+ "content": [
286
+ {
287
+ "type": "video",
288
+ "video": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen2-VL/space_woaudio.mp4",
289
+ },
290
+ {"type": "text", "text": "Describe this video."},
291
+ ],
292
+ }
293
+ ]
294
+
295
+ #In Qwen 2.5 VL, frame rate information is also input into the model to align with absolute time.
296
+ # Preparation for inference
297
+ text = processor.apply_chat_template(
298
+ messages, tokenize=False, add_generation_prompt=True
299
+ )
300
+ image_inputs, video_inputs, video_kwargs = process_vision_info(messages, return_video_kwargs=True)
301
+ inputs = processor(
302
+ text=[text],
303
+ images=image_inputs,
304
+ videos=video_inputs,
305
+ fps=fps,
306
+ padding=True,
307
+ return_tensors="pt",
308
+ **video_kwargs,
309
+ )
310
+ inputs = inputs.to("cuda")
311
+
312
+ # Inference
313
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
314
+ generated_ids_trimmed = [
315
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
316
+ ]
317
+ output_text = processor.batch_decode(
318
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
319
+ )
320
+ print(output_text)
321
+ ```
322
+
323
+ Video URL compatibility largely depends on the third-party library version. The details are in the table below. change the backend by `FORCE_QWENVL_VIDEO_READER=torchvision` or `FORCE_QWENVL_VIDEO_READER=decord` if you prefer not to use the default one.
324
+
325
+ | Backend | HTTP | HTTPS |
326
+ |-------------|------|-------|
327
+ | torchvision >= 0.19.0 | ✅ | ✅ |
328
+ | torchvision < 0.19.0 | ❌ | ❌ |
329
+ | decord | ✅ | ❌ |
330
+ </details>
331
+
332
+ <details>
333
+ <summary>Batch inference</summary>
334
+
335
+ ```python
336
+ # Sample messages for batch inference
337
+ messages1 = [
338
+ {
339
+ "role": "user",
340
+ "content": [
341
+ {"type": "image", "image": "file:///path/to/image1.jpg"},
342
+ {"type": "image", "image": "file:///path/to/image2.jpg"},
343
+ {"type": "text", "text": "What are the common elements in these pictures?"},
344
+ ],
345
+ }
346
+ ]
347
+ messages2 = [
348
+ {"role": "system", "content": "You are a helpful assistant."},
349
+ {"role": "user", "content": "Who are you?"},
350
+ ]
351
+ # Combine messages for batch processing
352
+ messages = [messages1, messages2]
353
+
354
+ # Preparation for batch inference
355
+ texts = [
356
+ processor.apply_chat_template(msg, tokenize=False, add_generation_prompt=True)
357
+ for msg in messages
358
+ ]
359
+ image_inputs, video_inputs = process_vision_info(messages)
360
+ inputs = processor(
361
+ text=texts,
362
+ images=image_inputs,
363
+ videos=video_inputs,
364
+ padding=True,
365
+ return_tensors="pt",
366
+ )
367
+ inputs = inputs.to("cuda")
368
+
369
+ # Batch Inference
370
+ generated_ids = model.generate(**inputs, max_new_tokens=128)
371
+ generated_ids_trimmed = [
372
+ out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
373
+ ]
374
+ output_texts = processor.batch_decode(
375
+ generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
376
+ )
377
+ print(output_texts)
378
+ ```
379
+ </details>
380
+
381
+ ### 🤖 ModelScope
382
+ We strongly advise users especially those in mainland China to use ModelScope. `snapshot_download` can help you solve issues concerning downloading checkpoints.
383
+
384
+
385
+ ### More Usage Tips
386
+
387
+ For input images, we support local files, base64, and URLs. For videos, we currently only support local files.
388
+
389
+ ```python
390
+ # You can directly insert a local file path, a URL, or a base64-encoded image into the position where you want in the text.
391
+ ## Local file path
392
+ messages = [
393
+ {
394
+ "role": "user",
395
+ "content": [
396
+ {"type": "image", "image": "file:///path/to/your/image.jpg"},
397
+ {"type": "text", "text": "Describe this image."},
398
+ ],
399
+ }
400
+ ]
401
+ ## Image URL
402
+ messages = [
403
+ {
404
+ "role": "user",
405
+ "content": [
406
+ {"type": "image", "image": "http://path/to/your/image.jpg"},
407
+ {"type": "text", "text": "Describe this image."},
408
+ ],
409
+ }
410
+ ]
411
+ ## Base64 encoded image
412
+ messages = [
413
+ {
414
+ "role": "user",
415
+ "content": [
416
+ {"type": "image", "image": "data:image;base64,/9j/..."},
417
+ {"type": "text", "text": "Describe this image."},
418
+ ],
419
+ }
420
+ ]
421
+ ```
422
+ #### Image Resolution for performance boost
423
+
424
+ 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.
425
+
426
+ ```python
427
+ min_pixels = 256 * 28 * 28
428
+ max_pixels = 1280 * 28 * 28
429
+ processor = AutoProcessor.from_pretrained(
430
+ "Qwen/Qwen2.5-VL-7B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels
431
+ )
432
+ ```
433
+
434
+ Besides, We provide two methods for fine-grained control over the image size input to the model:
435
+
436
+ 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.
437
+
438
+ 2. Specify exact dimensions: Directly set `resized_height` and `resized_width`. These values will be rounded to the nearest multiple of 28.
439
+
440
+ ```python
441
+ # min_pixels and max_pixels
442
+ messages = [
443
+ {
444
+ "role": "user",
445
+ "content": [
446
+ {
447
+ "type": "image",
448
+ "image": "file:///path/to/your/image.jpg",
449
+ "resized_height": 280,
450
+ "resized_width": 420,
451
+ },
452
+ {"type": "text", "text": "Describe this image."},
453
+ ],
454
+ }
455
+ ]
456
+ # resized_height and resized_width
457
+ messages = [
458
+ {
459
+ "role": "user",
460
+ "content": [
461
+ {
462
+ "type": "image",
463
+ "image": "file:///path/to/your/image.jpg",
464
+ "min_pixels": 50176,
465
+ "max_pixels": 50176,
466
+ },
467
+ {"type": "text", "text": "Describe this image."},
468
+ ],
469
+ }
470
+ ]
471
+ ```
472
+
473
+ ### Processing Long Texts
474
+
475
+ The current `config.json` is set for context length up to 32,768 tokens.
476
+ To handle extensive inputs exceeding 32,768 tokens, we utilize [YaRN](https://arxiv.org/abs/2309.00071), a technique for enhancing model length extrapolation, ensuring optimal performance on lengthy texts.
477
+
478
+ For supported frameworks, you could add the following to `config.json` to enable YaRN:
479
+
480
+ {
481
+ ...,
482
+ "type": "yarn",
483
+ "mrope_section": [
484
+ 16,
485
+ 24,
486
+ 24
487
+ ],
488
+ "factor": 4,
489
+ "original_max_position_embeddings": 32768
490
+ }
491
+
492
+ However, it should be noted that this method has a significant impact on the performance of temporal and spatial localization tasks, and is therefore not recommended for use.
493
+
494
+ At the same time, for long video inputs, since MRoPE itself is more economical with ids, the max_position_embeddings can be directly modified to a larger value, such as 64k.
495
+
496
+
497
+
498
+
499
+ ## Citation
500
+
501
+ If you find our work helpful, feel free to give us a cite.
502
+
503
+ ```
504
+ @misc{qwen2.5-VL,
505
+ title = {Qwen2.5-VL},
506
+ url = {https://qwenlm.github.io/blog/qwen2.5-vl/},
507
+ author = {Qwen Team},
508
+ month = {January},
509
+ year = {2025}
510
+ }
511
+
512
+ @article{Qwen2VL,
513
+ title={Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution},
514
+ 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},
515
+ journal={arXiv preprint arXiv:2409.12191},
516
+ year={2024}
517
+ }
518
+
519
+ @article{Qwen-VL,
520
+ title={Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond},
521
+ 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},
522
+ journal={arXiv preprint arXiv:2308.12966},
523
+ year={2023}
524
+ }
525
+ ```