mav23 commited on
Commit
9a924a3
1 Parent(s): 0caac73

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +995 -0
  3. salamandrata-2b.Q4_0.gguf +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ salamandrata-2b.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,995 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ pipeline_tag: translation
5
+ language:
6
+ - it
7
+ - pt
8
+ - de
9
+ - en
10
+ - es
11
+ - eu
12
+ - gl
13
+ - fr
14
+ - bg
15
+ - cs
16
+ - lt
17
+ - hr
18
+ - ca
19
+ - nl
20
+ - ro
21
+ - da
22
+ - el
23
+ - fi
24
+ - hu
25
+ - sk
26
+ - sl
27
+ - et
28
+ - pl
29
+ - lv
30
+ - mt
31
+ - ga
32
+ - sv
33
+ - an
34
+ - ast
35
+ - oc
36
+ base_model:
37
+ - BSC-LT/salamandra-2b
38
+ ---
39
+
40
+ ![](./images/salamandra_header.png)
41
+
42
+ # Salamandra Model Card
43
+
44
+
45
+ SalamandraTA-2B is a machine translation model that has been continually pre-trained on [Salamandra 2B](https://huggingface.co/BSC-LT/salamandra-2b) on 70 billion tokens of parallel data in 30 different languages:
46
+ Catalan, Italian, Portuguese, German, English, Spanish, Euskera, Galician, French, Bulgarian, Czech, Lithuanian, Croatian, Dutch, Romanian, Danish, Greek, Finnish,
47
+ Hungarian, Slovak, Slovenian, Estonian, Polish, Latvian, Swedish, Maltese, Irish, Aranese, Aragonese, Asturian.
48
+ SalamandraTA-2B is the first model in **SalamandraTA** series and is trained to handle sentence- and paragraph- level machine translation.
49
+
50
+ - **Developed by:** The Language Technologies Unit from Barcelona Supercomputing Center (BSC).
51
+ - **Model type:** A 2B parameter model continually pre-trained on 70 billion tokens.
52
+ - **Languages:** Catalan, Italian, Portuguese, German, English, Spanish, Euskera, Galician, French, Bulgarian, Czech, Lithuanian, Croatian, Dutch, Romanian, Danish, Greek, Finnish, Hungarian, Slovak, Slovenian, Estonian, Polish, Latvian, Swedish, Maltese, Irish, Aranese, Aragonese, Asturian.
53
+ - **License:** Apache License, Version 2.0
54
+
55
+
56
+ ## Model Details
57
+
58
+ ### Description
59
+
60
+ This machine translation model is built upon the foundation of [Salamandra 2B](https://huggingface.co/BSC-LT/salamandra-2b). By leveraging the knowledge of the base Salamandra 2B model,
61
+ this model is able to perform high quality translations between **almost 900 translation directions**.
62
+
63
+ Key Features:
64
+
65
+ * **Continual Pretraining:** The model is trained on 70 Billion tokens of parallel data. All data employed is open-sourced or generated from open-source
66
+ * data using the Machine Translation models at [BSC](https://huggingface.co/collections/projecte-aina/mt-models-655e154668c6dd132159081c)
67
+ * **Large Language Model Foundation:** Built on Salamandra 2B, providing a strong language understanding and generation capability.
68
+ * **Multilingual Support:** Capable of translating between 30 european languages, including low-resource languages.
69
+ * **High-Quality Translations:** Delivers accurate and fluent translations, thanks to its continual pretraining and large-scale dataset.
70
+ * **Efficient Inference:** 2 Billion parameters allow for a trade-off between performance and hardware requirements by most systems.
71
+
72
+ ### Hyperparameters
73
+
74
+ The full list of hyperparameters for each model can be found [here](https://github.com/langtech-bsc/salamandra/tree/main/configs).
75
+
76
+ ### Architecture
77
+
78
+ | | |
79
+ |-------------------------|:--------------|
80
+ | Total Parameters | 2,253,490,176 |
81
+ | Embedding Parameters | 524,288,000 |
82
+ | Layers | 24 |
83
+ | Hidden size | 2,048 |
84
+ | Attention heads | 16 |
85
+ | Context length | 8,192 |
86
+ | Vocabulary size | 256,000 |
87
+ | Precision | bfloat16 |
88
+ | Embedding type | RoPE |
89
+ | Activation Function | SwiGLU |
90
+ | Layer normalization | RMS Norm |
91
+ | Flash attention | ✅ |
92
+ | Grouped Query Attention | ❌ |
93
+ | Num. query groups | N/A |
94
+
95
+ ---
96
+
97
+ ## Intended Use
98
+
99
+ ### Direct Use
100
+
101
+ The models are intended for both research and commercial use in any of the languages included in the training data.
102
+ The base models are intended for general machine translation tasks.
103
+
104
+ ### Out-of-scope Use
105
+
106
+ The model is not intended for malicious activities, such as harming others or violating human rights.
107
+ Any downstream application must comply with current laws and regulations.
108
+ Irresponsible usage in production environments without proper risk assessment and mitigation is also discouraged.
109
+
110
+ ---
111
+
112
+ ## Hardware and Software
113
+
114
+ ### Training Framework
115
+
116
+ Continual pre-training was conducted using [LLaMA-Factory framework](https://github.com/hiyouga/LLaMA-Factory).
117
+
118
+ ### Compute Infrastructure
119
+
120
+ All models were trained on [MareNostrum 5](https://www.bsc.es/ca/marenostrum/marenostrum-5), a pre-exascale EuroHPC supercomputer hosted and
121
+ operated by Barcelona Supercomputing Center.
122
+
123
+ The accelerated partition is composed of 1,120 nodes with the following specifications:
124
+ - 4x Nvidia Hopper GPUs with 64 HBM2 memory
125
+ - 2x Intel Sapphire Rapids 8460Y+ at 2.3Ghz and 32c each (64 cores)
126
+ - 4x NDR200 (BW per node 800Gb/s)
127
+ - 512 GB of Main memory (DDR5)
128
+ - 460GB on NVMe storage
129
+
130
+ ---
131
+
132
+ ## How to use
133
+
134
+ To translate with the salamandraTA-2B model, first you need to create a prompt that specifies the source and target languages in this format:
135
+
136
+ ```css
137
+ [source_language] sentence \n[target_language]
138
+ ```
139
+
140
+ You can translate between these languages by using their names directly:
141
+
142
+ Italian, Portuguese, German, English, Spanish, Euskera, Galician, French, Bulgarian, Czech, Lithuanian, Croatian, Dutch, Romanian, Danish, Greek, Finnish,
143
+ Hungarian, Slovak, Slovenian, Estonian, Polish, Latvian, Swedish, Maltese, Irish, Aranese, Aragonese, Asturian.
144
+
145
+
146
+ ### Inference
147
+
148
+ To translate from Spanish to Catalan using Huggingface's AutoModel class on a single sentence you can use the following code:
149
+
150
+ ```python
151
+ import torch
152
+ from transformers import AutoTokenizer, AutoModelForCausalLM
153
+
154
+ model_id = 'BSC-LT/salamandraTA-2b'
155
+
156
+ # Load tokenizer and model
157
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
158
+ model = AutoModelForCausalLM.from_pretrained(model_id)
159
+
160
+ # Move model to GPU if available
161
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
162
+ model.to(device)
163
+
164
+ src_lang_code = 'Spanish'
165
+ tgt_lang_code = 'Catalan'
166
+ sentence = 'Ayer se fue, tomó sus cosas y se puso a navegar.'
167
+
168
+ prompt = f'[{src_lang_code}] {sentence} \n[{tgt_lang_code}]'
169
+
170
+ # Tokenize and move inputs to the same device as the model
171
+ input_ids = tokenizer(prompt, return_tensors='pt').input_ids.to(device)
172
+ output_ids = model.generate(input_ids, max_length=500, num_beams=5)
173
+ input_length = input_ids.shape[1]
174
+
175
+ generated_text = tokenizer.decode(output_ids[0, input_length:], skip_special_tokens=True).strip()
176
+ print(generated_text)
177
+ #Ahir se'n va anar, va agafar les seves coses i es va posar a navegar.
178
+ ```
179
+
180
+ <br>
181
+
182
+
183
+ To run batch inference using Huggingface's AutoModel class you can use the following code.
184
+
185
+ <details>
186
+ <summary>Show code</summary>
187
+
188
+ ```python
189
+ from transformers import AutoTokenizer, AutoModelForCausalLM
190
+ import torch
191
+
192
+ model_id = 'BSC-LT/salamandraTA-2b'
193
+
194
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
195
+ model = AutoModelForCausalLM.from_pretrained(model_id, attn_implementation='eager')
196
+
197
+ # Move the model to GPU
198
+ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
199
+ model = model.to(device)
200
+
201
+ # List of sentences to translate
202
+ sentences = [
203
+ 'Ayer se fue, tomó sus cosas y se puso a navegar.',
204
+ 'Se despidió y decidió batirse en duelo con el mar, y recorrer el mundo en su velero',
205
+ 'Su corazón buscó una forma diferente de vivir, pero las olas le gritaron: Vete con los demás',
206
+ 'Y se durmió y la noche le gritó: Dónde vas, y en sus sueños dibujó gaviotas, y pensó: Hoy debo regresar.'
207
+ ]
208
+
209
+ src_lang_code = 'Spanish'
210
+ tgt_lang_code = 'Catalan'
211
+
212
+ prompt = lambda x: f'[{src_lang_code}] {x} \n[{tgt_lang_code}]'
213
+ prompts = [prompt(x) for x in sentences]
214
+
215
+
216
+ encodings = tokenizer(prompts, return_tensors='pt', padding=True, add_special_tokens=True)
217
+
218
+ input_ids = encodings['input_ids'].to(model.device)
219
+ attention_mask = encodings['attention_mask'].to(model.device)
220
+
221
+ with torch.no_grad():
222
+ outputs = model.generate(input_ids=input_ids, attention_mask=attention_mask, num_beams=5,max_length=256,early_stopping=True)
223
+
224
+ results_detokenized = []
225
+ for i, output in enumerate(outputs):
226
+ input_length = input_ids[i].shape[0]
227
+ generated_text = tokenizer.decode(output[input_length:], skip_special_tokens=True).strip()
228
+ results_detokenized.append(generated_text)
229
+
230
+ print("Generated Translations:", results_detokenized)
231
+
232
+ #Generated Translations: ["Ahir se'n va anar, va agafar les seves coses i es va posar a navegar.",
233
+ #"Es va acomiadar i va decidir batre's en duel amb el mar, i recórrer el món en el seu veler",
234
+ #"El seu cor va buscar una forma diferent de viure, però les onades li van cridar: Vés amb els altres",
235
+ #"I es va adormir i la nit li va cridar: On vas, i en els seus somnis va dibuixar gavines, i va pensar: Avui he de tornar."]
236
+ ```
237
+ </details>
238
+
239
+
240
+ ## Data
241
+
242
+ ### Pretraining Data
243
+
244
+ The training corpus consists of 70 billion tokens of Catalan- and Spanish-centric parallel data, including all of the official European languages plus Catalan, Basque,
245
+ Galician, Asturian, Aragonese and Aranese. It amounts to 3,157,965,012 parallel sentence pairs.
246
+
247
+ This highly multilingual corpus is predominantly composed of data sourced from [OPUS](https://opus.nlpl.eu/), with additional data taken from the [NTEU project](https://nteu.eu/) and Project Aina’s existing corpora.
248
+ Where little parallel Catalan <-> xx data could be found, synthetic Catalan data was generated from the Spanish side of the collected Spanish <-> xx corpora using
249
+ [Projecte Aina’s Spanish-Catalan model](https://huggingface.co/projecte-aina/aina-translator-es-ca). The final distribution of languages was as below:
250
+
251
+ ![](./treemap.png)
252
+
253
+ Click the expand button below to see the full list of corpora included in the training data.
254
+
255
+ <details>
256
+ <summary>Data Sources</summary>
257
+
258
+ | Dataset | Ca-xx Languages | Es-xx Langugages |
259
+ |-----------------------------------------------|----------------------------------------------------------------|-----------------------------------------------|
260
+ |[CCMatrix](https://opus.nlpl.eu/CCMatrix/corpus/version/CCMatrix) |eu | |
261
+ |[DGT](https://opus.nlpl.eu/DGT/corpus/version/DGT) | |bg,cs,da,de,el ,et,fi,fr,ga,hr,hu,lt,lv,mt,nl,pl,pt,ro,sk,sl,sv |
262
+ |[ELRC-EMEA](https://opus.nlpl.eu/ELRC-EMEA/corpus/version/ELRC-EMEA) | |bg,cs,da,hu,lt,lv,mt,pl,ro,sk,sl |
263
+ |[EMEA](https://opus.nlpl.eu/EMEA/corpus/version/EMEA) | |bg,cs,da,el,fi,hu,lt,mt,nl,pl,ro,sk,sl,sv |
264
+ |[EUBookshop](https://opus.nlpl.eu/EUbookshop/corpus/version/EUbookshop) |lt,pl,pt |cs,da,de,el,fi,fr,ga,it,lv,mt,nl,pl,pt,ro,sk,sl,sv |
265
+ |[Europarl](https://opus.nlpl.eu/Europarl/corpus/version/Europarl) | |bg,cs,da,el,fi,fr,hu,lt,lv,nl,pl,pt ,ro,sk,sl,sv |
266
+ |[Europat](https://opus.nlpl.eu/EuroPat/corpus/version/EuroPat) | |hr |
267
+ |[KDE4](https://opus.nlpl.eu/KDE4/corpus/version/KDE4) |bg,cs,da,de,el ,et,eu,fi,fr,ga,gl,hr,it,lt,lv,nl,pl,pt,ro,sk,sl,sv |bg,ga,hr |
268
+ |[GlobalVoices](https://opus.nlpl.eu/GlobalVoices/corpus/version/GlobalVoices) | bg,de,fr,it,nl,pl,pt |bg,de,fr,pt |
269
+ |[GNOME](https://opus.nlpl.eu/GNOME/corpus/version/GNOME) |eu,fr,ga,gl,pt |ga |
270
+ |[JRC-Arquis](https://opus.nlpl.eu/JRC-Acquis/corpus/version/JRC-Acquis) | |cs,da,et,fr,lt,lv,mt,nl,pl ,ro,sv|
271
+ |[MultiCCAligned](https://opus.nlpl.eu/JRC-Acquis/corpus/version/JRC-Acquis) |bg,cs,de,el,et,fi,fr,hr,hu,it,lt,lv,nl,pl,ro,sk,sv |bg,fi,fr,hr,it,lv,nl,pt |
272
+ |[MultiHPLT](https://opus.nlpl.eu/MultiHPLT/corpus/version/MultiHPLT) |et,fi,ga,hr,mt | |
273
+ |[MultiParaCrawl](https://opus.nlpl.eu/MultiParaCrawl/corpus/version/MultiParaCrawl) |bg,da |de,fr,ga,hr,hu,it,mt,pt | |
274
+ |[MultiUN](https://opus.nlpl.eu/MultiUN/corpus/version/MultiUN) | |fr | |
275
+ |[News-Commentary](https://opus.nlpl.eu/News-Commentary/corpus/version/News-Commentary) | |fr |
276
+ |[NLLB](https://opus.nlpl.eu/NLLB/corpus/version/NLLB) |bg,da,el,et,fi,fr,gl,hu,it ,lt,lv,pt,ro,sk,sl |bg,cs,da,de,el ,et,fi,fr,hu,it,lt,lv,nl,pl,pt ,ro,sk,sl,sv|
277
+ |[NTEU](https://www.elrc-share.eu/repository/search/?q=NTEU) | |bg,cs,da,de,el ,et,fi,fr,ga,hr,hu,it,lt,lv,mt,nl,pl,pt,ro,sk,sl,sv |
278
+ |[OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles) |bg,cs,da,de,el ,et,eu,fi,gl,hr,hu,lt,lv,nl,pl,pt,ro,sk,sl,sv |da,de,fi,fr,hr,hu,it,lv,nl |
279
+ |[Tatoeba](https://opus.nlpl.eu/Tatoeba/corpus/version/Tatoeba) |de,pt |pt |
280
+ |[TildeModel](https://opus.nlpl.eu/TildeMODEL/corpus/version/TildeMODEL) | |bg |
281
+ |[UNPC](https://opus.nlpl.eu/UNPC/corpus/version/UNPC) | |fr |
282
+ |[WikiMatrix](https://opus.nlpl.eu/WikiMatrix/corpus/version/WikiMatrix) |bg,cs,da,de,el ,et,eu,fi,fr,gl,hr,hu,it,lt,nl,pl,pt,ro,sk,sl,sv |bg,fr,hr,it,pt |
283
+ |[XLENT](https://opus.nlpl.eu/XLEnt/corpus/version/XLEnt) |eu,ga,gl |ga |
284
+
285
+
286
+
287
+ </details>
288
+
289
+
290
+ We provide an extense Datasheet section following the best practices defined by [(Gebru et al., 2021)](https://arxiv.org/pdf/1803.09010).
291
+
292
+ <details>
293
+ <summary>Datasheet</summary>
294
+
295
+ #### Motivation
296
+
297
+ **For what purpose was the dataset created? Was there a specific task in mind? Was there a specific gap that needed to be filled? Please provide a description.**
298
+
299
+ The purpose of creating this dataset is to pre-train multilingual models on parallel data in a large number of European languages, with Spanish and Catalan as the pivot languages. We have found that there is a lack of high quality parallel data in the scale necessary for training models, particularly between mid to low resource languages, and so in this dataset we have attempted to compile all publicly available resources for the included smaller languages, in addition to creating additional resources for Catalan as the pivot language.
300
+
301
+ **Who created the dataset (e.g., which team, research group) and on behalf of which entity (e.g., company, institution, organization)?**
302
+
303
+ The dataset has been created by the Machine Translation sub-group of the Language Technologies unit (LangTech) of the Barcelona Supercomputing Center - Centro Nacional de
304
+ Supercomputación (BSC-CNS), which aims to advance the field of natural language processing through cutting-edge research and development
305
+ and the use of HPC. In particular, the main contributors were Audrey Mash and Francesca De Luca Fornaciari.
306
+
307
+ **Who funded the creation of the dataset? If there is an associated grant, please provide the name of the grantor and the grant name and number.**
308
+
309
+ This work/research has been promoted and financed by the Government of Catalonia through the [Aina project](https://projecteaina.cat/).
310
+
311
+ #### Composition
312
+
313
+ **What do the instances that comprise the dataset represent (e.g., documents, photos, people, countries)? Are there multiple types of instances (e.g., movies, users, and ratings; people and interactions between them; nodes and edges)? Please provide a description.**
314
+
315
+ The dataset consists entirely of parallel text separated at sentence level. Specifically, data was mainly sourced from the following databases and
316
+ repositories:
317
+ - **[Opus](https://opus.nlpl.eu/):** Repository which aims to provide freely available parallel datasets in order to advance work in computational linguistics and automatic translation.
318
+ - **[ELRC-SHARE](https://www.elrc-share.eu/):** Repository used for documenting, storing, browsing and accessing Language Resources that are collected through the European Language Resource Coordination.
319
+
320
+ **How many instances are there in total (of each type, if appropriate)?**
321
+
322
+ The dataset contains a diverse range of sentence pairs across multiple languages. 36.02% of the data is parallel with Catalan, 27.59% is parallel with Spanish and 0.37% is parallel with English.
323
+
324
+ **Does the dataset contain all possible instances or is it a sample (not necessarily random) of instances from a larger set? If the dataset is a sample, then what is the larger set? Is the sample representative of the larger set (e.g., geographic coverage)? If so, please describe how this representativeness was validated/verified. If it is not representative of the larger set, please describe why not (e.g., to cover a more diverse range of instances, because instances were withheld or unavailable).**
325
+
326
+ The dataset is a sample from various sources. Language pairs which had fewer than 100 million parallel sentence pairs after filtering and cleaning were taken
327
+ in their entirety. A sample of 100 million sentence pairs was taken from language pairs which had more data than this after preprocessing. All sampling was random.
328
+ Where very little data existed between Catalan and the target language, synthetic Catalan data was created in order to increase the sample size.
329
+ This was done using [Projecte Aina’s Spanish-Catalan model](https://huggingface.co/projecte-aina/aina-translator-es-ca).
330
+
331
+ **What data does each instance consist of? “Raw” data (e.g., unprocessed text or images) or features? In either case, please provide a description.**
332
+
333
+ Each instance consists of a parallel sentence pair processed for deduplication, language identification, and language alignment.
334
+
335
+ **Is there a label or target associated with each instance? If so, please provide a description.**
336
+
337
+ Each instance is labelled with the two languages present in the sentence pair.
338
+
339
+ **Is any information missing from individual instances? If so, please provide a description, explaining why this information is missing (e.g., because it was unavailable). This does not include intentionally removed information, but might include, e.g., redacted text.**
340
+
341
+ No significant information is missing from the instances.
342
+
343
+ **Are relationships between individual instances made explicit (e.g., users’ movie ratings, social network links)? If so, please describe how these relationships are made explicit.**
344
+
345
+ Instances are related through shared language identifiers.
346
+
347
+ **Are there recommended data splits (e.g., training, development/validation, testing)? If so, please provide a description of these splits, explaining the rationale behind them.**
348
+
349
+ The dataset is split randomly into training, validation, and test sets.
350
+
351
+ **Are there any errors, sources of noise, or redundancies in the dataset? If so, please provide a description.**
352
+
353
+ Despite filtering for alignment and language identification, a small number of misaligned sentence pairs and incorrectly labelled languages may remain present in the data. The thresholds chosen for this task aim to achieve an optimal balance, prioritising higher accuracy.
354
+
355
+ **Is the dataset self-contained, or does it link to or otherwise rely on external resources (e.g., websites, tweets, other datasets)? If it links to or relies on external resources, a) are there guarantees that they will exist, and remain constant, over time; b) are there official archival versions of the complete dataset (i.e., including the external resources as they existed at the time the dataset was created); c) are there any restrictions (e.g., licenses, fees) associated with any of the external resources that might apply to a dataset consumer? Please provide descriptions of all external resources and any restrictions associated with them, as well as links or other access points, as appropriate.**
356
+
357
+ The dataset is self-contained and does not rely on external resources.
358
+
359
+ **Does the dataset contain data that might be considered confidential (e.g., data that is protected by legal privilege or by doctor–patient confidentiality, data that includes the content of individuals’ non-public communications)? If so, please provide a description.**
360
+
361
+ The dataset does not contain confidential data.
362
+
363
+ **Does the dataset contain data that, if viewed directly, might be offensive, insulting, threatening, or might otherwise cause anxiety? If so, please describe why. If the dataset does not relate to people, you may skip the remaining questions in this section.**
364
+
365
+ The dataset includes web-crawled content, which may overrepresent pornographic material across languages (Kreutzer et al., 2022). We have performed no filtering for toxic material.
366
+
367
+ **Does the dataset identify any subpopulations (e.g., by age, gender)? If so, please describe how these subpopulations are identified and provide a description of their respective distributions within the dataset.**
368
+
369
+ The dataset does not explicitly identify any subpopulations.
370
+
371
+ **Is it possible to identify individuals (i.e., one or more natural persons), either directly or indirectly (i.e., in combination with other data) from the dataset? If so, please describe how.**
372
+
373
+ Web-sourced instances in the dataset may contain personally identifiable information (PII) that is publicly available on the Web, such as
374
+ names, IP addresses, email addresses, and phone numbers. While it would be possible to indirectly identify individuals through the
375
+ combination of multiple data points, the nature and scale of web data makes it difficult to parse such information.
376
+
377
+ **Does the dataset contain data that might be considered sensitive in any way? If so, please provide a description.**
378
+
379
+ Given that the dataset includes web-sourced content and other publicly available documents, instances may inadvertently reveal financial
380
+ information, health-related details, or forms of government identification, such as social security numbers (Subramani et al., 2023),
381
+ especially if the content originates from less-regulated sources or user-generated platforms.
382
+
383
+ #### Collection Process
384
+
385
+ **How was the data collected?**
386
+
387
+ This dataset is constituted by combining several sources, all of which take the form of web-sourced datasets with some preprocessing available under permissive license (p.e. Common Crawl).
388
+
389
+ **What mechanisms or procedures were used to collect the data? How were these mechanisms or procedures validated?**
390
+
391
+ All datasets were acquired through open direct download and validated with data integrity tests.
392
+
393
+ **If the dataset is a sample from a larger set, what was the sampling strategy?**
394
+
395
+ The sampling strategy was to use the whole dataset resulting from the filtering explained in the ‘preprocessing/cleaning/labelling’ section,
396
+ with the particularity that language pairs consisting of over 100 million sentence pairs were randomly sampled down to 100 million.
397
+
398
+ **Who was involved in the data collection process and how were they compensated?**
399
+
400
+ This data is generally extracted, filtered and sampled by automated processes. The code required to run these processes has been developed
401
+ entirely by members of the LangTech data team, or otherwise obtained from open-source software. Furthermore, there has been no monetary
402
+ consideration for acquiring data from suppliers.
403
+
404
+ **Over what timeframe was the data collected? Does this timeframe match the creation timeframe of the data associated with the instances? If not, please describe the timeframe in which the data associated with the instances was created.**
405
+
406
+ Data were acquired and processed from April 2023 to August 2024. However, as mentioned, much data has been obtained from open projects such
407
+ as Common Crawl, which contains data from 2014, so it is the end date (04/2024) rather than the start date that is important.
408
+
409
+ **Were any ethical review processes conducted? If so, please provide a description of these review processes, including the outcomes, as well as a link or other access point to any supporting documentation.**
410
+
411
+ No particular ethical review process has been carried out as the data is mostly open and not particularly sensitive. However, we have an
412
+ internal evaluation team and a bias team to monitor ethical issues. In addition, we work closely with ‘Observatori d'Ètica en Intel·ligència
413
+ Artificial’ (OEIAC) and ‘Agencia Española de Supervisión de la Inteligencia Artificial’ (AESIA) to audit the processes we carry out from an
414
+ ethical and legal point of view, respectively.
415
+
416
+ #### Preprocessing
417
+
418
+ **Was any preprocessing/cleaning/labeling of the data done? If so, please provide a description. If not, you may skip the remaining questions in this section.**
419
+
420
+ All data was filtered according to two specific criteria:
421
+ - Alignment - sentence level alignments were calculated using [LaBSE](https://huggingface.co/sentence-transformers/LaBSE) and sentence pairs with a score below 0.75 were discarded.
422
+ - Language identification - The probability of being the target language was calculated using either [Idiomata Cognitor](https://github.com/transducens/idiomata_cognitor) or [Lingua.py](https://github.com/pemistahl/lingua-py) and sentences identified as unlikely to be the correct language were filtered out. Thresholds varied by language.
423
+
424
+ **Was the “raw” data saved in addition to the preprocessed/cleaned/labeled data? If so, please provide a link or other access point to the “raw” data.**
425
+
426
+ The original raw data was kept on the BSC servers but is not publicly available.
427
+
428
+ **Is the software that was used to preprocess/clean/label the data available? If so, please provide a link or other access point.**
429
+
430
+ No, our internal cleaning pipeline for parallel data has not been made publicly available.
431
+
432
+ #### Uses
433
+
434
+ **Has the dataset been used for any tasks already? If so, please provide a description.**
435
+
436
+ Pre-train the SalamandraTA model family.
437
+
438
+ **What (other) tasks could the dataset be used for?**
439
+
440
+ The data can be used primarily to pre-train other Machine Translation models.
441
+
442
+ **Is there anything about the composition of the dataset or the way it was collected and preprocessed/cleaned/labeled that might impact future uses? Is there anything a dataset consumer could do to mitigate these risks or harms?**
443
+
444
+ Web-crawled content is over-represented with standard language varieties, impacting language model performance for minority languages.
445
+ Language diversity in data is crucial to avoid bias, especially in encoding non-standard dialects, preventing the exclusion of demographic
446
+ groups. Moreover, despite legal uncertainties in web-scraped data, we prioritize permissive licenses and privacy protection measures,
447
+ acknowledging the challenges posed by personally identifiable information (PII) within large-scale datasets. Our ongoing efforts aim to
448
+ address privacy concerns and contribute to a more inclusive linguistic dataset.
449
+
450
+ **Are there tasks for which the dataset should not be used?**
451
+
452
+ -
453
+
454
+ #### Distribution
455
+
456
+ **Will the dataset be distributed to third parties outside of the entity on behalf of which the dataset was created? If so, please provide a description.**
457
+
458
+ The dataset will not be released or distributed to third parties. Any related question to distribution is omitted in this section.
459
+
460
+ #### Maintenance
461
+
462
+ **Who will be supporting/hosting/maintaining the dataset?**
463
+
464
+ The dataset will be hosted by the Language Technologies unit (LangTech) of the Barcelona Supercomputing Center (BSC). The team will ensure
465
+ regular updates and monitor the dataset for any issues related to content integrity, legal compliance, and bias for the sources they are
466
+ responsible for.
467
+
468
+ **How can the owner/curator/manager of the dataset be contacted?**
469
+
470
+ The data owner may be contacted with the email address langtech@bsc.es.
471
+
472
+ **Will the dataset be updated?**
473
+
474
+ The dataset will not be updated.
475
+
476
+ **If the dataset relates to people, are there applicable limits on the retention of the data associated with the instances? If so, please describe these limits and explain how they will be enforced.**
477
+
478
+ The dataset does not keep sensitive data that could allow direct identification of individuals, apart from the data that is publicly
479
+ available in web-sourced content. Due to the sheer volume and diversity of web data, it is not feasible to notify individuals or manage data
480
+ retention on an individual basis. However, efforts are made to mitigate the risks associated with sensitive information through
481
+ pre-processing and filtering to remove identifiable or harmful content. Despite these measures, vigilance is maintained to address potential
482
+ privacy and ethical issues.
483
+
484
+ **Will older versions of the dataset continue to be supported/hosted/maintained? If so, please describe how. If not, please describe how its obsolescence will be communicated to dataset consumers.**
485
+
486
+ Since the dataset will not be updated, only the final version will be kept.
487
+
488
+ **If others want to extend/augment/build on/contribute to the dataset, is there a mechanism for them to do so?**
489
+
490
+ The dataset does not allow for external contributions.
491
+
492
+ </details>
493
+
494
+ <details>
495
+ <summary>References</summary>
496
+
497
+ - Aulamo, M., Sulubacak, U., Virpioja, S., & Tiedemann, J. (2020). OpusTools and Parallel Corpus Diagnostics. In N. Calzolari, F. Béchet, P. Blache, K. Choukri, C. Cieri, T. Declerck, S. Goggi, H. Isahara, B. Maegaard, J. Mariani, H. Mazo, A. Moreno, J. Odijk, & S. Piperidis (Eds.), Proceedings of the Twelfth Language Resources and Evaluation Conference (pp. 3782–3789). European Language Resources Association. https://aclanthology.org/2020.lrec-1.467
498
+ - Chaudhary, V., Tang, Y., Guzmán, F., Schwenk, H., & Koehn, P. (2019). Low-Resource Corpus Filtering Using Multilingual Sentence Embeddings. In O. Bojar, R. Chatterjee, C. Federmann, M. Fishel, Y. Graham, B. Haddow, M. Huck, A. J. Yepes, P. Koehn, A. Martins, C. Monz, M. Negri, A. Névéol, M. Neves, M. Post, M. Turchi, & K. Verspoor (Eds.), Proceedings of the Fourth Conference on Machine Translation (Volume 3: Shared Task Papers, Day 2) (pp. 261–266). Association for Computational Linguistics. https://doi.org/10.18653/v1/W19-5435
499
+ - DGT-Translation Memory—European Commission. (n.d.). Retrieved November 4, 2024, from https://joint-research-centre.ec.europa.eu/language-technology-resources/dgt-translation-memory_en
500
+ - Eisele, A., & Chen, Y. (2010). MultiUN: A Multilingual Corpus from United Nation Documents. In N. Calzolari, K. Choukri, B. Maegaard, J. Mariani, J. Odijk, S. Piperidis, M. Rosner, & D. Tapias (Eds.), Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC’10). European Language Resources Association (ELRA). http://www.lrec-conf.org/proceedings/lrec2010/pdf/686_Paper.pdf
501
+ - El-Kishky, A., Chaudhary, V., Guzmán, F., & Koehn, P. (2020). CCAligned: A Massive Collection of Cross-Lingual Web-Document Pairs. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 5960–5969. https://doi.org/10.18653/v1/2020.emnlp-main.480
502
+ - El-Kishky, A., Renduchintala, A., Cross, J., Guzmán, F., & Koehn, P. (2021). XLEnt: Mining a Large Cross-lingual Entity Dataset with Lexical-Semantic-Phonetic Word Alignment. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, 10424–10430. https://doi.org/10.18653/v1/2021.emnlp-main.814
503
+ - Fan, A., Bhosale, S., Schwenk, H., Ma, Z., El-Kishky, A., Goyal, S., Baines, M., Celebi, O., Wenzek, G., Chaudhary, V., Goyal, N., Birch, T., Liptchinsky, V., Edunov, S., Grave, E., Auli, M., & Joulin, A. (2020). Beyond English-Centric Multilingual Machine Translation (No. arXiv:2010.11125). arXiv. https://doi.org/10.48550/arXiv.2010.11125
504
+ - García-Martínez, M., Bié, L., Cerdà, A., Estela, A., Herranz, M., Krišlauks, R., Melero, M., O’Dowd, T., O’Gorman, S., Pinnis, M., Stafanovič, A., Superbo, R., & Vasiļevskis, A. (2021). Neural Translation for European Union (NTEU). 316–334. https://aclanthology.org/2021.mtsummit-up.23
505
+ - Gibert, O. de, Nail, G., Arefyev, N., Bañón, M., Linde, J. van der, Ji, S., Zaragoza-Bernabeu, J., Aulamo, M., Ramírez-Sánchez, G., Kutuzov, A., Pyysalo, S., Oepen, S., & Tiedemann, J. (2024). A New Massive Multilingual Dataset for High-Performance Language Technologies (No. arXiv:2403.14009). arXiv. http://arxiv.org/abs/2403.14009
506
+ - Koehn, P. (2005). Europarl: A Parallel Corpus for Statistical Machine Translation. Proceedings of Machine Translation Summit X: Papers, 79–86. https://aclanthology.org/2005.mtsummit-papers.11
507
+ - Kreutzer, J., Caswell, I., Wang, L., Wahab, A., Van Esch, D., Ulzii-Orshikh, N., Tapo, A., Subramani, N., Sokolov, A., Sikasote, C., Setyawan, M., Sarin, S., Samb, S., Sagot, B., Rivera, C., Rios, A., Papadimitriou, I., Osei, S., Suarez, P. O., … Adeyemi, M. (2022). Quality at a Glance: An Audit of Web-Crawled Multilingual Datasets. Transactions of the Association for Computational Linguistics, 10, 50–72. https://doi.org/10.1162/tacl_a_00447
508
+ - Rozis, R.,Skadiņš, R (2017). Tilde MODEL - Multilingual Open Data for EU Languages. https://aclanthology.org/W17-0235
509
+ - Schwenk, H., Chaudhary, V., Sun, S., Gong, H., & Guzmán, F. (2019). WikiMatrix: Mining 135M Parallel Sentences in 1620 Language Pairs from Wikipedia (No. arXiv:1907.05791). arXiv. https://doi.org/10.48550/arXiv.1907.05791
510
+ - Schwenk, H., Wenzek, G., Edunov, S., Grave, E., & Joulin, A. (2020). CCMatrix: Mining Billions of High-Quality Parallel Sentences on the WEB (No. arXiv:1911.04944). arXiv. https://doi.org/10.48550/arXiv.1911.04944
511
+ - Steinberger, R., Pouliquen, B., Widiger, A., Ignat, C., Erjavec, T., Tufiş, D., & Varga, D. (n.d.). The JRC-Acquis: A Multilingual Aligned Parallel Corpus with 20+ Languages. http://www.lrec-conf.org/proceedings/lrec2006/pdf/340_pdf
512
+ - Subramani, N., Luccioni, S., Dodge, J., & Mitchell, M. (2023). Detecting Personal Information in Training Corpora: An Analysis. In A. Ovalle, K.-W. Chang, N. Mehrabi, Y. Pruksachatkun, A. Galystan, J. Dhamala, A. Verma, T. Cao, A. Kumar, & R. Gupta (Eds.), Proceedings of the 3rd Workshop on Trustworthy Natural Language Processing (TrustNLP 2023) (pp. 208–220). Association for Computational Linguistics. https://doi.org/10.18653/v1/2023.trustnlp-1.18
513
+ - Tiedemann, J. (23-25). Parallel Data, Tools and Interfaces in OPUS. In N. C. (Conference Chair), K. Choukri, T. Declerck, M. U. Doğan, B. Maegaard, J. Mariani, A. Moreno, J. Odijk, & S. Piperidis (Eds.), Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC’12). European Language Resources Association (ELRA). http://www.lrec-conf.org/proceedings/lrec2012/pdf/463_Paper
514
+ - Ziemski, M., Junczys-Dowmunt, M., & Pouliquen, B. (n.d.). The United Nations Parallel Corpus v1.0. https://aclanthology.org/L16-1561
515
+
516
+
517
+
518
+ </details>
519
+
520
+
521
+
522
+ ## Evaluation
523
+
524
+ Below are the evaluation results on Flores-200 dev and devtest compared to NLLB-3.3 ([Costa-jussà et al., 2022](https://arxiv.org/abs/2207.04672)) for CA-XX
525
+ and XX-CA directions. The metrics have been computed excluding Asturian, Aranese, and Aragonese as we report them separately. The evaluation was conducted
526
+ using [MT Lens](https://github.com/langtech-bsc/mt-evaluation) following the standard setting (beam search with beam size 5, limiting the translation length to 250 tokens). We report the following metrics:
527
+
528
+ <details>
529
+ <summary>Click to show metrics details</summary>
530
+
531
+ - `BLEU`: Sacrebleu implementation. Signature: nrefs:1— case:mixed— eff:no— tok:13a— smooth:exp—version:2.3.1
532
+ - `TER`: Sacrebleu implementation.
533
+ - `ChrF`: Sacrebleu implementation.
534
+ - `Comet`: Model checkpoint: "Unbabel/wmt22-comet-da".
535
+ - `Comet-kiwi`: Model checkpoint: "Unbabel/wmt22-cometkiwi-da".
536
+ - `Bleurt`: Model checkpoint: "lucadiliello/BLEURT-20".
537
+
538
+ </details>
539
+
540
+
541
+ #### Flores200-dev
542
+
543
+ | | Bleu ↑ | Ter ↓ | ChrF ↑ | Comet ↑ | Comet-kiwi ↑ | Bleurt ↑ |
544
+ |:-----------------------|-------:|------:|-------:|--------:|-------------:|---------:|
545
+ | **CA-XX** | | | | | | |
546
+ | SalamandraTA-2B | **27.41** | **60.88** | **56.27** | 0.86 | 0.82 | 0.76 |
547
+ | nllb 3.3B | 26.84 | 61.75 | 55.7 | 0.86 | 0.82 | 0.76 |
548
+ | **XX-CA** | | | | | | |
549
+ | SalamandraTA-2B | **30.75** | **57.66** | **57.6** | 0.85 | 0.81 | 0.73 |
550
+ | nllb 3.3B | 29.76 | 58.25 | 56.75 | 0.85 | **0.82** | 0.73 |
551
+
552
+
553
+ <details>
554
+ <summary>Click to show full table CA-XX Flores-dev</summary>
555
+
556
+ | | source | target | Bleu ↑ | Ter ↓ | ChrF ↑ | Comet ↑ | Comet-kiwi ↑ | Bleurt ↑ |
557
+ |:-----------------------|:---------|:---------|-------:|------:|-------:|--------:|-------------:|---------:|
558
+ | nllb 3.3B | ca | sv | 33.05 | 53.98 | 60.09 | 0.88 | 0.83 | 0.79 |
559
+ | SalamandraTA-2B | ca | sv | 30.62 | 55.4 | 57.77 | 0.87 | 0.81 | 0.78 |
560
+ | | | | | | | | | |
561
+ | SalamandraTA-2B | ca | sl | 25.74 | 63.78 | 54.29 | 0.88 | 0.83 | 0.81 |
562
+ | nllb 3.3B | ca | sl | 25.04 | 65.02 | 53.08 | 0.88 | 0.83 | 0.82 |
563
+ | | | | | | | | | |
564
+ | SalamandraTA-2B | ca | sk | 26.03 | 62.58 | 53.53 | 0.89 | 0.84 | 0.8 |
565
+ | nllb 3.3B | ca | sk | 25.59 | 63.17 | 53.28 | 0.89 | 0.84 | 0.8 |
566
+ | | | | | | | | | |
567
+ | SalamandraTA-2B | ca | ro | 33.08 | 54.36 | 59.18 | 0.89 | 0.85 | 0.8 |
568
+ | nllb 3.3B | ca | ro | 31.91 | 55.46 | 58.36 | 0.89 | 0.85 | 0.81 |
569
+ | | | | | | | | | |
570
+ | SalamandraTA-2B | ca | pt | 37.6 | 48.82 | 62.73 | 0.88 | 0.84 | 0.76 |
571
+ | nllb 3.3B | ca | pt | 36.85 | 49.56 | 62.02 | 0.88 | 0.85 | 0.76 |
572
+ | | | | | | | | | |
573
+ | nllb 3.3B | ca | pl | 17.97 | 73.06 | 47.94 | 0.88 | 0.84 | 0.78 |
574
+ | SalamandraTA-2B | ca | pl | 17.85 | 72.67 | 47.77 | 0.88 | 0.84 | 0.78 |
575
+ | | | | | | | | | |
576
+ | SalamandraTA-2B | ca | nl | 23.88 | 64.95 | 54.46 | 0.85 | 0.84 | 0.75 |
577
+ | nllb 3.3B | ca | nl | 23.26 | 66.46 | 54.17 | 0.85 | 0.85 | 0.75 |
578
+ | | | | | | | | | |
579
+ | SalamandraTA-2B | ca | mt | 25.62 | 59.08 | 60.83 | 0.69 | 0.61 | 0.43 |
580
+ | nllb 3.3B | ca | mt | 25.37 | 59.47 | 60.1 | 0.69 | 0.63 | 0.39 |
581
+ | | | | | | | | | |
582
+ | SalamandraTA-2B | ca | lv | 21.23 | 71.48 | 49.47 | 0.82 | 0.79 | 0.73 |
583
+ | nllb 3.3B | ca | lv | 20.56 | 70.88 | 50.07 | 0.85 | 0.78 | 0.77 |
584
+ | | | | | | | | | |
585
+ | SalamandraTA-2B | ca | lt | 19.92 | 71.02 | 50.88 | 0.87 | 0.8 | 0.81 |
586
+ | nllb 3.3B | ca | lt | 18.82 | 71.8 | 51.84 | 0.87 | 0.82 | 0.82 |
587
+ | | | | | | | | | |
588
+ | SalamandraTA-2B | ca | it | 26.76 | 60.67 | 56.3 | 0.88 | 0.85 | 0.77 |
589
+ | nllb 3.3B | ca | it | 26.42 | 61.47 | 55.66 | 0.87 | 0.86 | 0.77 |
590
+ | | | | | | | | | |
591
+ | SalamandraTA-2B | ca | hu | 22.8 | 66.41 | 53.41 | 0.86 | 0.82 | 0.85 |
592
+ | nllb 3.3B | ca | hu | 21.2 | 68.54 | 51.99 | 0.87 | 0.83 | 0.87 |
593
+ | | | | | | | | | |
594
+ | SalamandraTA-2B | ca | hr | 26.24 | 61.83 | 55.87 | 0.89 | 0.84 | 0.81 |
595
+ | nllb 3.3B | ca | hr | 24.04 | 64.25 | 53.79 | 0.89 | 0.85 | 0.82 |
596
+ | | | | | | | | | |
597
+ | nllb 3.3B | ca | gl | 32.85 | 51.69 | 59.33 | 0.87 | 0.85 | 0.72 |
598
+ | SalamandraTA-2B | ca | gl | 31.84 | 52.52 | 59.16 | 0.87 | 0.84 | 0.71 |
599
+ | | | | | | | | | |
600
+ | SalamandraTA-2B | ca | ga | 25.24 | 63.36 | 53.24 | 0.78 | 0.64 | 0.62 |
601
+ | nllb 3.3B | ca | ga | 23.51 | 66.54 | 51.53 | 0.77 | 0.66 | 0.62 |
602
+ | | | | | | | | | |
603
+ | SalamandraTA-2B | ca | fr | 40.14 | 48.34 | 64.24 | 0.86 | 0.84 | 0.73 |
604
+ | nllb 3.3B | ca | fr | 39.8 | 48.96 | 63.97 | 0.86 | 0.85 | 0.74 |
605
+ | | | | | | | | | |
606
+ | nllb 3.3B | ca | fi | 18.63 | 71.42 | 52.71 | 0.89 | 0.82 | 0.82 |
607
+ | SalamandraTA-2B | ca | fi | 18.49 | 71.46 | 52.09 | 0.88 | 0.8 | 0.8 |
608
+ | | | | | | | | | |
609
+ | SalamandraTA-2B | ca | eu | 18.75 | 71.09 | 57.05 | 0.87 | 0.81 | 0.8 |
610
+ | nllb 3.3B | ca | eu | 13.15 | 77.69 | 50.35 | 0.83 | 0.75 | 0.75 |
611
+ | | | | | | | | | |
612
+ | SalamandraTA-2B | ca | et | 22.03 | 67.55 | 54.87 | 0.88 | 0.8 | 0.79 |
613
+ | nllb 3.3B | ca | et | 20.07 | 70.66 | 53.19 | 0.88 | 0.81 | 0.8 |
614
+ | | | | | | | | | |
615
+ | nllb 3.3B | ca | es | 25.59 | 60.39 | 53.7 | 0.86 | 0.86 | 0.74 |
616
+ | SalamandraTA-2B | ca | es | 24.46 | 61.54 | 53.02 | 0.86 | 0.86 | 0.74 |
617
+ | | | | | | | | | |
618
+ | nllb 3.3B | ca | en | 49.62 | 37.33 | 71.65 | 0.89 | 0.86 | 0.8 |
619
+ | SalamandraTA-2B | ca | en | 46.62 | 40.03 | 70.23 | 0.88 | 0.86 | 0.79 |
620
+ | | | | | | | | | |
621
+ | SalamandraTA-2B | ca | el | 23.38 | 63 | 50.03 | 0.87 | 0.84 | 0.74 |
622
+ | nllb 3.3B | ca | el | 22.62 | 63.73 | 49.5 | 0.87 | 0.84 | 0.74 |
623
+ | | | | | | | | | |
624
+ | SalamandraTA-2B | ca | de | 31.89 | 57.12 | 59.07 | 0.84 | 0.83 | 0.75 |
625
+ | nllb 3.3B | ca | de | 31.19 | 57.87 | 58.47 | 0.85 | 0.84 | 0.76 |
626
+ | | | | | | | | | |
627
+ | SalamandraTA-2B | ca | da | 34.69 | 53.31 | 61.11 | 0.87 | 0.82 | 0.75 |
628
+ | nllb 3.3B | ca | da | 34.32 | 54.2 | 60.2 | 0.88 | 0.83 | 0.77 |
629
+ | | | | | | | | | |
630
+ | SalamandraTA-2B | ca | cs | 25.67 | 63.37 | 53.07 | 0.89 | 0.85 | 0.79 |
631
+ | nllb 3.3B | ca | cs | 25.02 | 63.59 | 52.43 | 0.89 | 0.85 | 0.79 |
632
+ | | | | | | | | | |
633
+ | SalamandraTA-2B | ca | bg | 32.09 | 57.01 | 59.4 | 0.89 | 0.85 | 0.84 |
634
+ | nllb 3.3B | ca | bg | 31.24 | 58.41 | 58.81 | 0.89 | 0.86 | 0.85 |
635
+
636
+ </details>
637
+
638
+
639
+ <details>
640
+ <summary>Click to show full table XX-CA Flores-dev</summary>
641
+
642
+ | | source | target | Bleu ↑ | Ter ↓ | ChrF ↑ | Comet ↑ | Comet-kiwi ↑ | Bleurt ↑ |
643
+ |:-----------------------|:---------|:---------|-------:|------:|-------:|--------:|-------------:|---------:|
644
+ | SalamandraTA-2B | sv | ca | 34.21 | 53 | 59.52 | 0.86 | 0.83 | 0.74 |
645
+ | nllb 3.3B | sv | ca | 33.03 | 53.42 | 59.02 | 0.86 | 0.84 | 0.75 |
646
+ | | | | | | | | | |
647
+ | SalamandraTA-2B | sl | ca | 28.98 | 59.95 | 56.24 | 0.85 | 0.82 | 0.72 |
648
+ | nllb 3.3B | sl | ca | 27.51 | 61.23 | 54.96 | 0.85 | 0.83 | 0.72 |
649
+ | | | | | | | | | |
650
+ | SalamandraTA-2B | sk | ca | 30.61 | 58.1 | 57.53 | 0.86 | 0.81 | 0.73 |
651
+ | nllb 3.3B | sk | ca | 29.24 | 58.93 | 56.29 | 0.86 | 0.83 | 0.73 |
652
+ | | | | | | | | | |
653
+ | SalamandraTA-2B | ro | ca | 33.73 | 54.23 | 60.11 | 0.87 | 0.83 | 0.75 |
654
+ | nllb 3.3B | ro | ca | 32.9 | 54.71 | 59.56 | 0.87 | 0.84 | 0.75 |
655
+ | | | | | | | | | |
656
+ | SalamandraTA-2B | pt | ca | 35.99 | 50.64 | 61.52 | 0.87 | 0.84 | 0.76 |
657
+ | nllb 3.3B | pt | ca | 34.63 | 51.15 | 60.68 | 0.87 | 0.84 | 0.76 |
658
+ | | | | | | | | | |
659
+ | SalamandraTA-2B | pl | ca | 25.77 | 64.99 | 53.46 | 0.84 | 0.82 | 0.71 |
660
+ | nllb 3.3B | pl | ca | 24.41 | 65.69 | 52.45 | 0.85 | 0.83 | 0.71 |
661
+ | | | | | | | | | |
662
+ | SalamandraTA-2B | nl | ca | 26.04 | 64.09 | 53.64 | 0.84 | 0.84 | 0.71 |
663
+ | nllb 3.3B | nl | ca | 25.35 | 64.64 | 53.15 | 0.84 | 0.85 | 0.71 |
664
+ | | | | | | | | | |
665
+ | SalamandraTA-2B | mt | ca | 37.51 | 50.18 | 62.42 | 0.79 | 0.69 | 0.75 |
666
+ | nllb 3.3B | mt | ca | 36.29 | 51.01 | 61.24 | 0.79 | 0.7 | 0.75 |
667
+ | | | | | | | | | |
668
+ | SalamandraTA-2B | lv | ca | 27.14 | 62.61 | 55.6 | 0.84 | 0.78 | 0.7 |
669
+ | nllb 3.3B | lv | ca | 27.02 | 61.12 | 54.28 | 0.84 | 0.79 | 0.71 |
670
+ | | | | | | | | | |
671
+ | SalamandraTA-2B | lt | ca | 27.76 | 61.3 | 54.52 | 0.84 | 0.76 | 0.71 |
672
+ | nllb 3.3B | lt | ca | 26.05 | 62.75 | 53.4 | 0.84 | 0.77 | 0.71 |
673
+ | | | | | | | | | |
674
+ | SalamandraTA-2B | it | ca | 28.44 | 61.09 | 57.12 | 0.87 | 0.85 | 0.74 |
675
+ | nllb 3.3B | it | ca | 27.79 | 61.42 | 56.62 | 0.87 | 0.86 | 0.74 |
676
+ | | | | | | | | | |
677
+ | SalamandraTA-2B | hu | ca | 28.15 | 60.01 | 55.29 | 0.85 | 0.81 | 0.72 |
678
+ | nllb 3.3B | hu | ca | 27.06 | 60.44 | 54.38 | 0.85 | 0.83 | 0.72 |
679
+ | | | | | | | | | |
680
+ | SalamandraTA-2B | hr | ca | 29.89 | 58.61 | 56.62 | 0.85 | 0.82 | 0.72 |
681
+ | nllb 3.3B | hr | ca | 28.23 | 59.55 | 55.37 | 0.86 | 0.84 | 0.73 |
682
+ | | | | | | | | | |
683
+ | nllb 3.3B | gl | ca | 34.28 | 52.34 | 60.86 | 0.87 | 0.85 | 0.76 |
684
+ | SalamandraTA-2B | gl | ca | 32.14 | 54.03 | 60.3 | 0.87 | 0.84 | 0.75 |
685
+ | | | | | | | | | |
686
+ | SalamandraTA-2B | ga | ca | 28.59 | 61.13 | 55.61 | 0.8 | 0.69 | 0.68 |
687
+ | nllb 3.3B | ga | ca | 28.09 | 61.12 | 54.55 | 0.8 | 0.7 | 0.68 |
688
+ | | | | | | | | | |
689
+ | SalamandraTA-2B | fr | ca | 34.53 | 52.9 | 60.38 | 0.87 | 0.83 | 0.76 |
690
+ | nllb 3.3B | fr | ca | 33.61 | 53.57 | 59.73 | 0.87 | 0.84 | 0.76 |
691
+ | | | | | | | | | |
692
+ | SalamandraTA-2B | fi | ca | 26.71 | 62.19 | 54.09 | 0.86 | 0.8 | 0.71 |
693
+ | nllb 3.3B | fi | ca | 26.31 | 62.6 | 54.06 | 0.86 | 0.82 | 0.71 |
694
+ | | | | | | | | | |
695
+ | SalamandraTA-2B | eu | ca | 27.93 | 60.26 | 55.27 | 0.87 | 0.83 | 0.73 |
696
+ | nllb 3.3B | eu | ca | 26.43 | 63.76 | 53.75 | 0.86 | 0.82 | 0.72 |
697
+ | | | | | | | | | |
698
+ | SalamandraTA-2B | et | ca | 30.03 | 58.25 | 56.88 | 0.86 | 0.79 | 0.72 |
699
+ | nllb 3.3B | et | ca | 27.56 | 59.95 | 54.92 | 0.86 | 0.8 | 0.72 |
700
+ | | | | | | | | | |
701
+ | nllb 3.3B | es | ca | 25.33 | 64.23 | 55.1 | 0.86 | 0.84 | 0.73 |
702
+ | SalamandraTA-2B | es | ca | 22.95 | 67.1 | 53.67 | 0.86 | 0.84 | 0.72 |
703
+ | | | | | | | | | |
704
+ | SalamandraTA-2B | en | ca | 43.55 | 42.62 | 67.03 | 0.88 | 0.85 | 0.78 |
705
+ | nllb 3.3B | en | ca | 42.21 | 43.63 | 65.95 | 0.88 | 0.85 | 0.78 |
706
+ | | | | | | | | | |
707
+ | SalamandraTA-2B | el | ca | 28.52 | 60.34 | 54.99 | 0.85 | 0.83 | 0.71 |
708
+ | nllb 3.3B | el | ca | 27.36 | 60.49 | 54.76 | 0.85 | 0.85 | 0.72 |
709
+ | | | | | | | | | |
710
+ | SalamandraTA-2B | de | ca | 33.07 | 54.46 | 59.06 | 0.85 | 0.84 | 0.74 |
711
+ | nllb 3.3B | de | ca | 31.43 | 56.05 | 57.95 | 0.86 | 0.85 | 0.74 |
712
+ | | | | | | | | | |
713
+ | SalamandraTA-2B | da | ca | 34.6 | 53.22 | 60.43 | 0.86 | 0.83 | 0.75 |
714
+ | nllb 3.3B | da | ca | 32.71 | 54.2 | 58.9 | 0.86 | 0.84 | 0.75 |
715
+ | | | | | | | | | |
716
+ | SalamandraTA-2B | cs | ca | 30.92 | 57.54 | 57.71 | 0.86 | 0.82 | 0.73 |
717
+ | nllb 3.3B | cs | ca | 29.02 | 58.78 | 56.44 | 0.86 | 0.83 | 0.73 |
718
+ | | | | | | | | | |
719
+ | SalamandraTA-2B | bg | ca | 31.68 | 56.32 | 58.61 | 0.85 | 0.84 | 0.73 |
720
+ | nllb 3.3B | bg | ca | 29.87 | 57.75 | 57.26 | 0.85 | 0.85 | 0.73 |
721
+
722
+
723
+ </details>
724
+
725
+ #### Flores200-devtest
726
+
727
+ | | Bleu ↑ | Ter ↓ | ChrF ↑ | Comet ↑ | Comet-kiwi ↑ | Bleurt ↑ |
728
+ |:-----------------------|-------:|------:|-------:|--------:|-------------:|---------:|
729
+ | **CA-XX** | | | | | | |
730
+ | SalamandraTA-2B | **27.09** | **61.06** | **56.41** | 0.86 | 0.81 | 0.75 |
731
+ | nllb 3.3B | 26.7 | 61.74 | 55.85 | 0.86 | **0.82** | **0.76** |
732
+ | **XX-CA** | | | | | | |
733
+ | SalamandraTA-2B | **31** | **57.46** | **57.96** | 0.85 | 0.81 | 0.73 |
734
+ | nllb 3.3B | 30.31 | 58.26 | 57.12 | 0.85 | **0.82** | 0.73 |
735
+
736
+ <details>
737
+ <summary>Click to show full table CA-XX Flores-devtest</summary>
738
+
739
+ | | source | target | Bleu ↑ | Ter ↓ | ChrF ↑ | Comet ↑ | Comet-kiwi ↑ | Bleurt ↑ |
740
+ |:-----------------------|:---------|:---------|-------:|------:|-------:|--------:|-------------:|---------:|
741
+ | nllb 3.3B | ca | sv | 32.49 | 55.11 | 59.93 | 0.88 | 0.82 | 0.79 |
742
+ | SalamandraTA-2B | ca | sv | 30.53 | 56.24 | 58.05 | 0.87 | 0.8 | 0.77 |
743
+ | | | | | | | | | |
744
+ | SalamandraTA-2B | ca | sl | 25.16 | 64.25 | 53.88 | 0.87 | 0.82 | 0.8 |
745
+ | nllb 3.3B | ca | sl | 24.64 | 66.02 | 52.71 | 0.88 | 0.82 | 0.81 |
746
+ | | | | | | | | | |
747
+ | SalamandraTA-2B | ca | sk | 25.64 | 63.03 | 53.55 | 0.88 | 0.83 | 0.79 |
748
+ | nllb 3.3B | ca | sk | 25.44 | 63.29 | 53.37 | 0.89 | 0.84 | 0.79 |
749
+ | | | | | | | | | |
750
+ | SalamandraTA-2B | ca | ro | 33.21 | 54.27 | 59.53 | 0.89 | 0.84 | 0.8 |
751
+ | nllb 3.3B | ca | ro | 31.29 | 56.44 | 58.16 | 0.89 | 0.85 | 0.8 |
752
+ | | | | | | | | | |
753
+ | SalamandraTA-2B | ca | pt | 37.9 | 48.95 | 63.15 | 0.88 | 0.84 | 0.75 |
754
+ | nllb 3.3B | ca | pt | 37.31 | 49.31 | 62.7 | 0.88 | 0.85 | 0.75 |
755
+ | | | | | | | | | |
756
+ | SalamandraTA-2B | ca | pl | 18.62 | 71.88 | 48.44 | 0.88 | 0.83 | 0.77 |
757
+ | nllb 3.3B | ca | pl | 18.01 | 72.23 | 48.26 | 0.88 | 0.83 | 0.77 |
758
+ | | | | | | | | | |
759
+ | SalamandraTA-2B | ca | nl | 23.4 | 65.66 | 54.55 | 0.85 | 0.84 | 0.74 |
760
+ | nllb 3.3B | ca | nl | 22.99 | 66.68 | 53.95 | 0.85 | 0.84 | 0.75 |
761
+ | | | | | | | | | |
762
+ | nllb 3.3B | ca | mt | 24.78 | 59.97 | 59.58 | 0.68 | 0.62 | 0.36 |
763
+ | SalamandraTA-2B | ca | mt | 24.35 | 60.1 | 60.51 | 0.69 | 0.6 | 0.4 |
764
+ | | | | | | | | | |
765
+ | SalamandraTA-2B | ca | lv | 20.55 | 71.85 | 50.24 | 0.82 | 0.78 | 0.74 |
766
+ | nllb 3.3B | ca | lv | 20.16 | 70.37 | 50.3 | 0.85 | 0.78 | 0.78 |
767
+ | | | | | | | | | |
768
+ | SalamandraTA-2B | ca | lt | 20.37 | 70.15 | 51.61 | 0.88 | 0.79 | 0.82 |
769
+ | nllb 3.3B | ca | lt | 19.95 | 70.47 | 52.49 | 0.88 | 0.81 | 0.81 |
770
+ | | | | | | | | | |
771
+ | SalamandraTA-2B | ca | it | 27.18 | 60.37 | 56.65 | 0.88 | 0.85 | 0.77 |
772
+ | nllb 3.3B | ca | it | 26.83 | 60.96 | 56.33 | 0.88 | 0.85 | 0.77 |
773
+ | | | | | | | | | |
774
+ | SalamandraTA-2B | ca | hu | 21.76 | 66.96 | 53.45 | 0.86 | 0.81 | 0.85 |
775
+ | nllb 3.3B | ca | hu | 20.54 | 68.28 | 52.2 | 0.87 | 0.82 | 0.87 |
776
+ | | | | | | | | | |
777
+ | SalamandraTA-2B | ca | hr | 25.41 | 62.55 | 55.65 | 0.89 | 0.84 | 0.81 |
778
+ | nllb 3.3B | ca | hr | 24.01 | 64.39 | 53.95 | 0.89 | 0.84 | 0.82 |
779
+ | | | | | | | | | |
780
+ | nllb 3.3B | ca | gl | 32.33 | 52.64 | 59.3 | 0.87 | 0.85 | 0.71 |
781
+ | SalamandraTA-2B | ca | gl | 31.97 | 52.76 | 59.48 | 0.87 | 0.84 | 0.7 |
782
+ | | | | | | | | | |
783
+ | SalamandraTA-2B | ca | ga | 23.19 | 66.3 | 51.99 | 0.77 | 0.64 | 0.6 |
784
+ | nllb 3.3B | ca | ga | 22.38 | 67.76 | 50.92 | 0.77 | 0.66 | 0.6 |
785
+ | | | | | | | | | |
786
+ | nllb 3.3B | ca | fr | 40.82 | 47.72 | 64.82 | 0.86 | 0.85 | 0.74 |
787
+ | SalamandraTA-2B | ca | fr | 40.35 | 47.79 | 64.56 | 0.86 | 0.84 | 0.73 |
788
+ | | | | | | | | | |
789
+ | nllb 3.3B | ca | fi | 18.93 | 70.8 | 53.03 | 0.89 | 0.81 | 0.82 |
790
+ | SalamandraTA-2B | ca | fi | 18.92 | 70.69 | 52.85 | 0.88 | 0.8 | 0.8 |
791
+ | | | | | | | | | |
792
+ | SalamandraTA-2B | ca | eu | 18.33 | 72 | 56.65 | 0.86 | 0.81 | 0.79 |
793
+ | nllb 3.3B | ca | eu | 12.79 | 78.69 | 50.19 | 0.83 | 0.75 | 0.75 |
794
+ | | | | | | | | | |
795
+ | SalamandraTA-2B | ca | et | 21.45 | 67.08 | 55.01 | 0.88 | 0.8 | 0.79 |
796
+ | nllb 3.3B | ca | et | 19.84 | 70.08 | 53.48 | 0.88 | 0.8 | 0.79 |
797
+ | | | | | | | | | |
798
+ | nllb 3.3B | ca | es | 25.87 | 59.66 | 54.06 | 0.86 | 0.86 | 0.74 |
799
+ | SalamandraTA-2B | ca | es | 24.73 | 60.79 | 53.48 | 0.86 | 0.86 | 0.73 |
800
+ | | | | | | | | | |
801
+ | nllb 3.3B | ca | en | 48.41 | 38.1 | 71.29 | 0.89 | 0.86 | 0.8 |
802
+ | SalamandraTA-2B | ca | en | 45.19 | 41.18 | 69.46 | 0.88 | 0.85 | 0.78 |
803
+ | | | | | | | | | |
804
+ | SalamandraTA-2B | ca | el | 22.78 | 63.17 | 49.97 | 0.87 | 0.83 | 0.73 |
805
+ | nllb 3.3B | ca | el | 22.59 | 63.8 | 49.33 | 0.87 | 0.83 | 0.73 |
806
+ | | | | | | | | | |
807
+ | SalamandraTA-2B | ca | de | 31.31 | 57.16 | 59.42 | 0.85 | 0.83 | 0.75 |
808
+ | nllb 3.3B | ca | de | 31.25 | 57.87 | 59.05 | 0.85 | 0.83 | 0.75 |
809
+ | | | | | | | | | |
810
+ | SalamandraTA-2B | ca | da | 34.83 | 53.16 | 61.44 | 0.88 | 0.82 | 0.75 |
811
+ | nllb 3.3B | ca | da | 34.43 | 53.82 | 60.73 | 0.88 | 0.83 | 0.76 |
812
+ | | | | | | | | | |
813
+ | SalamandraTA-2B | ca | cs | 24.98 | 63.45 | 53.11 | 0.89 | 0.84 | 0.77 |
814
+ | nllb 3.3B | ca | cs | 24.73 | 63.94 | 52.66 | 0.89 | 0.85 | 0.78 |
815
+ | | | | | | | | | |
816
+ | SalamandraTA-2B | ca | bg | 32.25 | 55.76 | 59.85 | 0.89 | 0.85 | 0.84 |
817
+ | nllb 3.3B | ca | bg | 31.45 | 56.93 | 59.29 | 0.89 | 0.85 | 0.85 |
818
+
819
+ </details>
820
+
821
+ <details>
822
+ <summary>Click to show full table XX-CA Flores-devtest</summary>
823
+
824
+ | | source | target | Bleu ↑ | Ter ↓ | ChrF ↑ | Comet ↑ | Comet-kiwi ↑ | Bleurt ↑ |
825
+ |:-----------------------|:---------|:---------|-------:|------:|-------:|--------:|-------------:|---------:|
826
+ | SalamandraTA-2B | sv | ca | 34.4 | 52.6 | 59.96 | 0.86 | 0.82 | 0.73 |
827
+ | nllb 3.3B | sv | ca | 33.4 | 53.19 | 59.29 | 0.86 | 0.83 | 0.74 |
828
+ | | | | | | | | | |
829
+ | SalamandraTA-2B | sl | ca | 29.12 | 59.26 | 56.56 | 0.85 | 0.8 | 0.71 |
830
+ | nllb 3.3B | sl | ca | 28.23 | 60.61 | 55.34 | 0.85 | 0.82 | 0.72 |
831
+ | | | | | | | | | |
832
+ | SalamandraTA-2B | sk | ca | 30.71 | 57.99 | 57.81 | 0.85 | 0.8 | 0.72 |
833
+ | nllb 3.3B | sk | ca | 29.79 | 58.99 | 56.61 | 0.85 | 0.82 | 0.73 |
834
+ | | | | | | | | | |
835
+ | SalamandraTA-2B | ro | ca | 34.79 | 53.37 | 61.22 | 0.87 | 0.83 | 0.75 |
836
+ | nllb 3.3B | ro | ca | 33.53 | 54.36 | 60.18 | 0.87 | 0.84 | 0.75 |
837
+ | | | | | | | | | |
838
+ | SalamandraTA-2B | pt | ca | 36.72 | 50.64 | 62.08 | 0.87 | 0.84 | 0.76 |
839
+ | nllb 3.3B | pt | ca | 36.11 | 50.96 | 61.33 | 0.87 | 0.84 | 0.76 |
840
+ | | | | | | | | | |
841
+ | SalamandraTA-2B | pl | ca | 25.62 | 64.15 | 53.55 | 0.85 | 0.81 | 0.71 |
842
+ | nllb 3.3B | pl | ca | 25.14 | 64.43 | 53.09 | 0.85 | 0.83 | 0.71 |
843
+ | | | | | | | | | |
844
+ | SalamandraTA-2B | nl | ca | 26.17 | 63.88 | 54.01 | 0.84 | 0.83 | 0.7 |
845
+ | nllb 3.3B | nl | ca | 25.61 | 64.26 | 53.43 | 0.84 | 0.85 | 0.71 |
846
+ | | | | | | | | | |
847
+ | SalamandraTA-2B | mt | ca | 36.97 | 50.43 | 62.69 | 0.79 | 0.68 | 0.75 |
848
+ | nllb 3.3B | mt | ca | 36.03 | 51.51 | 61.46 | 0.79 | 0.69 | 0.74 |
849
+ | | | | | | | | | |
850
+ | SalamandraTA-2B | lv | ca | 27.81 | 61.96 | 56.12 | 0.84 | 0.77 | 0.7 |
851
+ | nllb 3.3B | lv | ca | 26.83 | 63.33 | 53.93 | 0.84 | 0.78 | 0.7 |
852
+ | | | | | | | | | |
853
+ | SalamandraTA-2B | lt | ca | 27.29 | 61.15 | 54.14 | 0.84 | 0.75 | 0.7 |
854
+ | nllb 3.3B | lt | ca | 26.13 | 62.2 | 53.17 | 0.84 | 0.77 | 0.7 |
855
+ | | | | | | | | | |
856
+ | SalamandraTA-2B | it | ca | 29.12 | 60.95 | 57.85 | 0.87 | 0.85 | 0.74 |
857
+ | nllb 3.3B | it | ca | 28.06 | 61.81 | 57.06 | 0.87 | 0.85 | 0.74 |
858
+ | | | | | | | | | |
859
+ | SalamandraTA-2B | hu | ca | 28.21 | 60.54 | 55.38 | 0.85 | 0.81 | 0.71 |
860
+ | nllb 3.3B | hu | ca | 27.58 | 60.77 | 54.76 | 0.85 | 0.83 | 0.72 |
861
+ | | | | | | | | | |
862
+ | SalamandraTA-2B | hr | ca | 30.13 | 57.59 | 57.25 | 0.86 | 0.81 | 0.72 |
863
+ | nllb 3.3B | hr | ca | 29.15 | 62.59 | 56.04 | 0.86 | 0.83 | 0.72 |
864
+ | | | | | | | | | |
865
+ | nllb 3.3B | gl | ca | 34.23 | 53.25 | 61.28 | 0.88 | 0.85 | 0.76 |
866
+ | SalamandraTA-2B | gl | ca | 32.09 | 54.77 | 60.42 | 0.87 | 0.84 | 0.75 |
867
+ | | | | | | | | | |
868
+ | SalamandraTA-2B | ga | ca | 28.11 | 62.93 | 55.28 | 0.8 | 0.68 | 0.67 |
869
+ | nllb 3.3B | ga | ca | 27.73 | 62.91 | 53.93 | 0.79 | 0.69 | 0.66 |
870
+ | | | | | | | | | |
871
+ | SalamandraTA-2B | fr | ca | 35.87 | 52.28 | 61.2 | 0.87 | 0.83 | 0.75 |
872
+ | nllb 3.3B | fr | ca | 34.42 | 53.05 | 60.31 | 0.87 | 0.84 | 0.76 |
873
+ | | | | | | | | | |
874
+ | SalamandraTA-2B | fi | ca | 27.35 | 61.33 | 54.95 | 0.86 | 0.8 | 0.7 |
875
+ | nllb 3.3B | fi | ca | 27.04 | 62.35 | 54.48 | 0.86 | 0.81 | 0.71 |
876
+ | | | | | | | | | |
877
+ | SalamandraTA-2B | eu | ca | 28.02 | 60.45 | 55.44 | 0.87 | 0.82 | 0.73 |
878
+ | nllb 3.3B | eu | ca | 26.68 | 62.62 | 54.22 | 0.86 | 0.82 | 0.71 |
879
+ | | | | | | | | | |
880
+ | SalamandraTA-2B | et | ca | 29.84 | 58.79 | 56.74 | 0.86 | 0.78 | 0.72 |
881
+ | nllb 3.3B | et | ca | 28.43 | 60.01 | 55.48 | 0.86 | 0.79 | 0.72 |
882
+ | | | | | | | | | |
883
+ | nllb 3.3B | es | ca | 25.64 | 64.21 | 55.18 | 0.87 | 0.85 | 0.73 |
884
+ | SalamandraTA-2B | es | ca | 23.47 | 66.71 | 54.05 | 0.86 | 0.84 | 0.72 |
885
+ | | | | | | | | | |
886
+ | SalamandraTA-2B | en | ca | 43.98 | 42.35 | 67.3 | 0.87 | 0.85 | 0.77 |
887
+ | nllb 3.3B | en | ca | 43.24 | 43.37 | 66.58 | 0.88 | 0.85 | 0.78 |
888
+ | | | | | | | | | |
889
+ | SalamandraTA-2B | el | ca | 28.91 | 59.86 | 55.26 | 0.85 | 0.83 | 0.71 |
890
+ | nllb 3.3B | el | ca | 28.46 | 60.28 | 55.13 | 0.85 | 0.84 | 0.72 |
891
+ | | | | | | | | | |
892
+ | SalamandraTA-2B | de | ca | 33.71 | 54.06 | 59.79 | 0.86 | 0.83 | 0.74 |
893
+ | nllb 3.3B | de | ca | 32.71 | 54.91 | 58.91 | 0.86 | 0.84 | 0.74 |
894
+ | | | | | | | | | |
895
+ | SalamandraTA-2B | da | ca | 35.14 | 52.51 | 60.81 | 0.86 | 0.82 | 0.74 |
896
+ | nllb 3.3B | da | ca | 34.03 | 53.41 | 59.46 | 0.86 | 0.83 | 0.75 |
897
+ | | | | | | | | | |
898
+ | SalamandraTA-2B | cs | ca | 31.12 | 56.71 | 58.22 | 0.86 | 0.81 | 0.73 |
899
+ | nllb 3.3B | cs | ca | 29.26 | 58.38 | 56.53 | 0.86 | 0.82 | 0.73 |
900
+ | | | | | | | | | |
901
+ | SalamandraTA-2B | bg | ca | 31.33 | 56.72 | 58.75 | 0.85 | 0.84 | 0.73 |
902
+ | nllb 3.3B | bg | ca | 30.5 | 57.03 | 57.92 | 0.85 | 0.85 | 0.73 |
903
+
904
+ </details>
905
+
906
+ ## Evaluation Aranese, Aragonese, Asturian
907
+
908
+ Using [MT Lens](https://github.com/langtech-bsc/mt-evaluation) we evaluate Spanish-Asturian (ast), Spanish-Aragonese (an) and Spanish-Aranese (arn) on BLEU and ChrF scores on the [Flores+ dev](https://github.com/openlanguagedata/flores) evaluation dataset. We also report BLEU and ChrF scores for catalan directions.
909
+
910
+ ### Asturian Flores+ dev
911
+
912
+ Below are the evaluation results compared to [Apertium](https://www.apertium.org/), [Eslema](https://eslema.it.uniovi.es/) and NLLB ([Costa-jussà et al., 2022](https://arxiv.org/abs/2207.04672)).
913
+
914
+ | | source | target | Bleu | ChrF |
915
+ |:-----------------------|:---------|:---------|------:|-------:|
916
+ | nllb 3.3B | es | ast | **18.78** | 50.5 |
917
+ | Eslema | es | ast | 17.30 | **50.77** |
918
+ | nllb 600M | es | ast | 17.23 | 49.72 |
919
+ | SalamandraTA-2B | es | ast | 17.11 | 49.49 |
920
+ | Apertium | es | ast | 16.66 | 50.57 |
921
+ | | | | | | | | | |
922
+ | | | | | | | | | |
923
+ | nllb 3.3B | ca | ast | **25.87** | 54.9 |
924
+ | SalamandraTA-2B | ca | ast | 25.17 | **55.17** |
925
+
926
+
927
+ ### Aragonese Flores+ dev
928
+
929
+ Below are the evaluation results on compared to [Apertium](https://www.apertium.org/), [Softcatalà](https://www.softcatala.org/traductor/) and [Traduze](https://traduze.aragon.es).
930
+
931
+ | | source | target | Bleu | ChrF |
932
+ |:-----------------------|:---------|:---------|-------:|-------:|
933
+ | Apertium | es | an | **65.34** | **82.00** |
934
+ | Softcatalà | es | an | 50.21 | 73.97 |
935
+ | SalamandraTA-2B | es | an | 49.13 | 74.22 |
936
+ | Traduze | es | an | 37.43 | 69.51 |
937
+ | | | | | | | | | |
938
+ | | | | | | | | | |
939
+ | SalamandraTA-2B | ca | an | 17.06 | 49.12 |
940
+
941
+
942
+ ### Aranese Flores+ dev
943
+
944
+ Below are the evaluation results on compared to [Apertium](https://www.apertium.org/) and [Softcatalà](https://www.softcatala.org/traductor/).
945
+
946
+
947
+ | | source | target | Bleu | ChrF |
948
+ |:-----------------------|:---------|:---------|-------:|-------:|
949
+ | Apertium | es | arn | **48.96** | **72.63** |
950
+ | Softcatalà | es | arn | 34.43 | 58.61 |
951
+ | SalamandraTA-2B | es | arn | 34.35 | 57.78 |
952
+ | | | | | | | | | |
953
+ | | | | | | | | | |
954
+ | SalamandraTA-2B | ca | arn | 21.95 | 48.67 |
955
+
956
+
957
+
958
+ ## Ethical Considerations and Limitations
959
+
960
+ Detailed information on the work done to examine the presence of unwanted social and cognitive biases in the base model can be found
961
+ at [Salamandra-2B model card](https://huggingface.co/BSC-LT/salamandra-2b).
962
+ With regard to MT models, no specific analysis has yet been carried out in order to evaluate potential biases or limitations in translation
963
+ accuracy across different languages, dialects, or domains. However, we recognize the importance of identifying and addressing any harmful stereotypes,
964
+ cultural inaccuracies, or systematic performance discrepancies that may arise in Machine Translation. As such, we plan to perform more analyses as soon
965
+ as we have implemented the necessary metrics and methods within our evaluation framework [MT Lens](https://github.com/langtech-bsc/mt-evaluation).
966
+
967
+
968
+ ## Additional information
969
+
970
+ ### Author
971
+ The Language Technologies Unit from Barcelona Supercomputing Center.
972
+
973
+ ### Contact
974
+ For further information, please send an email to <langtech@bsc.es>.
975
+
976
+ ### Copyright
977
+ Copyright(c) 2024 by Language Technologies Unit, Barcelona Supercomputing Center.
978
+
979
+ ### Funding
980
+ This work has been promoted and financed by the Government of Catalonia through the [Aina Project](https://projecteaina.cat/).
981
+
982
+ This work is funded by the _Ministerio para la Transformación Digital y de la Función Pública_ - Funded by EU – NextGenerationEU
983
+ within the framework of [ILENIA Project](https://proyectoilenia.es/) with reference 2022/TL22/00215337.
984
+
985
+
986
+ ### Disclaimer
987
+ Be aware that the model may contain biases or other unintended distortions.
988
+ When third parties deploy systems or provide services based on this model, or use the model themselves,
989
+ they bear the responsibility for mitigating any associated risks and ensuring compliance with applicable regulations,
990
+ including those governing the use of Artificial Intelligence.
991
+
992
+ 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.
993
+
994
+ ### License
995
+ [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
salamandrata-2b.Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ab3110b79f4a9fa40da154d25583dfb556dc025b81f40f803df99dc058aa643
3
+ size 1409548704