BSC-LT / salamandraTA-7B-academic

huggingface.co
Total runs: 90
24-hour runs: 1
7-day runs: -5
30-day runs: 49
Model's Last Updated: March 06 2026
translation

Introduction of salamandraTA-7B-academic

Model Details of salamandraTA-7B-academic

image/png

SalamandraTA-7B-academic Model Card

This repository contains the model SalamandraTA-7B-academic, which is a Machine Translation fine-tunning of the Salamandra7B-Instruct . This model has been obtained following the procedures shown in CITE PAPER AS SOON AS AVAILABLE .

DISCLAIMER: This version of Salamandra is tailored exclusively for translation tasks. Even if the Machine Translation version has been obtained after fine-tunning an instructed version the chat capabilities have not been tested. For this we refer to the used instructed version .


Model Details
Architecture
Total Parameters 7,768,117,248
Embedding Parameters 1,048,576,000
Layers 32
Hidden size 4,096
Attention heads 32
Context length 8,192
Vocabulary size 256,000
Precision bfloat16
Embedding type RoPE
Activation Function SwiGLU
Layer normalization RMS Norm
Flash attention
Grouped Query Attention
Num. query groups 8

Intended Use
Direct Use

The model is intended for both research and commercial use in any of the languages included in the training data for general machine translation tasks.

Out-of-scope Use

The model is not intended for malicious activities, such as harming others or violating human rights. Any downstream application must comply with current laws and regulations. Irresponsible usage in production environments without proper risk assessment and mitigation is also discouraged.


Hardware and Software
Training Framework

SalamandraTA-7B-academic was instructed with FastChat .

Compute Infrastructure

All models were trained on MareNostrum 5 , a pre-exascale EuroHPC supercomputer hosted and operated by Barcelona Supercomputing Center.

The accelerated partition is composed of 1,120 nodes with the following specifications:

  • 4x Nvidia Hopper GPUs with 64GB HBM2 memory
  • 2x Intel Sapphire Rapids 8460Y+ at 2.3Ghz and 32c each (64 cores)
  • 4x NDR200 (BW per node 800Gb/s)
  • 512 GB of Main memory (DDR5)
  • 460GB on NVMe storage

How to use

SalamandraTA-7B-academic was fine-tuned using ACAD-Train dataset which focuses on pairs involving English, Iberian Peninsula languages, and several Central European languages, namely: Asturian (ast), Catalan (ca), German (de), Greek (el), Spanish (es), English (en), Basque (eu), French (fr), Galician (gl), Italian (it), Dutch (nl) and Portuguese (pt). The dataset includes 48 unique language pairs. Since each pair is used for translation in both directions (e.g., English to Spanish and Spanish to English), this results in the 96 total supported directions. The most frequent language pairs, accounting for 96.5% of the dataset, are:

  • English - Spanish (en-es)
  • English - French (en-fr)
  • English - Catalan (en-ca)
  • Catalan - Spanish (ca-es)
  • Spanish - French (es-fr)
  • English - Portuguese (en-pt)

A comprehensive list of all language pairs included in the ACAD-Train dataset .

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 = "LangTech-MT/salamandraTA-7B-academic"

# Input parameters
source = 'English'
target = 'Spanish'
sentence = "With the purpose of analyzing women’s perceptions and classifying their modes of understanding a positive human papillomavirus (HPV+) test, we conducted 38 in‑depth interviews with women who had received an HPV diagnosis (normal and abnormal Pap smear), screened in Jujuy’s public health system in 2016. A typology based on women’s understandings of the result was developed: 1) understanding; 2) lack of understanding; a) underestimation; b) overestimation; c) confusion. The interviewees who experienced confusion over the results reported contradictory perceptions in relation to a positive HPV test and its severity; those who underestimated it tended to mention the absence of symptoms and expressed little concern over the result; while those who overestimated it considered themselves sick and described concern, narrating a biographical disruption and physical pain. These findings confirm the need to improve the delivery of results and the provision of information in order to decrease psychosocial impact and increase follow‑up adherence in HPV‑positive women."
 
text = f"Translate the following text from {source} into {target}.\n{source}: {sentence} \n{target}:"

# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained(model_id)

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

# Construct prompt using chat template
message = [ { "role": "user", "content": text } ]
date_string = datetime.today().strftime('%Y-%m-%d')

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

inputs = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt")
input_length = inputs.shape[1]

# Generate output
outputs = model.generate(
    input_ids=inputs.to(model.device), 
    max_new_tokens=400,
    early_stopping=True,
    num_beams=5
)

# Decode and print output
print(tokenizer.decode(outputs[0, input_length:], skip_special_tokens=True))
# Con el propósito de analizar las percepciones de las mujeres y clasificar sus modos de comprensión de un resultado positivo de virus del papiloma humano (VPH+), en 2016 realizamos 38 entrevistas en profundidad a mujeres con diagnóstico de VPH (citología normal y anormal) detectado en el sistema público de salud de Jujuy. Se elaboró una tipología basada en la comprensión del resultado por parte de las mujeres: 1) comprensión; 2) falta de comprensión; a) subestimación; b) sobreestimación; c) confusión. Las entrevistadas que experimentaron confusión informaron percepciones contradictorias sobre el VPH+ y su gravedad; quienes lo subestimaron tendían a mencionar la ausencia de síntomas y mostraron poca preocupación; mientras que aquellas que lo sobreestimaron se consideraban enfermas, describían preocupación, narrando una ruptura biográfica y dolor físico. Estos hallazgos confirman la necesidad de mejorar la entrega de resultados y la provisión de información para disminuir el impacto psicosocial y aumentar la adherencia al seguimiento en mujeres con VPH positivo.

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.

Machine Translation Prompt

The following prompt template is recommended, since it is the one used during training:

Translate the following text from {source} into {target}.
{source}: {source sentence}
{target}:
Show an example
source = 'English'
target = 'Spanish'
source_sentence = "With the purpose of analyzing women’s perceptions and classifying their modes of understanding a positive human papillomavirus (HPV+) test, we conducted 38 in‑depth interviews with women who had received an HPV diagnosis (normal and abnormal Pap smear), screened in Jujuy’s public health system in 2016. A typology based on women’s understandings of the result was developed: 1) understanding; 2) lack of understanding; a) underestimation; b) overestimation; c) confusion. The interviewees who experienced confusion over the results reported contradictory perceptions in relation to a positive HPV test and its severity; those who underestimated it tended to mention the absence of symptoms and expressed little concern over the result; while those who overestimated it considered themselves sick and described concern, narrating a biographical disruption and physical pain. These findings confirm the need to improve the delivery of results and the provision of information in order to decrease psychosocial impact and increase follow‑up adherence in HPV‑positive women."

text = f"Translate the following text from {source} into {target}.\n{source}: {source_sentence} \n{target}:"
# Con el propósito de analizar las percepciones de las mujeres y clasificar sus modos de comprensión de un resultado positivo de virus del papiloma humano (VPH+), en 2016 realizamos 38 entrevistas en profundidad a mujeres con diagnóstico de VPH (citología normal y anormal) detectado en el sistema público de salud de Jujuy. Se elaboró una tipología basada en la comprensión del resultado por parte de las mujeres: 1) comprensión; 2) falta de comprensión; a) subestimación; b) sobreestimación; c) confusión. Las entrevistadas que experimentaron confusión informaron percepciones contradictorias sobre el VPH+ y su gravedad; quienes lo subestimaron tendían a mencionar la ausencia de síntomas y mostraron poca preocupación; mientras que aquellas que lo sobreestimaron se consideraban enfermas, describían preocupación, narrando una ruptura biográfica y dolor físico. Estos hallazgos confirman la necesidad de mejorar la entrega de resultados y la provisión de información para disminuir el impacto psicosocial y aumentar la adherencia al seguimiento en mujeres con VPH positivo.
Instruction Tuning Data

The corpus used for the instruction tuning is ACAData . For more details about the corpus construction, you can refer to the [Paper](*add link to paper).

Evaluation
xx → en
Direction Model d-BLEU BP Blonde Comet Comet-Kiwi
xx → en GPT-mini 46.03 1.00 0.60 0.84 0.77
GPT-nano 41.30 0.97 0.55 0.84 0.78
Gemini-2 48.65 1.00 0.61 0.84 0.77
Gemini-2.5 45.10 0.98 0.58 0.84 0.77
Llama-3-8B 43.12 0.99 0.56 0.83 0.76
Gemma-3-27B 46.37 0.98 0.59 0.84 0.77
MADLAD-7B 38.69 0.86 0.51 0.81 0.77
Salamandra-2B 37.09 0.92 0.52 0.82 0.75
+ ACADTRAIN 48.45 1.00 0.61 0.83 0.76
Salamandra-7B 45.87 0.99 0.59 0.83 0.76
+ ACADTRAIN 50.07 1.00 0.62 0.84 0.76
en → xx
Direction Model d-BLEU BP Blonde Comet Comet-Kiwi
en → xx GPT-mini 45.01 0.99 - 0.86 0.82
GPT-nano 43.78 1.00 - 0.86 0.82
Gemini-2 48.00 0.99 - 0.87 0.82
Gemini-2.5 47.75 0.99 - 0.87 0.82
Llama-3-8B 39.87 0.99 - 0.85 0.81
Gemma-3-27B 46.29 0.99 - 0.86 0.82
MADLAD-7B 36.08 0.82 - 0.83 0.80
Salamandra-2B 32.91 0.90 - 0.83 0.78
+ ACADTRAIN 46.86 0.98 - 0.86 0.81
Salamandra-7B 42.55 0.98 - 0.86 0.81
+ ACADTRAIN 49.20 0.98 - 0.86 0.81
xx → es
Direction Model d-BLEU BP Blonde Comet Comet-Kiwi
xx → es GPT-mini 60.60 0.98 - 0.86 0.82
GPT-nano 57.88 0.99 - 0.86 0.82
Gemini-2 62.02 0.99 - 0.86 0.82
Gemini-2.5 61.43 0.98 - 0.87 0.82
Llama-3-8B 55.4 0.98 - 0.86 0.81
Gemma-3-27B 60.71 0.98 - 0.86 0.82
MADLAD-7B 43.44 0.76 - 0.83 0.81
Salamandra-2B 50.09 0.92 - 0.85 0.80
+ ACADTRAIN 61.97 0.98 - 0.86 0.82
Salamandra-7B 57.55 0.98 - 0.86 0.82
+ ACADTRAIN 63.60 0.98 - 0.86 0.82
es → xx
Direction Model d-BLEU BP Blonde Comet Comet-Kiwi
es → xx GPT-mini 54.19 0.99 - 0.86 0.81
GPT-nano 51.95 0.99 - 0.86 0.81
Gemini-2 60.28 0.99 - 0.86 0.81
Gemini-2.5 57.61 0.99 - 0.86 0.81
Llama-3-8B 52.12 0.99 - 0.85 0.80
Gemma-3-27B 57.31 0.99 - 0.86 0.81
MADLAD-7B 40.13 0.79 - 0.83 0.81
Salamandra-2B 47.84 0.94 - 0.84 0.80
+ ACADTRAIN 60.09 0.99 - 0.86 0.81
Salamandra-7B 55.65 0.98 - 0.86 0.80
+ ACADTRAIN 61.61 0.99 - 0.86 0.81
Ethical Considerations and Limitations

Detailed information on the work done to examine the presence of unwanted social and cognitive biases in the base model can be found at Salamandra-7B model card . No specific analysis has yet been carried out in order to evaluate potential biases or limitations in translation accuracy across different languages, dialects, or domains. However, we recognize the importance of identifying and addressing any harmful stereotypes, cultural inaccuracies, or systematic performance discrepancies that may arise in Machine Translation. As such, we plan to continue performing more analyses as we implement the necessary metrics and methods within our evaluation framework MT-Lens . Note that the model has only undergone preliminary instruction tuning. We urge developers to consider potential limitations and conduct safety testing and tuning tailored to their specific applications.

Additional information
Author

The Language Technologies Unit from Barcelona Supercomputing Center.

Contact

For further information, please send an email to [email protected] .

Copyright

Copyright(c) 2025 by Language Technologies Unit, Barcelona Supercomputing Center.

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 the project Modelos del Lenguaje.

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

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 the project ILENIA with reference 2022/TL22/00215337.

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.

Citation
*ADD PAPER CITATION*
License

Apache License, Version 2.0

Runs of BSC-LT salamandraTA-7B-academic on huggingface.co

90
Total runs
1
24-hour runs
9
3-day runs
-5
7-day runs
49
30-day runs

More Information About salamandraTA-7B-academic huggingface.co Model

More salamandraTA-7B-academic license Visit here:

https://choosealicense.com/licenses/apache-2.0

salamandraTA-7B-academic huggingface.co

salamandraTA-7B-academic huggingface.co is an AI model on huggingface.co that provides salamandraTA-7B-academic's model effect (), which can be used instantly with this BSC-LT salamandraTA-7B-academic model. huggingface.co supports a free trial of the salamandraTA-7B-academic model, and also provides paid use of the salamandraTA-7B-academic. Support call salamandraTA-7B-academic model through api, including Node.js, Python, http.

salamandraTA-7B-academic huggingface.co Url

https://huggingface.co/BSC-LT/salamandraTA-7B-academic

BSC-LT salamandraTA-7B-academic online free

salamandraTA-7B-academic huggingface.co is an online trial and call api platform, which integrates salamandraTA-7B-academic's modeling effects, including api services, and provides a free online trial of salamandraTA-7B-academic, you can try salamandraTA-7B-academic online for free by clicking the link below.

BSC-LT salamandraTA-7B-academic online free url in huggingface.co:

https://huggingface.co/BSC-LT/salamandraTA-7B-academic

salamandraTA-7B-academic install

salamandraTA-7B-academic is an open source model from GitHub that offers a free installation service, and any user can find salamandraTA-7B-academic on GitHub to install. At the same time, huggingface.co provides the effect of salamandraTA-7B-academic install, users can directly use salamandraTA-7B-academic installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

salamandraTA-7B-academic install url in huggingface.co:

https://huggingface.co/BSC-LT/salamandraTA-7B-academic

Url of salamandraTA-7B-academic

salamandraTA-7B-academic huggingface.co Url

Provider of salamandraTA-7B-academic huggingface.co

BSC-LT
ORGANIZATIONS

Other API from BSC-LT

huggingface.co

Total runs: 3.4K
Run Growth: 2.4K
Growth Rate: 70.73%
Updated:April 10 2026
huggingface.co

Total runs: 1.8K
Run Growth: -3.4K
Growth Rate: -192.04%
Updated:October 22 2025
huggingface.co

Total runs: 1.1K
Run Growth: 1.0K
Growth Rate: 95.22%
Updated:April 10 2026
huggingface.co

Total runs: 927
Run Growth: -724
Growth Rate: -78.10%
Updated:October 22 2025
huggingface.co

Total runs: 650
Run Growth: 262
Growth Rate: 40.31%
Updated:October 22 2025
huggingface.co

Total runs: 594
Run Growth: 170
Growth Rate: 28.62%
Updated:April 10 2026
huggingface.co

Total runs: 342
Run Growth: 99
Growth Rate: 28.95%
Updated:March 27 2026
huggingface.co

Total runs: 224
Run Growth: -70
Growth Rate: -31.25%
Updated:August 07 2025
huggingface.co

Total runs: 172
Run Growth: 80
Growth Rate: 46.51%
Updated:April 10 2026
huggingface.co

Total runs: 163
Run Growth: -36
Growth Rate: -22.09%
Updated:October 26 2021
huggingface.co

Total runs: 119
Run Growth: 16
Growth Rate: 13.45%
Updated:September 06 2021
huggingface.co

Total runs: 105
Run Growth: 75
Growth Rate: 71.43%
Updated:October 29 2024
huggingface.co

Total runs: 77
Run Growth: 4
Growth Rate: 5.19%
Updated:April 22 2026
huggingface.co

Total runs: 13
Run Growth: 5
Growth Rate: 38.46%
Updated:September 10 2024