Downloads · 30 days
20
29% of all-time downloads
mlfoundations/dcvlm-2b-model
dcvlm-2b-model is a image-text-to-text model from mlfoundations. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
DCVLM-2B is the medium-scale reference 2B-parameter VLM from our DataComp-VLM paper, pretrained from scratch on DCVLM-Baseline.
Downloads · 30 days
20
29% of all-time downloads
All-time downloads
68
Public
Parameters
2.1B
4.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.2 GB · 100%
From the Hugging Face model README
DCVLM-2B is the medium-scale reference 2B-parameter VLM from our DataComp-VLM
paper, pretrained from scratch on DCVLM-Baseline.
⚠️ This is a pretrained (base) model, not an instruction-tuned assistant. It is released as a reproducible reference point for data-centric research: to compare pretraining datasets, and as an initialization for your own SFT. It has not been chat- or preference-tuned and should not be expected to follow instructions reliably.
| Scale | medium |
| Parameters ($N$) | 2B |
| Training tokens ($D$) | 25B |
| Architecture | InternVL-2.5 (InternVLChatModel) |
| Vision encoder | InternViT-300M-448px |
| Language model | Qwen/Qwen2.5-1.5B |
| Precision | bfloat16 |
| Training compute | ~640 H100 hours |
| Training data | DCVLM-Baseline |
| Data mixture | 10% captioning / 70% visual instruction / 15% text-only / 5% multimodal documents |
Core evaluation suite (33 tasks), compared against FineVision, the previous best open pretraining dataset, trained at the same scale with the same architecture and token budget.
| Method | Gen | Know | OCR | Vision | MTL | Text | Core Avg |
|---|---|---|---|---|---|---|---|
| FineVision | 55.3 | 62.6 | 51.9 | 45.8 | 40.6 | 46.3 | 50.6 |
| DCVLM-Baseline (this model) | 62.3 | 60.5 | 45.8 | 47.3 | 44.2 | 47.8 | 51.7 |
Categories: Gen general understanding · Know knowledge · OCR OCR & charts · Vision vision-centric · MTL multilingual · Text text-only.
The model uses custom modeling code, so trust_remote_code=True is required.
import torch
from transformers import AutoModel, AutoTokenizer
path = "mlfoundations/dcvlm-2b-model"
model = AutoModel.from_pretrained(
path, torch_dtype=torch.bfloat16, trust_remote_code=True, low_cpu_mem_usage=True
).eval().cuda()
tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True, use_fast=False)
Image preprocessing follows the standard InternVL-2.5 dynamic-tiling recipe
(448px tiles, max_dynamic_patch=12).
| Code | github.com/mlfoundations/dcvlm |
| Datasets | DCVLM-Baseline 6.25B · DCVLM-Baseline 200B · DCVLM-Balanced 200B |
| Models | 1B · 2B · 4B · 8B |
@article{farina2026datacomp,
title={DataComp-VLM: Improved Open Datasets for Vision-Language Models},
author={Farina, Matteo and Udandarao, Vishaal and Nguyen, Thao and Kuzucu, Selim and B{\"o}ther, Maximilian and Hochlehnert, Andreas and Ghosh, Adhiraj and Nezhurina, Marianna and Roth, Karsten and Struber, Joschka and others},
journal={arXiv preprint arXiv:2606.28551},
year={2026}
}