Image-Text-to-Text
Transformers
Safetensors
English
dream-vl
feature-extraction
vlm
multimodal
pretraining
diffusion
conversational
custom_code
Instructions to use Dream-org/Dream-VL-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dream-org/Dream-VL-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Dream-org/Dream-VL-7B", trust_remote_code=True) 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)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Dream-org/Dream-VL-7B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Dream-org/Dream-VL-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Dream-org/Dream-VL-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dream-org/Dream-VL-7B", "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/Dream-org/Dream-VL-7B
- SGLang
How to use Dream-org/Dream-VL-7B 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 "Dream-org/Dream-VL-7B" \ --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": "Dream-org/Dream-VL-7B", "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 "Dream-org/Dream-VL-7B" \ --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": "Dream-org/Dream-VL-7B", "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 Dream-org/Dream-VL-7B with Docker Model Runner:
docker model run hf.co/Dream-org/Dream-VL-7B
Link model to paper and update metadata
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,14 +1,19 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- vlm
|
| 5 |
- image-text-to-text
|
| 6 |
- multimodal
|
| 7 |
- pretraining
|
| 8 |
-
|
| 9 |
-
language:
|
| 10 |
-
- en
|
| 11 |
-
pipeline_tag: image-text-to-text
|
| 12 |
---
|
| 13 |
|
| 14 |
# Dream-VL 7B
|
|
@@ -18,7 +23,7 @@ The model takes language instructions and images as input and generates language
|
|
| 18 |
|
| 19 |
All Dream-VL checkpoints, as well as our [training codebase](https://github.com/DreamLM/Dream-VLX) are released under an Apache 2.0 License.
|
| 20 |
|
| 21 |
-
For full details, please read [our blog](https://hkunlp.github.io/blog/2025/dream-vlx/) and paper (
|
| 22 |
|
| 23 |
## Model Summary
|
| 24 |
|
|
@@ -27,7 +32,7 @@ For full details, please read [our blog](https://hkunlp.github.io/blog/2025/drea
|
|
| 27 |
- **License:** apache-2.0
|
| 28 |
- **Finetuned from:** [`Dream-7B`](https://huggingface.co/Dream-org/Dream-v0-Instruct-7B), with Qwen2ViT Vision Backbone.
|
| 29 |
- **Pretraining Dataset:** [MAmmoTH-VL-Instruct-12M](https://huggingface.co/datasets/MAmmoTH-VL/MAmmoTH-VL-Instruct-12M).
|
| 30 |
-
- **Repository:** [https://github.com/DreamLM/
|
| 31 |
- **Project Page & Videos:** [https://hkunlp.github.io/blog/2025/dream-vlx](https://hkunlp.github.io/blog/2025/dream-vlx/)
|
| 32 |
|
| 33 |
## Getting Started
|
|
@@ -133,8 +138,8 @@ for j in range(len(messages)):
|
|
| 133 |
```bibtex
|
| 134 |
@article{ye2025dreamvla,
|
| 135 |
title={Dream-VL & Dream-VLA: Open Vision-Language and Vision-Language-Action Models with Diffusion Language Model Backbone},
|
| 136 |
-
author={Ye, Jiacheng and Gong, Shansan and Gao, Jiahui and Fan, Junming and Wu, Shuang and Bi, Wei and Bai, Haoli and Shang, Lifeng and Kong, Lingpeng},
|
| 137 |
-
journal={arXiv preprint},
|
| 138 |
year={2025}
|
| 139 |
}
|
| 140 |
```
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
library_name: transformers
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
pipeline_tag: image-text-to-text
|
| 7 |
+
base_model: Dream-org/Dream-v0-Instruct-7B
|
| 8 |
+
datasets:
|
| 9 |
+
- MAmmoTH-VL/MAmmoTH-VL-Instruct-12M
|
| 10 |
+
arxiv: 2512.22615
|
| 11 |
tags:
|
| 12 |
- vlm
|
| 13 |
- image-text-to-text
|
| 14 |
- multimodal
|
| 15 |
- pretraining
|
| 16 |
+
- diffusion
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# Dream-VL 7B
|
|
|
|
| 23 |
|
| 24 |
All Dream-VL checkpoints, as well as our [training codebase](https://github.com/DreamLM/Dream-VLX) are released under an Apache 2.0 License.
|
| 25 |
|
| 26 |
+
For full details, please read [our blog](https://hkunlp.github.io/blog/2025/dream-vlx/) and the paper: [Dream-VL & Dream-VLA: Open Vision-Language and Vision-Language-Action Models with Diffusion Language Model Backbone](https://huggingface.co/papers/2512.22615).
|
| 27 |
|
| 28 |
## Model Summary
|
| 29 |
|
|
|
|
| 32 |
- **License:** apache-2.0
|
| 33 |
- **Finetuned from:** [`Dream-7B`](https://huggingface.co/Dream-org/Dream-v0-Instruct-7B), with Qwen2ViT Vision Backbone.
|
| 34 |
- **Pretraining Dataset:** [MAmmoTH-VL-Instruct-12M](https://huggingface.co/datasets/MAmmoTH-VL/MAmmoTH-VL-Instruct-12M).
|
| 35 |
+
- **Repository:** [https://github.com/DreamLM/Dream-VLX](https://github.com/DreamLM/Dream-VLX)
|
| 36 |
- **Project Page & Videos:** [https://hkunlp.github.io/blog/2025/dream-vlx](https://hkunlp.github.io/blog/2025/dream-vlx/)
|
| 37 |
|
| 38 |
## Getting Started
|
|
|
|
| 138 |
```bibtex
|
| 139 |
@article{ye2025dreamvla,
|
| 140 |
title={Dream-VL & Dream-VLA: Open Vision-Language and Vision-Language-Action Models with Diffusion Language Model Backbone},
|
| 141 |
+
author={Ye, Jiacheng and Gong, Shansan and Gao, Jiahui and Fan, Junming and Wu, Shuang} and Bi, Wei and Bai, Haoli and Shang, Lifeng and Kong, Lingpeng},
|
| 142 |
+
journal={arXiv preprint arXiv:2512.22615},
|
| 143 |
year={2025}
|
| 144 |
}
|
| 145 |
```
|