Downloads · 30 days
7
11% of all-time downloads
LyngualLabs/yecs-asr-whisper-plain
yecs-asr-whisper-plain is a automatic speech recognition model from LyngualLabs. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
openai/whisper-small (244M) fine-tuned on the YECS Yoruba–English code-switching corpus for plain transcription (no language tags). It is the control for the language-tag-injection A/B study — its tagged twin, Lyngual…
Downloads · 30 days
7
11% of all-time downloads
All-time downloads
66
Public
Parameters
242M
967 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors967 MB · 100%
From the Hugging Face model README
openai/whisper-small (244M) fine-tuned on
the YECS Yoruba–English code-switching corpus for plain transcription (no language
tags). It is the control for the language-tag-injection A/B study — its tagged twin,
LyngualLabs/yecs-asr-whisper-lid,
adds 99.54% per-word language ID at no WER cost.
| Metric | This model | whisper-small-yoruba (reported) |
|---|---|---|
| WER — tone-aware | 16.69% | 20.76% |
| WER — tone-insensitive | 13.83% | — |
| CER — tone-aware | 6.37% | — |
| CER — tone-insensitive | 5.09% | — |
A 5-epoch fine-tune on YECS brings whisper-small well below the previously reported Yoruba baseline.
Normalization: NFC → lowercase → strip Unicode P/S punctuation. Tone-aware keeps Yoruba tone diacritics (acute/grave/macron); tone-insensitive strips them but always keeps the phonemic under-dot (ọ, ẹ, ṣ). See the tagged model's card for the fuller note.
from transformers import WhisperForConditionalGeneration, WhisperProcessor
import torch, librosa
repo = "LyngualLabs/yecs-asr-whisper-plain"
proc = WhisperProcessor.from_pretrained(repo)
model = WhisperForConditionalGeneration.from_pretrained(repo, torch_dtype=torch.bfloat16).to("cuda").eval()
audio, _ = librosa.load("utterance.wav", sr=16000)
feats = proc.feature_extractor(audio, sampling_rate=16000, return_tensors="pt").input_features
ids = model.generate(feats.to("cuda", torch.bfloat16),
language="yoruba", task="transcribe", max_new_tokens=225)
print(proc.tokenizer.batch_decode(ids, skip_special_tokens=True)[0])
openai/whisper-small · 5 epochs · lr 1e-5 · bf16 · effective batch 32 · 1×H200.yoruba, task transcribe.afroscale_ai_cmu_africa/yecs-lid, run whisper-plain.Research baseline for Yoruba–English code-switching ASR. Trained on YECS read/prompted
speech; performance may drop on far-field, noisy, or spontaneous conversational audio.
Two languages only (yo, en).
tag-injection/)Scored on the full held-out YECS test split (9,949 utts); test audio is the canonical Mozilla/MDC release. Test reference labels are held privately by LyngualLabs, so metrics are internal and not independently reproducible.
Apache-2.0 (inherited from openai/whisper-small). YECS corpus terms apply to the
training data.