2,364 Downloads Updated 8 months ago
ollama run richardyoung/smolvlm2-2.2b-instruct:Q5_K_M
Updated 8 months ago
8 months ago
afa3e0f6b9f7 ยท 1.3GB ยท
A compact, efficient vision-language model that understands both images and text. Built on SmolVLM2-2.2B-Instruct from Hugging Face, this GGUF build runs comfortably on consumer hardware while delivering strong multimodal performance for its size.
SmolVLM2-2.2B-Instruct is a small but capable multimodal model designed for image-and-text understanding. It pairs a shape-optimized SigLIP vision encoder with the SmolLM2-1.7B language backbone (architecture based on Idefics3), producing a ~2.2B-parameter model that punches well above its weight on captioning, visual question answering, document understanding, and visual reasoning.
These quantized GGUF builds make the model practical to run locally with Ollama and llama.cpp, from ultra-light 1.0 GB quants up to full-precision f16, so you can trade size against fidelity to fit your hardware.
Reported by the base model authors (HuggingFaceTB/SmolVLM2-2.2B-Instruct):
| Benchmark | Score |
|---|---|
| MMMU | 42.0 |
| MathVista | 51.5 |
| OCRBench | 72.9 |
| MMStar | 46.0 |
| AI2D | 70.0 |
| ChartQA (Test) | 68.84 |
| ScienceQA | 90.0 |
| TextVQA (Val) | 73.21 |
| DocVQA (Val) | 79.98 |
Scores reflect the original full-precision model; quantized builds may differ slightly.
| Tag | Size | BPW (approx.) | Notes |
|---|---|---|---|
| iq4_xs | 1.0 GB | ~4.25 | Smallest build; lowest memory use |
| latest | 1.1 GB | ~4.5 | Default tag (alias of Q4_K_M) |
| Q4_K_M | 1.1 GB | ~4.5 | Recommended balance of size and quality |
| Q5_K_M | 1.3 GB | ~5.5 | Higher fidelity, modest size increase |
| Q6_K | 1.5 GB | ~6.5 | Near-lossless quality |
| q8_0 | 1.9 GB | ~8.5 | Very high fidelity |
| f16 | 3.6 GB | 16 | Full precision; reference quality |
Pull and run the default build:
ollama run richardyoung/smolvlm2-2.2b-instruct
Run a specific quantization:
ollama run richardyoung/smolvlm2-2.2b-instruct:Q6_K
Ask a question about an image (Ollama supports image input directly):
ollama run richardyoung/smolvlm2-2.2b-instruct "Describe this image in detail." ./photo.jpg
| Build | Approx. RAM/VRAM | Best For |
|---|---|---|
| iq4_xs | ~2 GB | Edge devices, very constrained hardware |
| Q4_K_M | ~2โ3 GB | Laptops and most consumer GPUs |
| Q5_K_M | ~3 GB | Higher quality on mainstream hardware |
| Q6_K | ~3โ4 GB | Quality-focused local inference |
| q8_0 | ~4 GB | Near-reference output |
| f16 | ~5โ6 GB | Maximum fidelity / evaluation |
A modern CPU can run the smaller quants without a GPU; a GPU improves throughput, especially for image-heavy workloads.
| Property | Value |
|---|---|
| Base model | HuggingFaceTB/SmolVLM2-2.2B-Instruct |
| Parameters | ~2.2B |
| Architecture | Idefics3-based (SigLIP vision encoder + SmolLM2-1.7B) |
| Modality | Image + text in, text out |
| Context length | 8K tokens |
| Quantization | iq4_xs, Q4_K_M, Q5_K_M, Q6_K, q8_0, f16 (GGUF) |
| License | Apache 2.0 |
This is a multimodal (image + text) model. It can misread images, hallucinate details that are not present, misinterpret text in pictures, and produce confident but incorrect answers. Outputs should be verified before use, and the model is not intended for high-stakes scenarios or critical decision-making (for example medical, legal, financial, or safety-critical use). Do not submit private, sensitive, or confidential images or text that you are not comfortable processing locally. You are responsible for complying with applicable laws and the Apache 2.0 license when using this model.
Built & maintained by Richard Young ยท DeepNeuro