This is the base model for SmolVLM2-2.2B, a lightweight multimodal model designed to analyze video content. The model processes videos, images, and text inputs to generate text outputs - whether answering questions about media files, comparing visual content, or transcribing text from images. Despite its compact size, requiring only 5.2GB of GPU RAM for video inference, it delivers robust performance on complex multimodal tasks. This efficiency makes it particularly well-suited for on-device applications where computational resources may be limited.
Model Summary
Developed by:
Hugging Face 🤗
Model type:
Multi-modal model (image/multi-image/video/text)
Language(s) (NLP):
English
License:
Apache 2.0
Architecture:
Based on
Idefics3
(see technical summary)
SmolVLM2 can be used for inference on multimodal (video / image / text) tasks where the input consists of text queries along with video or one or more images. Text and media files can be interleaved arbitrarily, enabling tasks like captioning, visual question answering, and storytelling based on visual content. The model does not support image or video generation.
You can use transformers to load, infer and fine-tune SmolVLM. Make sure you have num2words, flash-attn and latest transformers installed.
You can load the model as follows.
from transformers import AutoProcessor, AutoModelForImageTextToText
import torch
model_path = "HuggingFaceTB/SmolVLM2-2.2B-Base"
processor = AutoProcessor.from_pretrained(model_path)
model = AutoModelForImageTextToText.from_pretrained(
model_path,
torch_dtype=torch.bfloat16,
_attn_implementation="flash_attention_2"
).to("cuda")
Simple Inference
You preprocess your inputs directly using chat templates and directly passing them
SmolVLM is not intended for high-stakes scenarios or critical decision-making processes that affect an individual's well-being or livelihood. The model may produce content that appears factual but may not be accurate. Misuse includes, but is not limited to:
Prohibited Uses:
Evaluating or scoring individuals (e.g., in employment, education, credit)
We release the SmolVLM2 checkpoints under the Apache 2.0 license.
Citation information
You can cite us in the following way:
@article{marafioti2025smolvlm,
title={SmolVLM: Redefining small and efficient multimodal models},
author={Andrés Marafioti and Orr Zohar and Miquel Farré and Merve Noyan and Elie Bakouch and Pedro Cuenca and Cyril Zakka and Loubna Ben Allal and Anton Lozhkov and Nouamane Tazi and Vaibhav Srivastav and Joshua Lochner and Hugo Larcher and Mathieu Morlon and Lewis Tunstall and Leandro von Werra and Thomas Wolf},
journal={arXiv preprint arXiv:2504.05299},
year={2025}
}
Runs of HuggingFaceTB SmolVLM2-2.2B-Base on huggingface.co
251
Total runs
0
24-hour runs
17
3-day runs
29
7-day runs
29
30-day runs
More Information About SmolVLM2-2.2B-Base huggingface.co Model
SmolVLM2-2.2B-Base huggingface.co is an AI model on huggingface.co that provides SmolVLM2-2.2B-Base's model effect (), which can be used instantly with this HuggingFaceTB SmolVLM2-2.2B-Base model. huggingface.co supports a free trial of the SmolVLM2-2.2B-Base model, and also provides paid use of the SmolVLM2-2.2B-Base. Support call SmolVLM2-2.2B-Base model through api, including Node.js, Python, http.
SmolVLM2-2.2B-Base huggingface.co is an online trial and call api platform, which integrates SmolVLM2-2.2B-Base's modeling effects, including api services, and provides a free online trial of SmolVLM2-2.2B-Base, you can try SmolVLM2-2.2B-Base online for free by clicking the link below.
HuggingFaceTB SmolVLM2-2.2B-Base online free url in huggingface.co:
SmolVLM2-2.2B-Base is an open source model from GitHub that offers a free installation service, and any user can find SmolVLM2-2.2B-Base on GitHub to install. At the same time, huggingface.co provides the effect of SmolVLM2-2.2B-Base install, users can directly use SmolVLM2-2.2B-Base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.