/ Модель

Характеристики

Контекст
8 192 токена
Параметры
1,7 млрд
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
salamandra-2b
Библиотека
transformers
Опубликована
4 дек 2025

Aitana-2B-S-base

Генерация текстаТекст → текст4 профессии

Базовая языковая модель Aitana для генерации текста на валенсийском, каталанском, испанском и английском языках с акцентом на официальные и туристические материалы.

129скачиваний за 30 дней1лайквеса обновлены1 июл 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Aitana-2B-S-base — базовая генеративная языковая модель семейства Aitana, разработанная группой GPLSI Университета Аликанте. Она основана на BSC-LT/salamandra-2b и непрерывно предобучена на многоязычных данных, чтобы улучшить представление валенсийского и каталанского языков. Это плотный decoder-only Transformer архитектуры Llama с примерно 1,7 млрд параметров по метаданным и контекстом 8192 токена.

Модель предназначена для генерации текста на валенсийском, испанском и английском языках, а также для дальнейшего дообучения и адаптации в административной, юридической и туристической сферах. Обучающие данные включают официальные публикации DOGV, парламентские материалы Les Corts, корпус AMIC, документы Университета Аликанте и туристические тексты. Модель не проходила настройку на следование инструкциям, а её формальные обучающие данные могут приводить к официальному стилю ответов. В репозитории доступны веса safetensors и варианты GGUF, включая Q4_K_M и F16. Лицензия — Apache-2.0.

Сценарии применения

  • генерация официальных текстов на валенсийском
  • создание и продолжение текстов на испанском и английском
  • адаптация языковой модели для документов органов власти
  • дообучение модели для юридических текстов
  • генерация туристических материалов на нескольких языках
  • продолжение парламентских и административных текстов

Ограничения

Модель не настроена на выполнение инструкций и может выдавать продолжения текста вместо прямых ответов. Из-за формального характера обучающих данных её стиль склонен к официальному регистру.

Для каких профессий подходит4

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Aitana-2B-S-base

Aitana-2B-S-base 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 continuously pre-trained on multilingual data (Valencian, Spanish, and English) to improve representation of Valencian and Catalan languages.

Table of Contents

Model Description

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

Aitana-2B-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

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

import torch
from transformers import pipeline, AutoTokenizer

model_id = "gplsi/Aitana-2B-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'])

GGUF for LM Studio

This repository includes GGUF quantized versions for use with LM Studio, Ollama, and other llama.cpp-based tools.

FileQuantizationSizeQuality
Aitana-s2b-c0dc17-Q4_K_M.ggufQ4_K_M~1.3 GBGood balance
Aitana-s2b-c0dc17-f16.ggufF16~4.5 GBFull precision

Using with llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
    repo_id="gplsi/Aitana-2B-S-base",
    filename="Aitana-s2b-c0dc17-Q4_K_M.gguf",
)

output = llm("Les corts valencianes han decidit", max_tokens=100)
print(output["choices"][0]["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 2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
Spanish0.1500.1630.165
Catalan0.2240.2200.233
English0.1680.1610.192
Valencian0.5570.5680.569

Valencian

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
XNLIvaNatural Language Inferenceacc0.4750.4740.475

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
CocoterosvaReading Comprehensionbleu6.326.617.04
Phrases ca-vava-caTranslation - Adaptationbleu79.8281.5782.54
Phrases va-cava-caTranslation - Adaptationbleu78.0575.6875.58
Phrases va-esva-esTranslationbleu76.0476.3176.37
Phrases es-vaes-vaTranslationbleu58.8662.8662.48

Catalan

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
Belebele Cat_latncaReading Comprehensionacc0.2310.2570.278
COPAcaCommonsense Reasoningacc0.7000.6900.698
XStoryClozecaCommonsense Reasoningacc0.6550.6550.66
OpenBookQAcaQuestion Answeringacc0.2940.3000.296
PAWScaParaphrasingacc0.5560.5660.566
PiQAcaQuestion Answeringacc0.6430.6410.631
SiQAcaQuestion Answeringacc0.4340.4250.452
ARC EasycaQuestion Answeringacc0.5510.5530.559
ARC ChallengecaQuestion Answeringacc0.2900.2820.283
XNLIcaNatural Language Inferenceacc0.4730.4690.482
TecacaNatural Language Inferenceacc0.4650.4300.439
WNLIcaNatural Language Inferenceacc0.5770.5770.605
CatcolacaLinguistic Acceptabilityacc0.5430.5960.573
CatcolacaLinguistic Acceptabilitymcc0.046-0.002-0.011
CatalanqacaQuestion AnsweringF10.6680.6430.70
CatalanqacaQuestion Answeringexact match0.4370.4050.472
Mgsm directcaMathexact match0.0240.0240.004
XquadcaQuestion Answeringexact match0.3710.3440.368
XquadcaQuestion AnsweringF10.5790.5680.607

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
Cabreu abstractivecaSummarizationbleu5.786.526.9
Cabreu extractivecaSummarizationbleu42.8941.6142.34
Cabreu extremecaSummarizationbleu3.293.013.01

Spanish

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
BelebeleesReading Comprehensionacc0.2280.2630.277
PAWSesParaphrasingacc0.5610.5530.583
XNLIesNatural Language Inferenceacc0.4390.4220.423
WNLIesNatural Language Inferenceacc0.5630.5630.605
XStoryClozeesCommonsense Reasoningacc0.6530.6550.664
EscolaesLinguistic Acceptabilityacc0.5930.6180.58
EscolaesLinguistic Acceptabilitymcc0.031-0.020-0.008
OpenbookQAesQuestion Answeringacc0.3080.3160.298
MGSM DirectesMathexact match0.0200.0280.036
XQUADesQuestion Answeringexact match0.3770.3410.336
XQUADesQuestion AnsweringF10.5840.5590.579

Generation Benchmarks

DatasetLang.TaskMetricSalamandra-2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
CocoterosesReading Comprehensionbleu8.467.0438.2
XLSumesSummarizationbleu0.8011.6221.547

English

Classification Benchmarks

DatasetLang.TaskMetricSalamandra-2BAitana-2B-S-base (1.0)Aitana-2B-S-base (1.1)
Arc ChallengeenQuestion Answeringacc0.3700.3660.371
Arc EasyenQuestion Answeringacc0.7220.7110.74
BelebeleenReading Comprehensionacc0.2160.2520.287
PAWSenParaphrasingacc0.5610.5740.58
XNLIenNatural Language Inferenceacc0.4620.4520.478
XStoryClozeenCommonsense Reasoningacc0.7110.7170.724
OpenBookQAenQuestion Answeringacc0.30.270.3
PiQAenQuestion Answeringacc0.7370.7420.737
Social iqaenQuestion Answeringacc0.4540.4500.471
WNLIenNatural Language Inferenceacc0.4650.3800.464
MGSM DirectenMathexact match0.0640.060.072
TriviaQAenQuestion Answeringexact match0.3760.3520.359

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).

Part of the Aitana Family

This model is part of the Aitana model family, which includes:

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

@misc{gplsi-Aitana-2B-S-base,
  author       = {Estevanell-Valladares, Ernesto L. and Yáñez-Romero, Fabio and Sepúlveda-Torres, Robiert and Consuegra-Ayala, Juan Pablo and Galeano, Santiago 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 base: 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: 2025-12-12}
}

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

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
2691aaf

0 моделей