SmolVLM-256M-Instruct
Hugging Face · HuggingFaceTB/SmolVLM-256M-Instruct
Weights license: Apache 2.0 · code and components may use other terms
Quality
No comparable score
We track no public, comparable benchmark that covers this model yet. No score is inferred.
Reported by the publisher
Every reported result
- DocVQA Val
- 58.3
Values as printed on the card, with the publisher's own settings (card section: Evaluation); column “256M”. Not comparable across publishers and not used in any ranking. Model card
Runs on
Fast memory holds it 119
The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.
Show all 119
Hardware profiles grouped by the Q4 planning estimate on each machine (dedicated GPUs reserve 2 GB; unified and system memory 25%, 2 to 8 GB): the fast memory holds it, it is within memory but outside the fast part (layers offloaded to PC RAM, or above the macOS GPU share), or the machine is one memory tier short. Not a measured fit or speed.
Hugging Face released SmolVLM-256M-Instruct on 2025-01-23: a vision-language model that answers about images, with 300M parameters on the Hugging Face count and the Apache 2.0 license. Languages the publisher declares: en.
License: commercial use allowed. At Q4 the weights load about 0.2 GB before each machine's reserve; image resolution, video frames and context add memory, and the vision encoder needs support in the runtime you pick.
Measured speed
No published measurement for this checkpoint
Tokens per second are shown only when a source publishes them with hardware, build and setup. They are never estimated.
How to run
Runtime compatibility and tokens per second have not been measured for this entry. Published metadata and a memory estimate do not prove a successful local run.
Library in source: transformers
Documented ways to run it
Copied as printed in the linked source (read 2026-10-18); not run by this site.
import torch
from PIL import Image
from transformers import AutoProcessor, AutoModelForVision2Seq
from transformers.image_utils import load_image
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
# Load images
image = load_image("https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg")
# Initialize processor and model
processor = AutoProcessor.from_pretrained("HuggingFaceTB/SmolVLM-256M-Instruct")
model = AutoModelForVision2Seq.from_pretrained(
"HuggingFaceTB/SmolVLM-256M-Instruct",
torch_dtype=torch.bfloat16,
_attn_implementation="flash_attention_2" if DEVICE == "cuda" else "eager",
).to(DEVICE)
# Create input messages
messages = [
{
"role": "user",
"content": [
{"type": "image"},
{"type": "text", "text": "Can you describe this image?"}
]
},
]
# Prepare inputs
prompt = processor.apply_chat_template(messages, add_generation_prompt=True)
inputs = processor(text=prompt, images=[image], return_tensors="pt")
inputs = inputs.to(DEVICE)
# Generate outputs
generated_ids = model.generate(**inputs, max_new_tokens=500)
generated_texts = processor.batch_decode(
generated_ids,
skip_special_tokens=True,
)
print(generated_texts[0])
"""
Assistant: The image depicts a large, historic statue of liberty, located in New York City. The statue is a green, cylindrical structure with a human figure at the top, holding a torch. The statue is situated on a pedestal that resembles the statue of liberty, which is located on a small island in the middle of a body of water. The water surrounding the island is calm, reflecting the blue sky and the statue.
In the background, there are several tall buildings, including the Empire State Building, which is visible in the distance. These buildings are made of glass and steel, and they are positioned in a grid-like pattern, giving them a modern look. The sky is clear, with a few clouds visible, indicating fair weather.
The statue is surrounded by trees, which are green and appear to be healthy. There are also some small structures, possibly houses or buildings, visible in the distance. The overall scene suggests a peaceful and serene environment, typical of a cityscape.
The image is taken during the daytime, likely during the day of the statue's installation. The lighting is bright, casting a strong shadow on the statue and the water, which enhances the visibility of the statue and the surrounding environment.
To summarize, the image captures a significant historical statue of liberty, situated on a small island in the middle of a body of water, surrounded by trees and buildings. The sky is clear, with a few clouds visible, indicating fair weather. The statue is green and cylindrical, with a human figure holding a torch, and is surrounded by trees, indicating a peaceful and well-maintained environment. The overall scene is one of tranquility and historical significance.
"""Technical details
What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.
- Checkpoint / source
- HuggingFaceTB/SmolVLM-256M-Instruct
- Task
- image-text-to-text
- Architecture
- Idefics3ForConditionalGeneration
- Library in source
- transformers
- Weight license
- Apache 2.0HuggingFaceTB/SmolVLM-256M-Instruct model card (Hugging Face) · read 2026-10-18source
- Commercial use
- Allowed Apache License 2.0 text (SPDX) · read 2026-10-18license text
- Languages
- enModel card metadata · read 2026-10-25source
- Released
- SmolVLM Grows Smaller - Introducing the 256M & 500M Models - Hugging Face (publisher) blog · read 2026-10-18source
Every stored field
- Revision checked
- 7e3e67edbbed1bf9888184d9df282b700a323964
- Architecture
- Idefics3ForConditionalGeneration
- Library
- transformers
- Hub task tag
- image-text-to-text
- Declared base models
- HuggingFaceTB/SmolLM2-135M-Instruct · google/siglip-base-patch16-512
- Formats
- transformers, onnx, safetensors
- Access
- Open download
- Publisher kind
- Official
- Repository created
- 2025-01-17creation is not the model's release
- Repository updated
- 2025-04-08a commit is not a release date
- Hub downloads (30 days) · likes
- 191,352 · 423this repository only · read 2026-10-25
- Catalog state
- Hub config or weights found; no inventory benchmark link
Sources
Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.
- Publisher model card
- License: HuggingFaceTB/SmolVLM-256M-Instruct model card (Hugging Face)
- Release date: SmolVLM Grows Smaller - Introducing the 256M & 500M Models - Hugging Face (publisher) blog
Curated facts checked: 2026-10-18. The license and release date cite the publisher's sources; parameters, files and task come from the Hugging Face record, and memory is a labelled estimate from its parameter count. A value no source states stays empty; a repository commit is not a model release date.






























































