/ Модель

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

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

salamandraTA-7B-instruct-GGUF

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

SalamandraTA-7B-instruct-GGUF — квантизированная GGUF-версия SalamandraTA-7b-instruct v3, разработанная группой машинного перевода AI Institute при Barcelona Supercomputing Center.

942скачиваний за 30 дней2лайкавеса обновлены18 сен 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена исключительно для задач машинного перевода и связанных сценариев: перевода предложений, абзацев и документов, терминологически управляемого перевода, обработки структурированного текста, включая HTML и XML, постредактирования переводов и распознавания именованных сущностей.

Модель поддерживает 40 языков и 3 языковых варианта, включая европейские и неевропейские языки: арабский, японский, хинди, корейский и упрощенный китайский. Она основана на SalamandraTA-7b-base, дообученной из Salamandra-7b; точная архитектура и размер контекста в README не указаны. Веса FP16 квантизированы в формат Q4_K_M с использованием llama.cpp; размер файла составляет около 4,1 ГБ. Квантизация обеспечивает компромисс между размером и качеством, но дает снижение примерно на 1–2 BLEU по сравнению с полноточной версией.

Модель подходит для интеграции в системы перевода и локального или серверного инференса через совместимые инструменты, включая vLLM. Она не предназначена для диалогового использования и не обучалась следовать чат-инструкциям. Модель распространяется по лицензии GNU GPL v3.0; пользователи и разработчики производных систем несут ответственность за оценку рисков, смягчение возможных предвзятостей и соблюдение применимых требований законодательства.

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

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

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

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

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

Открыть на Hugging Face

image/png

SalamandraTA-7B-instruct-GGUF Model Card

This model is the GGUF-quantized version of SalamandraTA-7b-instruct (v3).

[!NOTE] The main branch of this repository contains the GGUF quantization of the latest SalamandraTA-7b-instruct release (v3). The previous quantized version is preserved on the v1 branch.

The model weights are quantized from FP16 to Q4_K_M (4-bit weights with K-quant, medium) using the Llama.cpp framework. Inferencing with this model can be done using VLLM.

SalamandraTA-7b-instruct is a translation LLM that has been instruction-tuned from SalamandraTA-7b-base. The base model results from continually pre-training Salamandra-7b on monolingual and parallel data and has not been published, but is reserved for internal use. SalamandraTA-7b-instruct (v3) is proficient in 40 languages (+ 3 varieties), including both European and non-European languages such as Arabic, Japanese, Hindi, Korean, and Simplified Chinese, and is mainly trained to perform general translation tasks at the sentence, paragraph, and document levels. This version adds translation-related tasks such as terminology-aware machine translation, structured text (e.g., HTML, XML) translation, translation post-editing, and named entity recognition, while maintaining the strong translation performance of the previous version.

License Notice

This release includes data licensed under GPL-3, and is therefore distributed under the terms of the GPL-3 license.

[!WARNING] DISCLAIMER: This version of Salamandra is tailored exclusively for translation and the mentioned translation-related tasks. It lacks chat capabilities and has not been trained with any chat instructions.


Available files

FileQuantizationSize (approx.)
salamandraTA_7B_v3_q4_k_m.ggufQ4_K_M — 4-bit, best size/quality balance~4.1 GB

Quantization impact

The Q4_K_M quantization shows a 1–2 BLEU difference compared to the full-precision (unquantized) model.

How to Use

The following example code works under Python 3.10.4, vllm==0.7.3, torch==2.5.1 and torchvision==0.20.1, though it should run on any current version of the libraries. This is an example of translation using the model:

from huggingface_hub import snapshot_download
from vllm import LLM, SamplingParams

model_dir = snapshot_download(repo_id="BSC-LT/salamandraTA-7B-instruct-GGUF", revision="main")
model_name = "salamandraTA_7B_v3_q4_k_m.gguf"

llm = LLM(model=model_dir + '/' + model_name, tokenizer=model_dir)

source = "Spanish"
target = "English"
sentence = "Ayer se fue, tomó sus cosas y se puso a navegar. Una camisa, un pantalón vaquero y una canción, dónde irá, dónde irá. Se despidió, y decidió batirse en duelo con el mar. Y recorrer el mundo en su velero. Y navegar, nai-na-na, navegar."

prompt = f"Translate the following text from {source} into {target}.\\n{source}: {sentence} \\n{target}:"
messages = [{'role': 'user', 'content': prompt}]

outputs = llm.chat(messages,
                   sampling_params=SamplingParams(
                       temperature=0.1,
                       stop_token_ids=[5],
                       max_tokens=200)
                   )[0].outputs

print(outputs[0].text)
    

Additional information

Author

Machine Translation Group, AI Institute, the Barcelona Supercomputing Center (ai_institute_mt@bsc.es).

Contact

For further information, please send an email to ai_institute_mt@bsc.es.

Copyright

Copyright(c) 2026 by AI Institute, Barcelona Supercomputing Center.

Funding

This work is funded by the Ministerio para la Transformación Digital y de la Función Pública and Plan de Recuperación, Transformación y Resiliencia - Funded by EU – NextGenerationEU within the framework of the project Desarrollo Modelos ALIA.

This work has been promoted and financed by the Government of Catalonia through the Aina Project.

Acknowledgements

The success of this project has been made possible thanks to the invaluable contributions of our partners in the ILENIA Project: HiTZ, and CiTIUS. Their efforts have been instrumental in advancing our work, and we sincerely appreciate their help and support.

Disclaimer

Be aware that the model may contain biases or other unintended distortions. When third parties deploy systems or provide services based on this model, or use the model themselves, they bear the responsibility for mitigating any associated risks and ensuring compliance with applicable regulations, including those governing the use of Artificial Intelligence.

The Barcelona Supercomputing Center, as the owner and creator of the model, shall not be held liable for any outcomes resulting from third-party use.

License

GNU General Public License v3.0

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

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

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

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

0 моделей