Downloads · 30 days
37
12% of all-time downloads
gplsi/Aitana-2B-S-IP-base
Aitana-2B-S-IP-base is a text generation model from gplsi. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Aitana-2B-S-base-IP is a generative language model from the Aitana family, developed by the GPLSI (Language and Information System Group) at the University of Alicante. This model is based on BSC-LT/salamandra-2b and…
Downloads · 30 days
37
12% of all-time downloads
All-time downloads
313
Public
Parameters
2.3B
4.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.5 GB · 99%
From the Hugging Face model README
Aitana-2B-S-base-IP is a generative language model from the Aitana family, developed by the GPLSI (Language and Information System Group) at the University of Alicante. This model is based on BSC-LT/salamandra-2b and has been further trained on Intellectual Property domain data.
Based on the files shipped in this repository, the checkpoint uses the Salamandra architecture and the Transformers ecosystem. The local configuration indicates:
| Property | Value |
|---|---|
| Base Model | BSC-LT/salamandra-2b |
| Architecture | Transformer decoder-only |
| Context length | 8192 |
| Parameters | ~2.25B |
| Languages | Spanish, English |
| License | Apache 2.0 |
This model was trained on the following IP domain dataset:
| Dataset ID | Name | Language | Source |
|---|---|---|---|
| dc49 | EURLEX | English | gplsi/alia_intellectual_property |
| dc49 | EURLEX | Spanish | gplsi/alia_intellectual_property |
| dc50 | COUNTERFEIT | English | gplsi/discriminative_counterfeit_en |
| dc50 | COUNTERFEIT | Spanish | gplsi/discriminative_counterfeit_es |
TO-DO
This model can be used for:
Note: This model is specifically optimized for IP domain content. For general-purpose or administrative/legal text, consider using other models in the Aitana family.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "gplsi/Aitana-2B-S-base-IP"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
prompt = "Escriu un breu resum sobre la importància de la llengua."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=128,
do_sample=True,
top_p=0.9,
temperature=0.7,
eos_token_id=tokenizer.eos_token_id,
pad_token_id=tokenizer.pad_token_id,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
TO-DO
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).
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).
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.
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.
@misc{gplsi-aitana-2B-S-base,
author = {Estevanell-Valladares, Ernesto L. and Sepúlveda-Torres, Robiert and Galeano, Santiago and Consuegra-Ayala, Juan Pablo and Miró Maestre, María and Martínez-Murillo, Iván and Grande, Eduardo 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 and Palomar, Manuel},
title = {Aitana-2B-S-base-IP: Continually pre-trained on Valencian},
year = {2025},
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-05-12}
}
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.