Whisper Base Catalan
Model summary
Whisper Base Catalan is an automatic speech recognition (ASR) model for Catalan (ca) speech. It is fine-tuned from [openai/whisper-base] on the Catalan subset of Mozilla Common Voice 13.0, achieving a Word Error Rate (WER) of 13.79% on the evaluation split.
This model is intended for higher-quality Catalan transcription compared to the tiny variant.
Model description
- Architecture: Transformer-based encoder–decoder (Whisper)
- Base model: openai/whisper-base
- Language: Catalan (ca)
- Task: Automatic Speech Recognition (ASR)
- Output: Text transcription in Catalan
- Decoding: Autoregressive sequence-to-sequence decoding
Fine-tuned to improve transcription accuracy on Catalan audio using Whisper’s pretrained multilingual knowledge.
Intended use
Primary use cases
- Transcription of Catalan audio recordings with higher accuracy
- Research and development in Catalan ASR
- Media, educational, or accessibility applications
Out-of-scope use
- Real-time or low-latency transcription without optimization
- Speech translation
- Safety-critical applications without further validation
Limitations and known issues
- Performance may degrade on:
- Noisy or low-quality recordings
- Conversational or spontaneous speech
- Regional dialects not well represented in Common Voice
- Dataset biases may influence output
- Occasional transcription errors on difficult audio
Training and evaluation data
Dataset: Mozilla Common Voice 13.0 (Catalan subset)
Data type: Crowd-sourced, read speech
Preprocessing:
- Audio resampled to 16 kHz
- Text normalized using Whisper tokenizer
- Filtering of invalid or problematic samples
Evaluation metric: Word Error Rate (WER) on held-out evaluation set
Evaluation results
| Metric |
Value |
| WER (eval) |
13.79% |
Training procedure
Training hyperparameters
- Learning rate: 2.5e-5
- Optimizer: Adam (β1=0.9, β2=0.999, ε=1e-8)
- LR scheduler: Linear
- Warmup steps: 500
- Training steps: 5,000
- Train batch size: 128
- Eval batch size: 64
- Seed: 42
Training results (summary)
| Training Loss |
Epoch |
Step |
Validation Loss |
WER |
| 0.0975 |
3.05 |
1000 |
0.3560 |
19.4421 |
| 0.1381 |
7.04 |
2000 |
0.3066 |
16.1486 |
| 0.1302 |
11.04 |
3000 |
0.2902 |
15.4296 |
| 0.1089 |
15.03 |
4000 |
0.2699 |
14.0726 |
| 0.0505 |
19.03 |
5000 |
0.2782 |
13.7897 |
Framework versions
- Transformers 4.33.0.dev0
- PyTorch 2.0.1+cu117
- Datasets 2.14.4
- Tokenizers 0.13.3
How to use
from transformers import pipeline
hf_model = "HiTZ/whisper-base-ca"
device = 0
pipe = pipeline(
task="automatic-speech-recognition",
model=hf_model,
device=device
)
result = pipe("audio.wav")
print(result["text"])
Ethical considerations and risks
- This model transcribes speech and may process personal data.
- Users should ensure compliance with applicable data protection laws (e.g., GDPR).
- The model should not be used for surveillance or non-consensual audio processing.
Citation
If you use this model in your research, please cite:
@misc{dezuazo2025whisperlmimprovingasrmodels,
title={Whisper-LM: Improving ASR Models with Language Models for Low-Resource Languages},
author={Xabier de Zuazo and Eva Navas and Ibon Saratxaga and Inma Hernáez Rioja},
year={2025},
eprint={2503.23542},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Please, check the related paper preprint in
arXiv:2503.23542
for more details.
License
This model is available under the
Apache-2.0 License.
You are free to use, modify, and distribute this model as long as you credit
the original creators.
Contact and attribution
- Fine-tuning and evaluation: HiTZ/Aholab - Basque Center for Language Technology
- Base model: OpenAI Whisper
- Dataset: Mozilla Common Voice
For questions or issues, please open an issue in the model repository.