This is a HuBERT Base model pre-trained using 6,000 hours of Iberian languages speech data (Spanish, Catalan, Basque, Galician, Aranese, plus English).
The model architecture is the same as the
original HuBERT Base model
, which contains 12 transformer layers.
Pre-training was done by
Barcelona Supercomputing Center
.
Intended Uses and Limitations
This pre-trained model generates Speech Representations that can be used for any Iberian speech-related task.
This model does not have a tokenizer as it was pretrained on audio alone.
In order to use this model for Automatic Speech Recognition, a tokenizer should be created and the model should be fine-tuned on labeled text data.
Check out
this blog
for more in-detail explanation of how to fine-tune the model for Speech Recognition.
For an explanation of how to fine-tune the model for Audio Classification, check out
this tutorial
.
Pre-training Details
This model was pre-trained using code from the
official repository
, and the detailed training configuration can be found in the same repository and the
original paper
.
For pre-training, a 6,000 hours dataset was created using subsets from training splits from the following datasets:
To assess the pre-trained Speech Representations' quality, we evaluated them using two indirect tasks: Automatic Speech Recognition (ASR) and Language Identification (LID).
Automatic Speech Recognition
For each language (Spanish, Catalan, Basque, Galician, Aranese, and English), we created train and validation ASR-labelled datasets using 50 hours subsamples from Common Voice train splits (except for Aranese, were we used 2 hours of Aranese, plus 30 hours of Catalan).
For testing, we used each language Common Voice test split.
We fine-tuned on this ASR-labelled training splits the following models:
All of these models were pre-trained using exactly the same configurations.
We trained them for 20 epochs.
For the fine-tuning process, we froze models' parameters using the freeze_feature_encoder() method.
All models have 94M parameters, 95% of them were fine-tuned.
The results were the following:
Model
Avg WER ↑
Spanish WER
Catalan WER
Basque WER
Galician WER
Aranese WER
English WER
hubert-base-los-6k
22.4%
17.3%
17.6%
10.6%
11.4%
31.4%
46.0%
mHuBERT-147
24.7%
21.4%
22.6%
15.3%
15.8%
38.7%
34.6%
hubert-base-los-2k
25.7%
16.7%
17.5%
9.1%
11.4%
44.3%
55.5%
Language Identification
We created train and validation Language Identification labelled splits using subsamples from each language Common Voice train split.
That is, we randomly selected 5 hours for Spanish, 5 hours for Catalan, 5 hours for Basque, 5 hours for Galician, 5 hours for English and 2 hours for Aranese.
For testing, we created a test split concatenating all the Spanish, Catalan, Basque, Galician, Aranese and English test splits from Common Voice.
We fine-tuned on this 22 hours labelled training split the following models:
All of these models were pre-trained using exactly the same configurations.
We trained them for 10 epochs.
For the fine-tuning process, we froze models' parameters using the freeze_base_model() method.
All the models have 94M parameters, 0.2% of them were fine-tuned.
The results were the following:
Model
F1-score Macro ↓
Spanish F1-score
Catalan F1-score
Basque F1-score
Galician F1-score
Aranese F1-score
English F1-score
hubert-base-los-6k
80.5%
91.2%
90.4%
98.8%
90.3%
15.0%
97.5%
hubert-base-los-2k
80.3%
92.2%
90.2%
98.9%
94.1%
12.9%
93.8%
mHuBERT-147
72.3%
82.7%
83.5%
91.1%
75.2%
7.3%
93.9%
How to use the model
Speech Representations
To obtain Speech Representations (HuBERT outputs) from audio in Iberian languages using this model, you can follow this example:
(Using fsspec==2025.3.0, datasets==3.6.0 and transformers==4.52.2 is recomended).
Important remark: the k-means model available in this repo and used for extracting Discrete Speech Representations was trained using HuBERT's 6th layer.
To obtain Discrete Speech Representations (HuBERT's k-means centroids) from audio in Iberian languages using this model, you can follow this example:
(Using fsspec==2025.3.0, datasets==3.6.0 and transformers==4.52.2 is recomended).
In order to use this model for Speech Recognition, a tokenizer should be created and the model should be fine-tuned on labeled text data.
Check out
this blog
for more in-detail explanation of how to fine-tune the model for Speech Recognition.
Audio Classification
For an explanation of how to fine-tune the model for Audio Classification, check out
this tutorial
.
Citation
If this model contributes to your research, please cite the work:
@misc{costa2026hubertbaselos6k,
title={LOSHuBERT: the first full Iberian pre-trained HuBERT.},
author={Costa, Federico; Messaoudi, Abir; Peiró-Lilja, Alex; Casals-Salvador, Marc; España-Bonet, Cristina},
organization={Barcelona Supercomputing Center},
url={https://huggingface.co/BSC-LT/hubert-base-los-6k},
year={2026}
}
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 Desarrollo de Modelos ALIA.
The training of the model was possible thanks to the computing time provided by
Barcelona Supercomputing Center
through MareNostrum 5.
We acknowledge EuroHPC Joint Undertaking for awarding us access to MareNostrum5 as BSC, Spain.
Acknowledgements
We acknowledge the following collaborations:
Proxecto Nós (Instituto da Lingua Galega, USC), for developing Nos_RG-Podcast-GL, Nos_ParlaSpeech-GL, Nos_Transcrispeech-GL, Nos_Celtia-GL datasets.
The Corts Valencianes data have been collected thanks to the intervention of the NEL-VIVES campaign, an initiative developed by Cenid, the Digital Intelligence Center of the University of Alicante.
Runs of BSC-LT hubert-base-los-6k on huggingface.co
89
Total runs
0
24-hour runs
-7
3-day runs
-24
7-day runs
-866
30-day runs
More Information About hubert-base-los-6k huggingface.co Model
hubert-base-los-6k huggingface.co
hubert-base-los-6k huggingface.co is an AI model on huggingface.co that provides hubert-base-los-6k's model effect (), which can be used instantly with this BSC-LT hubert-base-los-6k model. huggingface.co supports a free trial of the hubert-base-los-6k model, and also provides paid use of the hubert-base-los-6k. Support call hubert-base-los-6k model through api, including Node.js, Python, http.
hubert-base-los-6k huggingface.co is an online trial and call api platform, which integrates hubert-base-los-6k's modeling effects, including api services, and provides a free online trial of hubert-base-los-6k, you can try hubert-base-los-6k online for free by clicking the link below.
BSC-LT hubert-base-los-6k online free url in huggingface.co:
hubert-base-los-6k is an open source model from GitHub that offers a free installation service, and any user can find hubert-base-los-6k on GitHub to install. At the same time, huggingface.co provides the effect of hubert-base-los-6k install, users can directly use hubert-base-los-6k installed effect in huggingface.co for debugging and trial. It also supports api for free installation.