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 Modelgplsi/Aitana-2B-S-IP-Instruct
ArchitectureTransformer decoder-only
Parameters~2.25B
LanguagesValencian, Spanish, English
LicenseApache 2.0

Aitana-2B-S-IP-Instruct is an instruction-tuned variant of Aitana-2B-S-IP-Instruct, fine-tuned on multilingual instruction data with emphasis on intellectual property applications.

Training Data

This model was instruction fine-tuned using the following data:

Dataset IDNameLanguagesSource
ins1InstruCATCAprojecte-aina/InstruCAT
ins2NLUCatCAprojecte-aina/NLUCat
ins3Escagleu 64KCAprojecte-aina/escagleu-64k
ins4OpenAssistant2 (OASST2)CA, EN, ES, VAOpenAssistant/oasst2
ins5OpenAssistant1 (OASST1)CA, VAprojecte-aina/oasst1_ca
ins6M-PersonasCA, EN, ES, VABSC-LT/m-personas
ins7RAG MultilingualCA, EN, ESprojecte-aina/RAG_Multilingual
ins8FLORESCA, EN, ESfacebook/flores
ins9Aya DatasetEN, ES, VACohereLabs/aya_dataset
ins10TowerBlocksEN, ESUnbabel/TowerBlocks-v0.1
ins11Mentor / MentoresCA, ES, VAprojecte-aina/MentorES / projecte-aina/MentorCA
ins12Dolly / Dolly 3KCA, EN, VAdatabricks/databricks-dolly-15k / projecte-aina/dolly3k_ca
ins13AlpacaEN, VAyahma/alpaca-cleaned
ins14GSM8KEN, VAopenai/gsm8k
ins15OpenOrcaENOpen-Orca/OpenOrca
ins16No RobotsENHuggingFaceH4/no_robots
ins17TableGPTENLipengCS/Table-GPT
ins18CoQCA / CoQCatCA, VAprojecte-aina/CoQCat
ins19SciFactEN, VAallenai/scifact
ins20LingComp QAES, VAsomosnlp/LingComp_QA
ins21Instruct Legal RefugiadosES, VAsomosnlp/instruct-legal-refugiados-es
ins22Gastronomia HispanaES, VAsomosnlp-hackathon-2025/gastronomia-hispana-dpo
ins23TurismInstructionsGPLSIVA
ins24Amic-ParaleloVA
ins25BOUAVAgplsi/boua_parallel
ins26DOGV ParallelVA
ins27UJI VA-EN ParallelVA
ins28UJI VA-ES ParallelVA

Intended Uses

This model can be used for:

  • Instruction following in Valencian, Spanish, and English
  • Intellectual property domain applications
  • Chat and conversational applications requiring multilingual support
  • Text generation with task-specific prompting

How to Use

Transformers

python

import torch
from transformers import pipeline, AutoTokenizer
model_id = "gplsi/Aitana-2B-S-IP-Instruct-IP"
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 = "Explica què és la propietat intel·lectual i quins drets atorga."
result = generator(text, do_sample=True, top_k=10, max_new_tokens=100)
print(result[0]['generated_text'])
# Spanish example
text = "Describe los principales tipos de propiedad intelectual y su marco legal."
result = generator(text, do_sample=True, top_k=10, max_new_tokens=100)
print(result[0]['generated_text'])
# English example
text = "Explain the concept of intellectual property and its importance in innovation."
result = generator(text, do_sample=True, top_k=10, max_new_tokens=100)
print(result[0]['generated_text'])

Evaluation

In the following tables, we present the results obtained with different benchmarks from lm-evaluation-harness in comparison with Salamandra-2B-Instruct.

Normalized score per language

LanguageSalamandra-2B-InstructAitana-2B-S-IP-Instruct
Spanish0.0790.112
Catalan0.2020.182
English0.1780.167
Valencian0.5070.489
Average0.2420.237

Valencian

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2B-InstructAitana-2B-S-IP-Instruct
XNLIvaNatural Language Inferenceacc0.5200.501

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-2B-InstructAitana-2B-S-IP-Instruct
CocoterosvaReading Comprehensionbleu2.7963.204
Phrases ca-vava-caTranslation - Adaptationbleu58.42558.694
Phrases va-cava-caTranslation - Adaptationbleu70.66056.706
Phrases va-esva-esTranslationbleu65.42753.129
Phrases es-vaes-vaTranslationbleu45.68843.098
Truthfulqa_vavaTruthfulnessbleu_acc0.4090.381

Catalan

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2B-InstructAitana-2B-S-IP-Instruct
Belebele Cat_latncaReading Comprehensionacc0.2870.253
COPAcaCommonsense Reasoningacc0.7080.706
XStoryClozecaCommonsense Reasoningacc0.6160.616
OpenBookQAcaQuestion Answeringacc0.2960.270
PAWScaParaphrasingacc0.6020.603
PiQAcaQuestion Answeringacc0.6380.643
SiQAcaQuestion Answeringacc0.4220.421
ARC EasycaQuestion Answeringacc0.5160.501
ARC ChallengecaQuestion Answeringacc0.2980.299
XNLIcaNatural Language Inferenceacc0.5130.517
TecacaNatural Language Inferenceacc0.4860.494
WNLIcaNatural Language Inferenceacc0.5630.437
CatcolacaLinguistic Acceptabilityacc0.4920.718
CatcolacaLinguistic Acceptabilitymcc0.097-0.034
CatalanqacaQuestion AnsweringF10.5160.397
Mgsm directcaMathexact match0.0000.000
CatalanqacaQuestion Answeringexact match0.1820.049
XquadcaQuestion Answeringexact match0.1030.055
XquadcaQuestion AnsweringF10.3940.312

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-2B-InstructAitana-2B-S-IP-Instruct
Cabreu abstractivecaSummarizationbleu7.6108.516
Cabreu extractivecaSummarizationbleu38.00231.230
Cabreu extremecaSummarizationbleu2.7333.070

Spanish

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2B-InstructAitana-2B-S-IP-Instruct
BelebeleesReading Comprehensionacc0.2680.268
PAWSesParaphrasingacc0.5660.623
XNLIesNatural Language Inferenceacc0.4630.442
WNLIesNatural Language Inferenceacc0.4790.451
XStoryClozeesCommonsense Reasoningacc0.6170.614
EscolaesLinguistic Acceptabilityacc0.2930.662
EscolaesLinguistic Acceptabilitymcc0.0200.000
OpenbookQAesQuestion Answeringacc0.2860.296
MGSM DirectesMathexact match0.0200.060
XQUADesQuestion Answeringexact match0.0660.035
XQUADesQuestion AnsweringF10.3550.292

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-2B-InstructAitana-2B-S-IP-Instruct
CocoterosesReading Comprehensionbleu3.3082.755
XLSumesSummarizationbleu1.6951.474

English

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2B-InstructAitana-2B-S-IP-Instruct
Arc ChallengeenQuestion Answeringacc0.3540.348
Arc EasyenQuestion Answeringacc0.6810.693
BelebeleenReading Comprehensionacc0.2600.267
PAWSenParaphrasingacc0.5970.602
XNLIenNatural Language Inferenceacc0.5120.547
XStoryClozeenCommonsense Reasoningacc0.6620.655
OpenBookQAenQuestion Answeringacc0.2980.308
PiQAenQuestion Answeringacc0.7150.721
Social iqaenQuestion Answeringacc0.4530.419
WNLIenNatural Language Inferenceacc0.5350.437
MGSM DirectenMathexact match0.0080.080
TriviaQAenQuestion Answeringexact match0.0760.095
CoLAenLinguistic Acceptabilitymcc0.055-0.008

Judge Evaluation

The model was also evaluated using an LLM-as-judge approach across different task categories. The scores below represent the average rating (1-5 scale, 5 being best) and standard deviation for each task category, comparing against Salamandra-2B-Instruct.

Task CategorySalamandra-2B-InstructAitana-2B-S-IP-Instruct
CommonSense reasoning2.277 / 1.1511.891 / 0.934
Maths1.060 / 0.1241.075 / 0.151
Paraphrasing3.518 / 1.3083.536 / 1.348
Reading comprehension2.966 / 1.1112.599 / 1.331
Summarization2.217 / 1.0681.827 / 0.822
Translation3.557 / 0.7603.502 / 1.031
Overall Avg2.599 / 0.9202.405 / 0.936

Additional Information

Author

The model has been developed by the Language and Information Systems Group (GPLSI) and the Centro de Inteligencia Digital (CENID), both part of the University of Alicante (UA), as part of their ongoing research in Natural Language Processing (NLP).

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-2B-S-IP-Instruct,
author = {Martínez-Murillo, Iván and Sepúlveda-Torres, Robiert and Grande, Eduardo and Galiano, Santiago and Consuegra-Ayala, Juan Pablo and Miró Maestre, María and Canal-Esteve, Miquel and Bonora, Mar and Gutierrez, Yoan and Abreu Salas, José Ignacio and Lloret, Elena and Montoyo, Andrés and Muñoz-Guillena, Rafael and Palomar, Manuel},
title = {Aitana 2B Instruct IP: Instruction-tuned model for intellectual property applications in Valencian, Spanish and English},
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/Aitana-2B-S-IP-Instruct}},
note = {Accessed: 2026-05-21}
}

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

gplsi/Aitana-2B-S-IP-base

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