The "whisper-timestamped-cs" is an acoustic model based on
"openai/whisper-large-v3" suitable for Automatic Speech Recognition in code-switching conditions between Spanish and Catalan.
The "whisper-timestamped-cs" is an acoustic model suitable for Automatic Speech Recognition in code-switching conditions between Spanish and Catalan. It is the result of finetuning the model
"openai/whisper-large-v3" with
CAESAR-TINY, a 2-hour code-switching dataset in Spanish/Catalan.
This model can be used for Automatic Speech Recognition (ASR) in code-switching conditions between Spanish and Catalan. The model is intended to transcribe audio files to plain text.
To use this model, you may install
whisper-timestamped:
To transcribe audio in code-switching using this model, you can follow this example:
1import whisper_timestamped as whisper
2
3model = whisper.load_model("langtech-veu/whisper-timestamped-cs", device="cpu")
4result = whisper.transcribe(model, "/path/to/the/audio.wav")
5
6import json
7print(json.dumps(result, indent = 2, ensure_ascii = False))
The specific dataset used to create the model is a corpus called
CAESAR-TINY, a 2-hour code-switching dataset in Spanish/Catalan.
1@misc{BSC2025whispertimestampedcs,
2 title={ASR models for Catalan and Spanish CS: whisper-timestamped-cs.},
3 author={Takanori, Lucas; Solito, Sarah; Messaoudi, Abir; España i Bonet, Cristina},
4 organization={Barcelona Supercomputing Center},
5 url={https://huggingface.co/langtech-veu/whisper-timestamped-cs},
6 year={2025}
7}
The fine-tuning process was performed during 2025 in the
Language Technologies Laboratory of the
Barcelona Supercomputing Center.
For further information, please email
bsc-lt@bsc.es.
Copyright(c) 2025 by Language Technologies Laboratory, Barcelona Supercomputing Center.
This work has been promoted and financed by the Generalitat de Catalunya through the
Aina project.
The training of the model was possible thanks to the computing time provided by
Barcelona Supercomputing Center through MareNostrum 5.