AI SeedbankHelp preserve open and free AI for humanity's future

← All models

HuggingFaceTB_SmolVLM-500M-Instruct

HuggingFaceTB · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 2 · Leechers: 0

Observed 2026-09-05T20:48:33Z across trackers.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


library_name: transformers license: apache-2.0 datasets:

  • HuggingFaceM4/the_cauldron
  • HuggingFaceM4/Docmatix pipeline_tag: image-text-to-text language:
  • en base_model:
  • HuggingFaceTB/SmolLM2-360M-Instruct
  • google/siglip-base-patch16-512

SmolVLM-500M

SmolVLM-500M is a tiny multimodal model, member of the SmolVLM family. It accepts arbitrary sequences of image and text inputs to produce text outputs. It's designed for efficiency. SmolVLM can answer questions about images, describe visual content, or transcribe text. Its lightweight architecture makes it suitable for on-device applications while maintaining strong performance on multimodal tasks. It can run inference on one image with 1.23GB of GPU RAM.

Model Summary

  • Developed by: Hugging Face 🤗
  • Model type: Multi-modal model (image+text)
  • Language(s) (NLP): English
  • License: Apache 2.0
  • Architecture: Based on Idefics3 (see technical summary)

Resources

Uses

SmolVLM can be used for inference on multimodal (image + text) tasks where the input comprises text queries along with one or more images. Text and images can be interleaved arbitrarily, enabling tasks like image captioning, visual question answering, and storytelling based on visual content. The model does not support image generation.

To fine-tune SmolVLM on a specific task, you can follow the fine-tuning tutorial.

Evaluation

Technical Summary

SmolVLM leverages the lightweight SmolLM2 language model to provide a compact yet powerful multimodal experience. It introduces several changes compared to the larger SmolVLM 2.2B model:

  • Image compression: We introduce a more radical image compression compared to Idefics3 and SmolVLM-2.2B to enable the model to infer faster and use less RAM.
  • Visual Token Encoding: SmolVLM-256 uses 64 visual tokens to encode image patches of size 512×512. Larger images are divided into patches, each encoded separately, enhancing efficiency without compromising performance.
  • New special tokens: We added new special tokens to divide the subimages. This allows for more efficient tokenization of the images.
  • Smoller vision encoder: We went from a 400M parameter siglip vision encoder to a much smaller 93M encoder.
  • Larger image patches: We are now passing patches of 512x512 to the vision encoder, instead of 384x384 like the larger SmolVLM. This allows the information to be encoded more efficiently.

More details about the training and architecture are available in our technical report.

How to get started

You can use transformers to load, infer and fine-tune SmolVLM.

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-500M-Instruct")
model = AutoModelForVision2Seq.from_pretrained(
    "HuggingFaceTB/SmolVLM-500M-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 cityscape featuring a prominent landmark, the Statue of Liberty, prominently positioned on Liberty Island. The statue is a green, humanoid figure with a crown atop its head and is situated on a small island surrounded by water. The statue is characterized by its large, detailed structure, with a statue of a woman holding a torch above her head and a tablet in her left hand. The statue is surrounded by a small, rocky island, which is partially visible in the foreground.
In the background, the cityscape is dominated by numerous high-rise buildings, which are densely packed and vary in height. The buildings are primarily made of glass and steel, reflecting the sunlight and creating a bright, urban skyline. The skyline is filled with various architectural styles, including modern skyscrapers and older, more traditional buildings.
The water surrounding the island is calm, with a few small boats visible, indicating that the area is likely a popular tourist destination. The water is a deep blue, suggesting that it is a large body of water, possibly a river or a large lake.
In the foreground, there is a small strip of land with trees and grass, which adds a touch of natural beauty to the urban landscape. The trees are green, indicating that it is likely spring or summer.
The image captures a moment of tranquility and reflection, as the statue and the cityscape come together to create a harmonious and picturesque scene. The statue's presence in the foreground draws attention to the city's grandeur, while the calm water and natural elements in the background provide a sense of peace and serenity.
In summary, the image showcases the Statue of Liberty, a symbol of freedom and democracy, set against a backdrop of a bustling cityscape. The statue is a prominent and iconic representation of human achievement, while the cityscape is a testament to human ingenuity and progress. The image captures the beauty and complexity of urban life, with the statue serving as a symbol of hope and freedom, while the cityscape provides a glimpse into the modern world.
"""

Model optimizations

Precision: For better performance, load and run the model in half-precision (torch.bfloat16) if your hardware supports it.

from transformers import AutoModelForVision2Seq
import torch

model = AutoModelForVision2Seq.from_pretrained(
    "HuggingFaceTB/SmolVLM-Instruct",
    torch_dtype=torch.bfloat16
).to("cuda")

You can also load SmolVLM with 4/8-bit quantization using bitsandbytes, torchao or Quanto. Refer to this page for other options.

from transformers import AutoModelForVision2Seq, BitsAndBytesConfig
import torch

quantization_config = BitsAndBytesConfig(load_in_8bit=True)
model = AutoModelForVision2Seq.from_pretrained(
    "HuggingFaceTB/SmolVLM-Instruct",
    quantization_config=quantization_config,
)

Vision Encoder Efficiency: Adjust the image resolution by setting size={"longest_edge": N*512} when initializing the processor, where N is your desired value. The default N=4 works well, which results in input images of size 2048×2048. Decreasing N can save GPU memory and is appropriate for lower-resolution images. This is also useful if you want to fine-tune on videos.

Misuse and Out-of-scope Use

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)
    • Critical automated decision-making
    • Generating unreliable factual content
  • Malicious Activities:
    • Spam generation
    • Disinformation campaigns
    • Harassment or abuse
    • Unauthorized surveillance

License

SmolVLM is built upon SigLIP as image encoder and SmolLM2 for text decoder part.

We release the SmolVLM checkpoints under the Apache 2.0 license.

Training Details

Training Data

The training data comes from The Cauldron and Docmatix datasets, with emphasis on document understanding (25%) and image captioning (18%), while maintaining balanced coverage across other crucial capabilities like visual reasoning, chart comprehension, and general instruction following.

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}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:9e1829a6f02c0a7ee3625cf69dc0b06232aa39ab&dn=HuggingFaceTB_SmolVLM-500M-Instruct

Open magnet in torrent client · infohash 9e1829a6f02c0a7ee3625cf69dc0b06232aa39ab

Files & hashes

PathSizesha1sha256
README.md9.7 KB (9,918 B)add86ea016316649eff3ec3707f81e03c166abd18465c1a46b0db5d5d0d0945df04032d1b405bb2fa12cdab3da1652bd75fca4b9
added_tokens.json4.6 KB (4,739 B)71dc811700b6aa9274d3697ee7d4fb2d5375e76674135b8664b56088c0006f1c8e848d79a8eba003411f72ebf1dc2ee96227be3a
chat_template.json429 B (429 B)214a30563adf9598b26cdd3ad3bbafca9d7af45da68ad1a42681ae44eacd109ff8dd56a840f761c03d72f4ff4c515d092f882168
config.json7.2 KB (7,339 B)d2a7bdf9e204095994fa15a3160a28e4c1fbd505daacbbca6af3c34e50466c72aed2df4553a08084f6a0551d4ae420a241cb66c6
generation_config.json136 B (136 B)14051e31eab5938a09976bf8c3e4769491f53a80067a2a54e5f87162ecac6e0e911cc4665fc8f7f3324794ecbac0f76badb56636
merges.txt455.5 KB (466,391 B)69503b13f727ba3812b6803e97442a6de05ef5eb0b54e8aa4e53d5383e2e4bc635a56b43f9647f7b13832d5d9ecd8f82dac4f510
model.safetensors968.0 MB (1,015,025,832 B)fa85cd260adc3117c9bf5ff20e9c11a4752650e6d05b567eeaf534e83d375551f068ed57b5f52d37c657197f644af5ef9db091a2
preprocessor_config.json486 B (486 B)893236748032d4bf033823d6a4a0d62b78b6bc0e6cb6e36d6fcb88ca1502c4a26750715dc3e7dedddc9a8f17b27d8d167d1457e7
processor_config.json68 B (68 B)b3b1deadd0e6e18c2070fdb0c29074892ea58ffee7bff42da73ae9eec9042ef20e066e11f1ee20f025358ff79131e3c0fb549b46
special_tokens_map.json1.0 KB (1,069 B)647565708c361dc42350b5c7b79c46a4ff153b18aa0ff906077086dfa9734a7f97f68c825877a48f9468807be65504495cdeef09
tokenizer.json3.4 MB (3,548,256 B)a4005d1cf3170a31600a5c96f95768166cbc2b285ece781dc8d2b2f3e2f289ca0ae50b17cfc27dd27bfe7971bb8241e0b964331a
tokenizer_config.json27.6 KB (28,249 B)c85c07d72e6ffca6b6ff138a8e8f09ae65740bfb36c6fd44d07d10fd8180ee6b46dcccf69fb7c06753968ff0d7e17b8bfe17b777
vocab.json781.9 KB (800,662 B)0ad5ecc2035b7031b88afb544ee95e2d49baa48482b84012e3add4d01d12ba14442026e49b8cbbaead1f79ecf3d919784f82dc79

Cite this release

Canonical URL
https://aiseedbank.org/models/HuggingFaceTB_SmolVLM-500M-Instruct/
Slug
HuggingFaceTB_SmolVLM-500M-Instruct
Infohash
9e1829a6f02c0a7ee3625cf69dc0b06232aa39ab
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: HuggingFaceTB_SmolVLM-500M-Instruct.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryHuggingFaceTB/SmolVLM-500M-Instruct
Revision (pinned)a7da5b986cb59b408707209984f360a5f4ad7e47
Fetched at2026-08-24T00:49:01Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-08-24T00:49:40Z

apache-2.0972.6 MB (1,019,893,574 bytes)transformersonnxsafetensorsidefics3image-text-to-textconversationalendpoints_compatible1 language (en)paper: 2504.05299