/ Модель

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

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

Aitana-TA-2B-S

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

Инструктивная модель на базе SalamandraTA-2b-Instruct для перевода предложений между испанским и валенсийским языками.

1 146скачиваний за 30 дней2лайкавеса обновлены6 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Aitana-TA-2B-S — разработанная GPLSI и CENID при Университете Аликанте языковая модель для перевода между испанским и валенсийским языками. Это дообученная для следования инструкциям модель на архитектуре Llama с примерно 1,7 млрд параметров по метаданным и контекстом до 8192 токенов; она использует формат Transformers и веса safetensors. Модель ориентирована прежде всего на перевод предложений, а обучение проводилось на параллельных испано-валенсийских данных AMIC.

В тестах на фразах IberoBench модель показала более высокий BLEU, чем базовая SalamandraTA-2b-Instruct, для направлений испанский→валенсийский и каталанский→валенсийский; карточка также приводит результаты для валенсийского→каталанского. Основное назначение — перевод между испанским и валенсийским, а применение для других задач авторы не рекомендуют, поскольку оно не оценивалось. Лицензия — Apache-2.0.

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

  • перевод предложений с испанского на валенсийский
  • перевод предложений с валенсийского на испанский
  • перевод коротких фраз для локализации контента
  • черновой перевод испано-валенсийских текстов

Ограничения

Оптимизирована для перевода между испанским и валенсийским; качество для других задач NLP не оценивалось. Параметры в README (~2,25 млрд) расходятся с метаданными (1,7 млрд).

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

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

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

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

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

Открыть на Hugging Face

AitanaTA Model Card

AitanaTA-2b-Instruct is a translation LLM that has been instruction-tuned from SalamandraTA-2b-Instruct (this model results from instruction-tuning on parallel data from Salamandra-2b-base). AitanaTA-2b-Instruct has been specifically instruction-tuned for translation between Spanish and Valencian, with a focus on sentence-level translation.

Table of Contents

Model Description

PropertyValue
Base ModelBSC-LT/salamandraTA-2b-instruct
ArchitectureTransformer decoder-only
Parameters~2.25B
LanguagesValencian and Spanish
LicenseApache 2.0
Finetuned from model:This model follows the same instruction pattern as SalamandraTA-2b-Instruct. The only adaptation was focusing the instructions on translation between Valencian and Spanish, in both directions.

Training Details

Training Data

The data comes from L'Associació de Mitjans d'Informació i Comunicació (AMIC), from which we built a parallel sentence-level dataset. This dataset was specifically created to align Spanish and Valencian sentences, ensuring high-quality parallel examples for training and evaluation.

== Language pairs== Valencian -> Spanish: 738777 (mean_src_len=165.6, mean_tgt_len=168.6)

Training Hyperparameters

Training regime:

  • epochs: 1
  • learning_rate: 1e-5
  • beta1: 0.9
  • beta2: 0.99
  • weight_decay: 0
  • global_batch_size: 64
  • micro_batch_size: 2
  • log_interval: 5
  • save_interval: 5
  • lr_warmup_steps: 100
  • max_seq_length: 2048

How to use

You can translate between Spanish to Valencian. The instruction-following model uses the commonly adopted ChatML template:

<|im_start|>system
{SYSTEM PROMPT}<|im_end|>
<|im_start|>user
{USER PROMPT}<|im_end|>
<|im_start|>assistant
{MODEL RESPONSE}<|im_end|>
<|im_start|>user
[...]

The easiest way to apply it is by using the tokenizer's built-in functions, as shown in the following snippet.

from datetime import datetime
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch

model_id = "gplsi/Aitana-TA-2B-S"

source = 'Spanish'
target = 'Valencian'
sentence = "La inteligencia artificial está transformando el mundo."

text = f"Translate the following text from {source} into {target}.\n{source}: {sentence} \n{target}:"

tokenizer = AutoTokenizer.from_pretrained(model_id)

model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
    dtype=torch.bfloat16
  )

message = [ { "role": "user", "content": text } ]

prompt = tokenizer.apply_chat_template(
    message,
    tokenize=False,
    add_generation_prompt=True,
)

inputs = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt")
input_length = inputs.shape[1]
outputs = model.generate(input_ids=inputs.to(model.device),
                         max_new_tokens=400,
                         early_stopping=True,
                         num_beams=5)

print(tokenizer.decode(outputs[0, input_length:], skip_special_tokens=True))
# La intel·ligència artificial està transformant el món.

Using this template, each turn is preceded by a <|im_start|> delimiter and the role of the entity (either user, for content supplied by the user, or assistant for LLM responses), and finished with the <|im_end|> token.

Evaluation

Testing Data

Our objective was to evaluate translation between Spanish and Valencian. To test the model, we used the Phrases task from IberoBench.

Metrics

For evaluation, we relied on a set of standard translation metrics: COMET, BLEU, TER, and ChrF.

Results on Phrases tasks

TaskMetricAitana-TA-2B-SsalamandraTA-2b-instruct
phrases_ca-vaBLEU80,2276,53
phrases_es-vaBLEU64,9362,40
phrases_va-caBLEU81,1982,07
phrases_va-esBLEU81,4075,49
=========================================
phrases_ca-vachrF91,7789,57
phrases_es-vachrF84,2382,18
phrases_va-cachrF92,0091,43
phrases_va-eschrF91,2288,15
=========================================
phrases_ca-vaCOMET0,9580,952
phrases_es-vaCOMET0,9320,927
phrases_va-caCOMET0,9560,946
phrases_va-esCOMET0,9520,946
=========================================
phrases_ca-vaTER10,3013,67
phrases_es-vaTER21,0723,26
phrases_va-caTER9,0310,68
phrases_va-esTER11,0215,06

Technical Specifications

Hardware and Software

For training, we used custom code developed on top of the PyTorch Lightning framework (Fabric Lightning), enabling model sharding across multiple GPUs through Fully Sharded Data Parallel (FSDP).

Compute Infrastructure

This model was trained on NVIDIA DGX systems equipped with A100 GPUs, which enabled efficient large-scale training. For this model, we used 4-A100 GPUs.

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 - Funded by EU – NextGenerationEU within the framework of ILENIA-VIVES project with reference 2022/TL22/00215334. 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 has been developed and instruction-tuned specifically for translation between Spanish and Valencian. Its use outside of translation tasks is not recommended, as performance and reliability have not been evaluated for other natural language processing applications. The authors are not responsible for potential errors, misinterpretations, or inappropriate use of the model beyond its intended purpose.

Reference

If you use this model in your research or work, please cite it as follows:

@misc{gplsi-aitana-ta-2b-s,
  author       = {Sepúlveda-Torres, Robiert and Galeano, Santiago and Miró Maestre, María and Martínez-Murillo, Iván and Grande, Eduardo and Canal-Esteve, Miquel and Estevanell-Valladares, Ernesto L. and Yáñez-Romero, Fabio and Consuegra-Ayala, Juan Pablo 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-TA-2b-S: Translation model for Spanish and 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/Aitana-TA-2B-S}},
  note         = {Accessed: 2025-10-03}
}

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.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей