Downloads · 30 days
47
2% of all-time downloads
techiaith/whisper-large-ft-cy-en
whisper-large-ft-cy-en is a automatic speech recognition model from techiaith. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
A fine-tuned openai/whisper-large-v2 model for Welsh and English automatic speech recognition, with Welsh-to-English speech translation capability.
Downloads · 30 days
47
2% of all-time downloads
All-time downloads
2.5K
Public
Parameters
1.5B
12.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
A fine-tuned openai/whisper-large-v2 model for Welsh and English automatic speech recognition, with Welsh-to-English speech translation capability.
| Task | Description |
|---|---|
| Welsh transcription | Welsh audio → Welsh text |
| English transcription | English audio (UK/Irish accents) → English text |
| Welsh→English translation (experimental) | Welsh audio → English text — limited quality, not recommended for production (see below) |
WER / CER (lower is better) on the held-out benchmark. Average across the 4 transcription test sets: WER 20.29, CER 7.33.
| Test Set | WER | CER |
|---|---|---|
| cymen-arfor/lleisiau-arfor (spontaneous) | 29.20 | 11.59 |
| techiaith/banc-trawsgrifiadau-bangor (mixed) | 26.71 | 9.91 |
| techiaith/commonvoice-23-0-cy (read) | 15.10 | 4.35 |
| Test Set | WER | CER |
|---|---|---|
| techiaith/commonvoice-23-0-en/GB-IE (read, UK/Irish) | 10.16 | 3.47 |
The model can translate Welsh speech directly into English text (task="translate"). This capability is experimental and has not been formally evaluated; its translation quality is limited and it is not recommended for production use.
For higher-quality English, transcribe the Welsh audio with this model and translate the resulting Welsh text with a dedicated Welsh→English machine translation model.
| Dataset | Language | Split | Revision |
|---|---|---|---|
| techiaith/banc-trawsgrifiadau-bangor | Welsh | train | 26.07 |
| techiaith/corpws-clllc-wlga | Welsh | clips | 5d00294c31 |
| techiaith/commonvoice_23_0_cy | Welsh | train+dev[50%:] | main † |
| cymen-arfor/lleisiau-arfor | Welsh | train | main |
| techiaith/commonvoice_vad_cy | Welsh | train | main |
| techiaith/commonvoice_23_0_en__GB_IE | English | train[:10%] | main † |
| techiaith/commonvoice_23_0_cy_en | Welsh | train[:10%] | main † |
† Common Voice data is not redistributed here. techiaith Common Voice 23.0 data is held in private repositories, in line with the Mozilla Foundation's terms for obtaining and sharing Common Voice data. They are listed above for provenance and reproducibility, not as downloads.
The Welsh Common Voice corpus is freely available from Mozilla themselves: Mozilla Common Voice — Welsh datasets. Releases are distributed through the Mozilla Data Collective, and the datacollective package offers a programmatic download. With that in hand the rest of this pipeline is reproducible — every other dataset in the table is openly available on the Hugging Face Hub. Our thanks to Mozilla and to the Welsh speakers who contributed their voices.
| Parameter | Value |
|---|---|
| Base model | openai/whisper-large-v2 |
| Learning rate | 1e-05 |
| LR scheduler | cosine |
| Warmup steps | 500 |
| Max steps | 15000 |
| Weight decay | 0.01 |
| Batch size | 16 × 2 accumulation × 2 GPUs = 64 effective |
| FP16 | True |
| SpecAugment | True |
| Curation applied | True |
| Early stopping patience | 10 |
| Selection metric | eval_btb_wer |
from transformers import pipeline
pipe = pipeline(
"automatic-speech-recognition",
model="techiaith/whisper-large-ft-cy-en",
)
# Welsh transcription
result = pipe("welsh_audio.wav", generate_kwargs={"language": "cy", "task": "transcribe"})
# English transcription
result = pipe("english_audio.wav", generate_kwargs={"language": "en", "task": "transcribe"})
# Welsh to English translation
result = pipe("welsh_audio.wav", generate_kwargs={"language": "cy", "task": "translate"})
A CTranslate2 (int8 quantised) version is available at techiaith/whisper-large-ft-cy-en-ct2 for faster inference.
Developed by Uned Technolegau Iaith, Prifysgol Bangor / Language Technologies Unit, Bangor University.
Funded by the Welsh Government.