惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
D
Docker
IT之家
IT之家
博客园_首页
罗磊的独立博客
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
美团技术团队
Y
Y Combinator Blog
博客园 - 聂微东
量子位
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
Microsoft Security Blog
Microsoft Security Blog
博客园 - Franky
Martin Fowler
Martin Fowler
Jina AI
Jina AI
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
月光博客
月光博客
G
Google Developers Blog
B
Blog
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿

Hugging Face - Blog

Waypoint-1.5: Higher-Fidelity Interactive Worlds for Everyday GPUs ALTK‑Evolve: On‑the‑Job Learning for AI Agents Safetensors is Joining the PyTorch Foundation Holo3: Breaking the Computer Use Frontier Any Custom Frontend with Gradio's Backend A New Framework for Evaluating Voice Agents (EVA) Bringing Robotics AI to Embedded Platforms: Dataset Recording, VLA Fine‑Tuning, and On‑Device Optimizations One-Shot Any Web App with Gradio's gr.HTML CUGA on Hugging Face: Democratizing Configurable AI Agents New in llama.cpp: Model Management Building Deep Research: How we Achieved State of the Art OVHcloud on Hugging Face Inference Providers 🔥 20x Faster TRL Fine-tuning with RapidFire AI Building for an Open Future - our new partnership with Google Cloud Aligning to What? Rethinking Agent Generalization in MiniMax M2 Building a Healthcare Robot from Simulation to Deployment with NVIDIA Isaac Sentence Transformers is joining Hugging Face! Unlock the power of images with AI Sheets Supercharge your OCR Pipelines with Open Models Google Cloud C4 Brings a 70% TCO improvement on GPT OSS with Intel and Hugging Face Get your VLM running in 3 simple steps on Intel CPUs Nemotron-Personas-India: Synthesized Data for Sovereign AI Introducing RTEB: A New Standard for Retrieval Evaluation Accelerating Qwen3-8B Agent on Intel® Core™ Ultra with Depth-Pruned Draft Models VibeGame: Exploring Vibe Coding Games Nemotron-Personas-Japan: ソブリン AI のための合成データセット Swift Transformers Reaches 1.0 – and Looks to the Future Smol2Operator: Post-Training GUI Agents for Computer Use SyGra: The One-Stop Framework for Building Data for LLMs and SLMs Gaia2 and ARE: Empowering the community to study agents
Visual Salamandra: Pushing the Boundaries of Multimodal U...
Iñigo Pikabea, Jaume Lozano · 2025-04-11 · via Hugging Face - Blog

Back to Articles

Iñigo Pikabea's avatar

Jaume Lozano's avatar

The Language Technologies Lab takes a major step forward in multimodal artificial intelligence with the release of Visual Salamandra, extending the capabilities of the Salamandra large language model (LLM) to both images and video. Visual Salamandra is based on the 7 billion parameters foundational model maintaining its compactness and efficiency while extending it to multimodal tasks.

Designed with vision-language alignment at its core, Visual Salamandra builds on top of the Salamandra Instructed 7B model by integrating Google’s SigLIP encoder (SigLIP-So400m), a 2-layer MLP projector, and advanced late-fusion techniques to bridge the gap between visual and textual modalities.

The resulting architecture enables Visual Salamandra to comprehend and generate contextually accurate responses from diverse inputs, ranging from single and multiple images and videos to purely textual instructions. This development reflects a broader commitment by the Lab to support robust, multilingual, and multimodal AI systems—especially those that prioritize European linguistic diversity.

Training Visual Salamandra: A Deep Dive into Vision Experiments

To adapt Salamandra for visual inputs, the Lab implemented a four-phase training process centered on late-fusion architecture. In this setup, a pre-trained image encoder (SigLIP, 14 patches at 384x384 resolution) generates image embeddings, which are then aligned with the LLM via a custom-trained multilayer perceptron (MLP) projector.

The four training phases include:

Phase 1: Projector Pre-training – Only the projector is trained to map image features into the LLM’s latent space.

Phase 2: High-Quality Vision Pretraining – Using refined datasets (e.g., OCR and re-captioned images), the entire architecture (encoder, projector, and LLM) undergoes joint training.

Phase 3: Instruction Tuning – The model learns to follow user instructions via visual question answering (VQA), OCR, and other grounded vision tasks.

Phase 4: Full Multimodal Tuning – Incorporates single/multi-image and video data, along with text-only examples, to optimize the model’s generalization to real-world, multi-input scenarios.

Data diversity played a crucial role throughout training. A total of 6.1 million instruction-tuning instances were used, including 842,000 text-only samples. The training corpus featured data from sources like AI2D, Cambrian, and LLaVA Next, chosen to enhance visual grounding, document understanding, mathematical reasoning, and OCR.

image/png

Figure 1. Data distribution during the Visual Salamandra 7B training process

Multilingual Data and European Language Representation

As with previous models from the Language Technologies Lab, Visual Salamandra continues the commitment to multilingual inclusivity, with a strong focus on European languages.

This approach guarantees that underrepresented languages benefit from instruction tuning and alignment with vision tasks, helping to close the resource gap in multimodal AI research. Visual Salamandra is one of the first models of its kind to integrate such linguistic plurality into a multimodal instruction-tuned framework.

image/png

Figure 2. Multilingual generation examples with the model trained with Text Regularization and merged with the original backbone LLM.

Applications and Future Directions

Visual Salamandra unlocks a wide range of applications at the intersection of language and vision, such as:

• Visual Question Answering (VQA): Ask questions about an image or video and receive context-aware, accurate responses.

• Optical Character Recognition (OCR): Accurately read and transcribe text from documents, scenes, and charts.

• Document and Chart Understanding: Analyze complex visual documents or graphical content with embedded text.

• Mathematical Reasoning: Solve visually grounded math problems through multimodal reasoning.

• Instruction-based Image Interaction: Follow detailed instructions in visual contexts, including image captioning and localization tasks.

The inclusion of video capabilities also opens the door for further developments in video summarization, event detection, and multimodal storytelling...

With Visual Salamandra, the Language Technologies Lab demonstrates its ongoing leadership in creating inclusive, high-performing foundational models. By harmonizing state-of-the-art vision encoders with strong multilingual LLMs, the team is setting the stage for next-generation AI systems that see, understand, and communicate—across modalities and languages.

Ethical concerns and limitations

While Visual Salamandra shows strong multimodal capabilities, it is important to note its limitations:

• It may hallucinate plausible but incorrect answers, especially when visual inputs are ambiguous.

• Performance on complex OCR and dense document layouts is still challenging.

• The model was trained with filtered and licensed datasets, but users should remain vigilant about potential biases or inaccuracies, particularly when deployed in sensitive applications.

We recommend using Visual Salamandra in contexts where human oversight is possible and avoiding high-stakes applications without proper evaluation.

Visual Salamandra is released under a Apache License, Version 2.0, allowing for research and non-commercial use.

Stay tunned for future releases and tools built on Visual Salamandra, and explore the full model details in our paper.

image/png

The Language Technologies Lab team

Acknowledgment

This work has been supported and funded by the Ministerio para la Transformación Digital y de la Función Pública and the Plan de Recuperación, Transformación y Resiliencia – funded by the EU through NextGenerationEU, within the framework of the Modelos del Lenguaje project.