Salamandra Technical Report
Aitor Gonzalez-Agirre, Marc Pàmies, Joan Llop, Irene Baucells, Severino Da Dalt, Daniel Tamayo, José Javier Saiz, Ferran Espuña, Jaume Prats, Javier Aula-Blasco, Mario Mina, Iñigo Pikabea, Adrián Rubio, Alexander Shvets, Anna Sallés, Iñaki Lacunza, Jorge Palomar, Júlia Falcão, Lucía Tormo, Luis Vasquez-Reina, Montserrat Marimon, Oriol Pareras, Valle Ruiz-Fernández, Marta Villegas
TL;DR
Salamandra presents a suite of open-source decoder-only LLMs (2B, 7B, 40B) trained from scratch on 35 European languages plus code, with public instruction-tuned variants and preliminary multimodal capabilities. The authors detail the architecture (RoPE, SwiGLU, RMSNorm, FlashAttention), a large 256k vocabulary tokenizer, and a balanced multilingual pretraining corpus assembled from curated and web sources, processed with Ungoliant and CURATE pipelines. Post-training includes instruction tuning and vision-language experiments, with comprehensive multilingual evaluation via IberoBench and LM Evaluation Harness, augmented by LLM-as-a-Judge prompts. Safety, bias, and ethics are examined through BBQ/EsBBQ benchmarks, regard analysis, cognitive bias assessment, and multilingual red-teaming using Llama Guard 3, highlighting both progress and remaining gaps in multilingual safety. Overall, Salamandra advances open multilingual LLM research and provides a framework for future improvements in alignment, safety, and multimodal capabilities for European languages.
Abstract
This work introduces Salamandra, a suite of open-source decoder-only large language models available in three different sizes: 2, 7, and 40 billion parameters. The models were trained from scratch on highly multilingual data that comprises text in 35 European languages and code. Our carefully curated corpus is made exclusively from open-access data compiled from a wide variety of sources. Along with the base models, supplementary checkpoints that were fine-tuned on public-domain instruction data are also released for chat applications. Additionally, we also share our preliminary experiments on multimodality, which serve as proof-of-concept to showcase potential applications for the Salamandra family. Our extensive evaluations on multilingual benchmarks reveal that Salamandra has strong capabilities, achieving competitive performance when compared to similarly sized open-source models. We provide comprehensive evaluation results both on standard downstream tasks as well as key aspects related to bias and safety.With this technical report, we intend to promote open science by sharing all the details behind our design choices, data curation strategy and evaluation methodology. In addition to that, we deviate from the usual practice by making our training and evaluation scripts publicly accessible. We release all models under a permissive Apache 2.0 license in order to foster future research and facilitate commercial use, thereby contributing to the open-source ecosystem of large language models.
