Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 23 min read Deep dive easyNovice

Vision Language Models (Better, faster, stronger)

Vision language models shifted over the past year toward smaller yet stronger models, any-to-any architectures, multimodal reasoning, Mixture-of-Experts decoders and vision-language-action models for robotics. Specialized capabilities matured: detection, segmentation and counting via localization tokens (PaliGemma, Molmo, Qwen2.5-VL), multimodal safety filters (ShieldGemma 2, Llama Guard 4), and multimodal RAG that skips brittle PDF parsing using DSE or ColBERT-style retrievers such as ColPali. Small models like SmolVLM and gemma-3-4b-it can run locally through MLX and llama.cpp with one-line commands, and MoE decoders trade higher memory for faster inference.

Assumes: transformer basicsvision language model basicsretrieval-augmented generation

Related posts

  • SmolVLA: Efficient Vision-Language-Action Model trained on Lerobot Community Data

    Hugging Face hardMaster

    SmolVLA is a 450M-parameter open-source vision-language-action model for robotics, pretrained on about 10M frames from 487 curated LeRobot community datasets and able to run on consumer hardware. It pairs a SmolVLM2 backbone with a ~100M flow-matching action expert. Efficiency comes from limiting each frame to 64 visual tokens via PixelShuffle, using features from only the first half of the VLM's layers, and interleaving cross- and self-attention in the action expert. An asynchronous inference stack overlaps action execution with remote chunk prediction, giving about 30% faster response and 2× task throughput, and the model outperforms larger VLAs and ACT on LIBERO, Meta-World and real SO100/SO101 tasks.

  • SmolVLM - small yet mighty Vision Language Model

    Hugging Face hardMaster

    SmolVLM is a 2B-parameter open vision language model built on the Idefics3 architecture with a SmolLM2 1.7B backbone. It uses 9x pixel-shuffle compression so each 384x384 patch becomes just 81 tokens. A test prompt plus image encodes to 1.2k tokens versus 16k for Qwen2-VL, giving 5 GB minimum GPU RAM, 3.3-4.5x faster prefill and 7.5-16x faster generation, at modestly lower benchmark scores. Training details cover extending context to 16k by raising the RoPE base to 273k, choosing checkpoints with a weighted benchmark metric, and fine-tuning with QLoRA on a ~16 GB L4 or DPO via TRL.

  • Vision Language Models Explained

    Hugging Face mediumAdept

    Vision language models combine an image encoder, a projector that aligns image features with text embeddings, and a text decoder that generates text from both inputs. LLaVA trains in two stages: first only the projector with the encoder and decoder frozen, then the projector together with an unfrozen decoder. KOSMOS-2 instead trains end to end, and Fuyu-8B skips the image encoder entirely. The guide compares open VLMs by license, size and resolution, explains model selection via Vision Arena, the Open VLM Leaderboard and benchmarks like MMMU and MMBench, then shows inference with transformers' LlavaNext and supervised fine-tuning of Llava 1.5 using TRL's new experimental VLM support in SFTTrainer.

  • SmolVLM Grows Smaller – Introducing the 256M & 500M Models!

    Hugging Face easyNovice

    SmolVLM-256M and SmolVLM-500M are new vision language models, with the 256M model billed as the smallest VLM released and reported to outperform the 17-month-old Idefics 80B. Key design changes from SmolVLM 2B: a 93M SigLIP base patch-16/512 encoder in place of SigLIP 400M SO, because the larger encoder gave only marginal gains; higher image resolution; a data mix weighted toward document understanding (41%) and captioning (14%); and more aggressive pixel shuffle at 4096 pixels per token. Sub-image separator strings such as <row_1_col_1> are now single special tokens instead of 7 tokens, which improved training stability and result quality. Base and instruct checkpoints ship for transformers, MLX and ONNX/WebGPU, alongside ColSmolVLM retrieval variants.

  • PaliGemma – Google's Cutting-Edge Open Vision Language Model

    Hugging Face mediumAdept

    PaliGemma is Google's open vision-language model family that pairs a SigLIP-So400m image encoder with a Gemma-2B text decoder through a linear projector. It ships as pretrained, mix and task-specific fine-tuned checkpoints at 224, 448 and 896 resolutions. Behaviour is steered with task prefixes such as "detect" and "segment", and detections come back as <loc> tokens normalized to 1024. Images become 256 to 4096 prefix tokens with full attention over the image and prompt, so higher resolutions cost much more memory while helping mainly fine-grained tasks like OCR. The post includes transformers code for inference, 4-bit loading, and fine-tuning the decoder with full training or QLoRA, plus big_vision transfer configs.

The quest for software engineering knowledge.

Look:
Layout: