huggingface/nanoVLM resource
The simplest, fastest repository for training/finetuning small-sized VLMs. observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 49
- Release rhythm 40
- Longevity 34
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 15
- age_days: 488
- days_rel: 455
- days_push: 310
- n_releases_24m: 2
Adoption not part of the score
4997 stars · 507 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
nanoVLM is a minimal, readable pure-PyTorch repository (~750 lines) for training and finetuning small Vision-Language Models, inspired by nanoGPT. It combines a SigLIP vision backbone with a SmolLM2 language decoder and includes a simple training loop, primarily serving as an educational codebase.
Use cases
- train a small vision-language model from scratch
- learn how VLMs work by reading a minimal implementation
- finetune a multimodal model on custom image-text data
- understand how vision and language embeddings are combined
- reproduce a 222M-parameter VLM on a single GPU
- use as a starting codebase for multimodal model experiments
When to choose
- you want a readable, hackable educational codebase for VLM training
- you have a GPU and want to train a small multimodal model quickly
- you're learning how vision transformers and language decoders connect
- you prefer pure PyTorch over heavy training frameworks
When to avoid
- you need a production-ready or SOTA multimodal model
- you want polished support scripts, notebooks, and stable APIs (recent breaking changes broke some)
- you need multi-node distributed training out of the box without tweaking
- you want a pretrained VLM for inference rather than training
Facets
learning-resource · maturity active
llm-training machine-learning deep-learning large-language-models computer-vision deep-learning education python vision-language-model pytorch educational nanogpt-style finetuning multimodal gpu
1 source
- readme: https://github.com/huggingface/nanoVLM · fetched 2026-08-28 · e44d7082f432
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| huggingface/nanoVLM | main | 43 |
For agents
markdown · JSON · MCP: product_card(name="huggingface/nanoVLM")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem