Downloads · 30 days
11
4% of all-time downloads
langtech-veu/faster-whisper-timestamped-cs
faster-whisper-timestamped-cs is a automatic speech recognition model from langtech-veu. Use it when you need speech turned into text. The card lists the license as apache-2.0.
<details <summaryClick to expand</summary
Downloads · 30 days
11
4% of all-time downloads
All-time downloads
279
Public
Repo size
3.1 GB
Likes
0
Public
Click a slice to open those files.
.bin3.1 GB · 100%
From the Hugging Face model README
The "langtech-veu/faster-whisper-timestamped-cs" is an acoustic model based on a faster-whisper version of langtech-veu/whisper-timestamped-cs suitable for Automatic Speech Recognition in Code-switching between Catalan and Spanish.
The "langtech-veu/faster-whisper-timestamped-cs" is the result of converting the whisper-timestamped-cs into a lighter model using a Python module called faster-whisper.
This model can be used for Automatic Speech Recognition (ASR) in code-switching between Catalan and Spanish. The model intends to transcribe Catalan and Spanish audio files to plain text without punctuation.
To see an updated and functional version of this code, please visit our Notebook.
To use this model, you may install faster-whisper
Create a virtual environment:
python -m venv /path/to/venv
Activate the environment:
source /path/to/venv/bin/activate
Install the modules:
pip install faster-whisper
To transcribe audio in Catalan or Spanish using this model, you can follow this example:
from faster_whisper import WhisperModel
model_size = "langtech-veu/faster-whisper-timestamped-cs"
# Run on GPU with FP16
model = WhisperModel(model_size, device="cuda", compute_type="float16")
# or run on GPU with INT8
#model = WhisperModel(model_size, device="cuda", compute_type="int8_float16")
# or run on CPU with INT8
# model = WhisperModel(model_size, device="cpu", compute_type="int8")
segments, info = model.transcribe("audio.mp3", task="transcribe")
for segment in segments:
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
This model is not a direct result of training. It is a conversion of a Whisper model using faster-whisper. The procedure to create the model is as follows:
ct2-transformers-converter --model langtech-veu/whisper-timestamped-cs
--output_dir faster-whisper-timestamped-cs
--copy_files preprocessor_config.json
--quantization float16
If this model contributes to your research, please cite the work:
@misc{BSC2025whispertimestampedcs,
title={ASR models for Catalan and Spanish CS: whisper-timestamped-cs.},
author={Takanori, Lucas; Solito, Sarah; Messaoudi, Abir; España i Bonet, Cristina},
organization={Barcelona Supercomputing Center},
url={https://huggingface.co/langtech-veu/faster-whisper-timestamped-cs},
year={2025}
}
The conversion process was performed during 2025 in the Language Technologies Laboratory of the Barcelona Supercomputing Center.
For further information, please send an email to [email protected].
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.