Visual Salamandra: Pushing the Boundaries of Multimodal Understanding
Visual Salamandra extends the 7B-parameter Salamandra Instructed LLM to images and video using a late-fusion design: a SigLIP-So400m encoder (384x384, patch 14) feeds a 2-layer MLP projector into the language model. Training runs in four phases: projector-only pretraining, joint high-quality vision pretraining, instruction tuning on VQA/OCR tasks, and full multimodal tuning with multi-image, video and text-only data. In total it uses 6.1M instruction instances (842K text-only) from sources like AI2D, Cambrian and LLaVA Next, with an emphasis on European languages. Known limitations include hallucination on ambiguous inputs and weak performance on dense document OCR.
Related posts
- Vision Language Models (Better, faster, stronger)
Hugging Face easyNoviceVision 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.
- Vision Language Models Explained
Hugging Face mediumAdeptVision 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.
- Welcome Gemma 4: Frontier multimodal intelligence on device
Hugging Face mediumAdeptGoogle DeepMind's Gemma 4 is an Apache 2-licensed multimodal model family in five sizes: E2B, E4B, a 12B encoder-free Unified model, a 31B dense model and a 26B MoE with 4B active parameters. The models take text, image, video and in some sizes audio, with context windows up to 256K. The architecture combines alternating sliding-window and global attention, dual RoPE configurations, Per-Layer Embeddings that feed a small per-layer residual signal, and a shared KV cache in which the final layers reuse earlier layers' key/value tensors to save memory and compute. Practical guidance covers modality ordering in prompts (images before text, audio after), native JSON bounding-box output on a 1000x1000 grid, and running or fine-tuning the models with transformers, llama.cpp, MLX, transformers.js, Mistral.rs and TRL.
- SmolVLM - small yet mighty Vision Language Model
Hugging Face hardMasterSmolVLM 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.
- Build specialized multimodal models with LFM3
Hugging Face hardMasterLFM3 is Liquid AI's new family of ~2B-parameter models: text, vision, audio, omni and decision variants, all built on one shared LFM3-1.7B-Base backbone and designed for single-GPU fine-tuning and on-device deployment. The backbone is a 24-layer tri-hybrid found by hardware-in-the-loop architecture search. It mixes 13 gated short convolutions (kernel size 7), 5 sliding-window attention layers and 6 global attention layers, and adds head-wise sigmoid-gated attention, partial RoPE and sandwich norm. Pre-training covered 22T tokens, with a 3.5T-token agentic mid-training stage that extends context to 256K. Reported results include LFM3-1.7B beating LFM2.5-2.6B with 35% fewer parameters and running about 25% faster at 8K context. New in-house vision and audio encoders cut compute (2.2x fewer FLOPs than Qwen3.5-2B's encoder), and the LiquidCodec speech tokenizer decodes about 87x real time on one CPU thread; `transformers` usage snippets are included for each model.