Views
No views yet
| Description | Link |
|---|---|
| Mid-training data for LLaVA-OneVision-1.5 | 🤗 Download (Uploading!) |
| SFT data for LLaVA-OneVision-1.5 | 🤗 Download (Uploading!) |
| LLaVA-OV-1.5-8B | Qwen2.5 VL 7B | |
|---|---|---|
| MMMU (Validation) | 55.44 | 51.33 |
| MMMU-Pro (Standard) | 37.40 | 36.30 |
| MMMU-Pro (Vision) | 25.15 | 32.83 |
| MMBench (English; Test) | 84.14 | 83.40 |
| MMBench (Chinese; Test) | 81.00 | 81.61 |
| MME-RealWorld (English) | 62.31 | 57.33 |
| MME-RealWorld (Chinese) | 56.11 | 51.50 |
| AI2D (With Mask) | 84.16 | 82.58 |
| AI2D (Without Mask) | 94.11 | 93.36 |
| CV-Bench | 80.82 | 79.95 |
| VL-RewardBench | 45.90 | 49.65 |
| V* | 78.01 | 76.96 |
| PixmoCount | 62.19 | 63.33 |
| CountBench | 88.19 | 86.35 |
| ChartQA | 86.48 | 84.08 |
| CharXiv (Direct Questions) | 74.10 | 69.80 |
| DocVQA (Test) | 95.00 | 94.93 |
| InfoVQA (Test) | 78.42 | 81.67 |
| WeMath | 33.62 | 33.33 |
| MathVista (Mini) | 69.57 | 68.60 |
| MathVision | 25.56 | 22.37 |
| MMStar | 67.72 | 62.54 |
| SEED-Bench (Image) | 77.32 | 77.53 |
| ScienceQA | 94.98 | 88.75 |
| SEED-Bench 2-Plus | 69.21 | 70.93 |
| OCRBench | 82.90 | 84.20 |
| RealWorldQA | 68.10 | 68.50 |
transformers and qwen_vl_utils:1from transformers import AutoTokenizer, AutoProcessor, AutoModelForCausalLM
2from qwen_vl_utils import process_vision_info
3model_path = "lmms-lab/LLaVA-One-Vision-1.5-8B-Instruct"
4
5# default: Load the model on the available device(s)
6model = AutoModelForCausalLM.from_pretrained(
7 model_path, torch_dtype="auto", device_map="auto", trust_remote_code=True
8)
9
10# default processer
11processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
12
13messages = [
14 {
15 "role": "user",
16 "content": [
17 {
18 "type": "image",
19 "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
20 },
21 {"type": "text", "text": "Describe this image."},
22 ],
23 }
24]
25
26# Preparation for inference
27text = processor.apply_chat_template(
28 messages, tokenize=False, add_generation_prompt=True
29)
30image_inputs, video_inputs = process_vision_info(messages)
31inputs = processor(
32 text=[text],
33 images=image_inputs,
34 videos=video_inputs,
35 padding=True,
36 return_tensors="pt",
37)
38inputs = inputs.to("cuda")
39
40# Inference: Generation of the output
41generated_ids = model.generate(**inputs, max_new_tokens=1024)
42generated_ids_trimmed = [
43 out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
44]
45output_text = processor.batch_decode(
46 generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
47)
48print(output_text)@inproceedings{LLaVA-OneVision-1.5,
title={LLaVA-OneVision-1.5: Fully Open Framework for Democratized Multimodal Training},
author={LLaVA Community Contributors},
booktitle={arxiv},
year={2025}
}
@inproceedings{xie2025region,
title={Region-based Cluster Discrimination for Visual Representation Learning},
author={Xie, Yin and Yang, Kaicheng and An, Xiang and Wu, Kun and Zhao, Yongle and Deng, Weimo and Ran, Zimin and Wang, Yumeng and Feng, Ziyong and Miles, Roy and Elezi, Ismail and Deng, Jiankang},
booktitle={ICCV},
year={2025}
}
@article{lillava,
title={LLaVA-OneVision: Easy Visual Task Transfer},
author={Li, Bo and Zhang, Yuanhan and Guo, Dong and Zhang, Renrui and Li, Feng and Zhang, Hao and Zhang, Kaichen and Zhang, Peiyuan and Li, Yanwei and Liu, Ziwei and Li, Chunyuan},
journal={Transactions on Machine Learning Research}
year={2024}
}