Improve model card for LLaVA-OneVision-1.5 with paper, code, project links, and sample usage
#1
by
nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,52 +1,130 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
datasets:
|
| 4 |
-
- lmms-lab/LLaVA-One-Vision-1.5-Mid-Training-85M
|
| 5 |
base_model:
|
| 6 |
- Qwen/Qwen3-8B-Base
|
| 7 |
- DeepGlint-AI/rice-vit-large-patch14-560
|
| 8 |
-
|
|
|
|
| 9 |
library_name: transformers
|
|
|
|
|
|
|
| 10 |
---
|
|
|
|
| 11 |
# LLaVA-OneVision-1.5: Fully Open-Source State-of-the-Art VLM Model
|
| 12 |
|
| 13 |
-
**LLaVA-OneVision1.5** introduces a novel family of **fully open-source** Large Multimodal Models (LMMs) that achieves **state-of-the-art performance**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
- **Superior Performance**
|
| 16 |
-
A family of fully open-source large multimodal models demonstrating
|
| 17 |
-
- Superior performance across multiple multimodal benchmarks
|
| 18 |
-
- outperforming **Qwen2.5-VL** in most evaluation tasks.
|
| 19 |
|
| 20 |
-
- **
|
| 21 |
-
|
| 22 |
-
-
|
| 23 |
-
-
|
|
|
|
| 24 |
|
| 25 |
-
|
| 26 |
-
- $16000 total budget for full model training on A100 GPUs ($0.6 per GPU/Hour)
|
| 27 |
-
- 45% HFU efficiency in 8k context length
|
| 28 |
-
- Built on **MegatronLM** with support for **MoE**, **FP8**, and **long sequence parallelization**
|
| 29 |
-
- Optimized codebase for cost-effective scaling
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
## Citation
|
| 39 |
|
| 40 |
If you find *LLaVA-OneVision-1.5* useful in your research, please consider to cite the following related papers:
|
| 41 |
|
| 42 |
```
|
| 43 |
-
@
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
}
|
| 52 |
```
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- Qwen/Qwen3-8B-Base
|
| 4 |
- DeepGlint-AI/rice-vit-large-patch14-560
|
| 5 |
+
datasets:
|
| 6 |
+
- lmms-lab/LLaVA-One-Vision-1.5-Mid-Training-85M
|
| 7 |
library_name: transformers
|
| 8 |
+
license: apache-2.0
|
| 9 |
+
pipeline_tag: image-text-to-text
|
| 10 |
---
|
| 11 |
+
|
| 12 |
# LLaVA-OneVision-1.5: Fully Open-Source State-of-the-Art VLM Model
|
| 13 |
|
| 14 |
+
**LLaVA-OneVision1.5** introduces a novel family of **fully open-source** Large Multimodal Models (LMMs) that achieves **state-of-the-art performance** with substantially **lower cost** through training on **native resolution** images.
|
| 15 |
+
|
| 16 |
+
**Paper**: [LLaVA-OneVision-1.5: Fully Open Framework for Democratized Multimodal Training](https://huggingface.co/papers/2509.23661)
|
| 17 |
+
**Code**: [https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-1.5](https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-1.5)
|
| 18 |
+
**Project Page (Models & Datasets Collection)**: [https://huggingface.co/collections/lmms-lab/llava-onevision-15-68d385fe73b50bd22de23713](https://huggingface.co/collections/lmms-lab/llava-onevision-15-68d385fe73b50bd22de23713)
|
| 19 |
+
**Demo**: [https://huggingface.co/spaces/lmms-lab/LLaVA-OneVision-1.5](https://huggingface.co/spaces/lmms-lab/LLaVA-OneVision-1.5)
|
| 20 |
+
|
| 21 |
+
- **Superior Performance**
|
| 22 |
+
A family of fully open-source large multimodal models demonstrating
|
| 23 |
+
- Superior performance across multiple multimodal benchmarks
|
| 24 |
+
- outperforming **Qwen2.5-VL** in most evaluation tasks.
|
| 25 |
+
|
| 26 |
+
- **High-Quality Data at Scale**
|
| 27 |
+
Meticulously curated **pre-training and SFT data** with rigorous filtering and quality control, achieving **superior data efficiency** with only **64B tokens**.
|
| 28 |
+
- Concept-balanced, highly diverse, high-quality caption data
|
| 29 |
+
- Comprehensive instruction fine-tuning data covering a wide range of tasks
|
| 30 |
+
|
| 31 |
+
- **Ultra-Efficient Training Framework** Complete end-to-end training framework designed for maximum efficiency:
|
| 32 |
+
- $16000 total budget for full model training on A100 GPUs ($0.6 per GPU/Hour)
|
| 33 |
+
- 45% HFU efficiency in 8k context length
|
| 34 |
+
- Built on **MegatronLM** with support for **MoE**, **FP8**, and **long sequence parallelization**
|
| 35 |
+
- Optimized codebase for cost-effective scaling
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
+
- **Fully Open Framework** for community access and reproducibility:
|
| 39 |
+
- High-quality pre-training & SFT data
|
| 40 |
+
- Complete training framework & code
|
| 41 |
+
- Training recipes & configurations
|
| 42 |
+
- Comprehensive training logs & metrics
|
| 43 |
|
| 44 |
+
## Quick Start with HuggingFace
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
```python
|
| 47 |
+
from transformers import AutoTokenizer, AutoProcessor, AutoModelForCausalLM
|
| 48 |
+
from qwen_vl_utils import process_vision_info
|
| 49 |
+
model_path = "lmms-lab/LLaVA-OneVision-1.5-8B-Instruct"
|
| 50 |
|
| 51 |
+
# default: Load the model on the available device(s)
|
| 52 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 53 |
+
model_path, torch_dtype="auto", device_map="auto", trust_remote_code=True
|
| 54 |
+
)
|
| 55 |
+
|
| 56 |
+
# default processer
|
| 57 |
+
processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
|
| 58 |
+
|
| 59 |
+
messages = [
|
| 60 |
+
{
|
| 61 |
+
"role": "user",
|
| 62 |
+
"content": [
|
| 63 |
+
{
|
| 64 |
+
"type": "image",
|
| 65 |
+
"image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
|
| 66 |
+
},
|
| 67 |
+
{"type": "text", "text": "Describe this image."},
|
| 68 |
+
],
|
| 69 |
+
}
|
| 70 |
+
]
|
| 71 |
+
|
| 72 |
+
# Preparation for inference
|
| 73 |
+
text = processor.apply_chat_template(
|
| 74 |
+
messages, tokenize=False, add_generation_prompt=True
|
| 75 |
+
)
|
| 76 |
+
image_inputs, video_inputs = process_vision_info(messages)
|
| 77 |
+
inputs = processor(
|
| 78 |
+
text=[text],
|
| 79 |
+
images=image_inputs,
|
| 80 |
+
videos=video_inputs,
|
| 81 |
+
padding=True,
|
| 82 |
+
return_tensors="pt",
|
| 83 |
+
)
|
| 84 |
+
inputs = inputs.to("cuda")
|
| 85 |
+
|
| 86 |
+
# Inference: Generation of the output
|
| 87 |
+
generated_ids = model.generate(**inputs, max_new_tokens=1024)
|
| 88 |
+
generated_ids_trimmed = [
|
| 89 |
+
out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
|
| 90 |
+
]
|
| 91 |
+
output_text = processor.batch_decode(
|
| 92 |
+
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
|
| 93 |
+
)
|
| 94 |
+
print(output_text)
|
| 95 |
+
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
## Evaluation Results
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
All evaluations were conducted using lmms_eval.
|
| 102 |
+
|
| 103 |
+

|
| 104 |
|
| 105 |
## Citation
|
| 106 |
|
| 107 |
If you find *LLaVA-OneVision-1.5* useful in your research, please consider to cite the following related papers:
|
| 108 |
|
| 109 |
```
|
| 110 |
+
@inproceedings{LLaVA-OneVision-1.5,
|
| 111 |
+
title={LLaVA-OneVision-1.5: Fully Open Framework for Democratized Multimodal Training},
|
| 112 |
+
author={An, Xiang and Xie, Yin and Yang, Kaicheng and Zhang, Wenkang and Zhao, Xiuwei and Cheng, Zheng and Wang, Yirui and Xu, Songcen and Chen, Changrui and Wu, Chunsheng and Tan, Huajie and Li, Chunyuan and Yang, Jing and Jie Yu and Wang, Xiyao and Qin, Bin and Wang, Yumeng and Yan, Zizhen and Feng, Ziyong and Liu, Ziwei and Li, Bo and Deng, Jiankang},
|
| 113 |
+
booktitle={arxiv},
|
| 114 |
+
year={2025}
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
@inproceedings{xie2025region,
|
| 118 |
+
title={Region-based Cluster Discrimination for Visual Representation Learning},
|
| 119 |
+
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},
|
| 120 |
+
booktitle={ICCV},
|
| 121 |
+
year={2025}
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
@article{lillava,
|
| 125 |
+
title={LLaVA-OneVision: Easy Visual Task Transfer},
|
| 126 |
+
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},
|
| 127 |
+
journal={Transactions on Machine Learning Research}
|
| 128 |
+
year={2024}
|
| 129 |
}
|
| 130 |
```
|