Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more
Container

Run this model inference with full control and performance in your environment.

Learn more

Get help setting up a custom Dedicated Endpoints.

Talk with our engineer to get a quote for reserved GPU instances with discounts.

README

License: apache-2.0

Table of Contents

Model Description

PropertyValue
Base ModelBSC-LT/salamandra-7b
ArchitectureTransformer decoder-only
Parameters~7.77B
LanguagesValencian, Spanish, English
LicenseApache 2.0

Aitana-7B-S-base extends the multilingual Salamandra foundation with additional training on domain-specific Valencian, Spanish, and English data. The training emphasizes administrative, legal, and tourism domains.

Training Data

This model was trained on the following ALIA datasets:

Dataset IDNameLanguageSource
dc8dogv_va_2025Valenciangplsi/alia_dogv
dc9dogv_es_2025Spanishgplsi/alia_dogv
dc10corts_es_va_2025Spanish/Valenciangplsi/alia_les_corts
dc11amic_va_2025Valenciangplsi/alia_amic
dc12boua_va_2025Valenciangplsi/alia_boua
dc13boua_es_2025Spanishgplsi/alia_boua
dc14tourism_va_2025Valenciangplsi/alia_tourism
dc15tourism_es_2025Spanishgplsi/alia_tourism
dc16tourism_en_2025Englishgplsi/alia_tourism
-alia_multilingual_parallel_sentencesSpanish/Valencian/Englishgplsi/alia_multilingual_parallel_sentences

Data Sources

  • DOGV (Diari Oficial de la Generalitat Valenciana): Official communications of the Valencian Community including laws and public sector communications
  • Les Corts Valencianes: Transcripts from the Valencian Parliament plenary sessions and committee meetings
  • AMIC: Valencian language corpus
  • BOUA (Butlletí Oficial de la Universitat d'Alacant): Official University of Alicante documents including grants, regulations, and resolutions
  • Tourism: Multilingual tourism domain content

Intended Uses

This model can be used for:

  • Text generation in Valencian, Spanish, and English
  • Fine-tuning for specific downstream tasks
  • Domain adaptation for administrative, legal, or tourism applications

Note: Due to the formal register of training data (administrative and legal domains), generated text tends toward formal language.

How to Use

Transformers

python

import torch
from transformers import pipeline, AutoTokenizer
model_id = "gplsi/Aitana-7B-S-base"
tokenizer = AutoTokenizer.from_pretrained(model_id)
generator = pipeline(
"text-generation",
model=model_id,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
device_map="auto",
)
# Valencian example
text = "Les corts valencianes han pres la decisió de"
result = generator(text, do_sample=True, top_k=10, max_new_tokens=100)
print(result[0]['generated_text'])
# Spanish example
text = "El turismo en la Comunidad Valenciana"
result = generator(text, do_sample=True, top_k=10, max_new_tokens=100)
print(result[0]['generated_text'])

Evaluation

In the following table, we can see the results obtained with different benchmarks from lm-evaluation-harness in comparison with the model used for continuous pre-training. The results have been obtained from the model pre-trained; no instruction tuning or fine-tuning of any kind has been performed.

Normalized score per language

LanguageSalamandra-7BAitana-7B-S-base
Spanish0.2480.26
Catalan0.3640.373
English0.3190.349
Valencian0.6630.664

Valencian

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-7BAitana-7B-S-base
XNLIvaNatural Language Inferenceacc0.4960.495

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-7BAitana-7B-S-base
CocoterosvaReading Comprehensionbleu12.3016.09
Phrases ca-vava-caTranslation - Adaptationbleu86.8386.53
Phrases va-cava-caTranslation - Adaptationbleu94.6882.99
Phrases va-esva-esTranslationbleu79.8380.76
Phrases es-vaes-vaTranslationbleu66.3171.01
Truthfulqa_vavaTruthfulnessbleu_acc0.3530.388

Catalan

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-7BAitana-7B-S-base
Belebele Cat_latncaReading Comprehensionacc0.510.546
COPAcaCommonsense Reasoningacc0.7980.812
XStoryClozecaCommonsense Reasoningacc0.750.767
OpenBookQAcaQuestion Answeringacc0.3660.376
PAWScaParaphrasingacc0.6260.613
PiQAcaQuestion Answeringacc0.7020.725
SiQAcaQuestion Answeringacc0.4890.506
ARC EasycaQuestion Answeringacc0.7260.73
ARC ChallengecaQuestion Answeringacc0.470.459
XNLIcaNatural Language Inferenceacc0.5040.494
TecacaNatural Language Inferenceacc0.5270.514.
WNLIcaNatural Language Inferenceacc0.5770.633
CatcolacaLinguistic Acceptabilityacc0.7320.71
CatalanqacaQuestion AnsweringF10.8320.829
CatalanqacaQuestion Answeringexact match0.620.65
Mgsm directcaMathexact match0.0680.096
XquadcaQuestion Answeringexact match0.4980.497
XquadcaQuestion AnsweringF10.7170.724

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-7BAitana-7B-S-base
Cabreu abstractivecaSummarizationbleu8.4611.34
Cabreu extractivecaSummarizationbleu44.6241.73
Cabreu extremecaSummarizationbleu11.0212.44

Spanish

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-7BAitana-7B-S-base
BelebeleesReading Comprehensionacc0.490.55
PAWSesParaphrasingacc0.6160.591
XNLIesNatural Language Inferenceacc0.4620.447
WNLIesNatural Language Inferenceacc0.450.45
XStoryClozeesCommonsense Reasoningacc0.7460.754
EscolaesLinguistic Acceptabilityacc--
EscolaesLinguistic Acceptabilitymcc--
OpenbookQAesQuestion Answeringacc--
MGSM DirectesMathexact match0.0640.084
XQUADesQuestion Answeringexact match0.510.509
XQUADesQuestion AnsweringF10.7460.754

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-7BAitana-7B-S-base
CocoterosesReading Comprehensionbleu14.5717.35
XLSumesSummarizationbleu3.525.79

English

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-7BAitana-7B-S-base
Arc ChallengeenQuestion Answeringacc0.530.529
Arc EasyenQuestion Answeringacc0.8220.816
BelebeleenReading Comprehensionacc0.5620.537
PAWSenParaphrasingacc0.6320.604
XNLIenNatural Language Inferenceacc0.4740.472
XStoryClozeenCommonsense Reasoningacc0.7960.79
OpenBookQAenQuestion Answeringacc0.3520.356
PiQAenQuestion Answeringacc0.7930.796
Social iqaenQuestion Answeringacc0.5090.508
WNLIenNatural Language Inferenceacc0.4640.549
MGSM DirectenMathexact match0.2640.564
TriviaQAenQuestion Answeringexact match0.5970.601
CoLAenLinguistic Acceptabilitymcc0.3810.339

Additional Information

Author

The model has been developed by the Language and Information Systems Group (GPLSI), the Centro de Inteligencia Digital (CENID), and the [Language Modeling Group at Barcelona Supercomputing Center] (https://www.bsc.es/research-development/research-areas/cognitive-computing/language-modeling), all contributing to cutting-edge research in Natural Language Processing (NLP). GPLSI and CENID are part of the University of Alicante (UA), while the Language Modeling Group operates within the Barcelona Supercomputing Center.

Funding

This work is funded by the Ministerio para la Transformación Digital y de la Función Pública, co-financed by the EU – NextGenerationEU, within the framework of the project Desarrollo de Modelos ALIA. This work has also been partially supported by Project HEART-NLP (PID2024-156263OB-C22).

Acknowledgments

We would like to express our gratitude to all individuals and institutions that have contributed to the development of this work.

Special thanks to:

We also acknowledge the financial, technical, and scientific support of the Ministerio para la Transformación Digital y de la Función Pública - Funded by EU – NextGenerationEU within the framework of the project Desarrollo de Modelos ALIA, whose contribution has been essential to the completion of this research.

License

Apache License, Version 2.0

Disclaimer

This model is intended for general purposes and is available under a permissive Apache License 2.0. Be aware that the model may have biases and/or undesirable outputs. Users deploying systems based on this model are responsible for mitigating risks and complying with applicable AI regulations.

Reference

bibtex

@misc{gplsi-Aitana-7B-S-base,
author = {Sepúlveda-Torres, Robiert and Baucells, Irene and Estevanell-Valladares, Ernesto L. and Galiano, Santiago and Consuegra-Ayala, Juan Pablo and Miró Maestre, María and Martínez-Murillo, Iván and Grande, Eduardo and Bonora, Mar and Gutierrez, Yoan and Abreu Salas, José Ignacio and Lloret, Elena and Montoyo, Andrés and Muñoz-Guillena and Palomar, Manuel},
title = {Aitana 7B base: Continually pre-trained on Valencian},
year = {2026},
institution = {Language and Information Systems Group (GPLSI) and Centro de Inteligencia Digital (CENID), University of Alicante (UA)},
howpublished = {\url{https://huggingface.co/gplsi/gplsi/Aitana-2B-S-base}},
note = {Accessed: 2026-4-8}
}

Copyright © 2026 Language and Information Systems Group (GPLSI) and Centro de Inteligencia Digital (CENID), University of Alicante (UA). Distributed under the Apache License 2.0.

Model provider

gplsi

gplsi

Model tree

Base

BSC-LT/salamandra-7b

Fine-tuned

this model

Modalities

Input

Text

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today