Downloads · 30 days
122
12% of all-time downloads
LyngualLabs/whisper-small-yoruba
whisper-small-yoruba 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.
Developed by: LyngualLabs Model type: Fine-tuned OpenAI Whisper Small (Seq2Seq/Transformer) Languages: Yoruba, English (Code-Switched) Finetuned from model: openai/whisper-small Task: Automatic Speech Recognition (Tra…
Downloads · 30 days
122
12% of all-time downloads
All-time downloads
998
Public
Parameters
242M
1.9 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors967 MB · 100%
From the Hugging Face model README
This model is designed for transcribing speech that frequently alternates between Yoruba and English (Code-Switching). Unlike the base Whisper model, this version is specifically optimized to handle the accents, tonality, and linguistic blending found in Yoruba-English conversations.
The model was fine-tuned using the Hugging Face Seq2SeqTrainer. The training process involved a two-stage run (due to infrastructure interruptions) on a high-memory NVIDIA A100 (80GB). The massive VRAM allowed for a large per-device batch size of 128, ensuring stable gradients and faster convergence.
The following logs illustrate the model's convergence over the training duration. Data includes metrics from both the initial run and the resumed training session:
| Step | Training Loss | Validation Loss | WER (%) |
|---|---|---|---|
| 500 | 0.4292 | 0.4460 | 27.92 |
| 1000 | 0.2418 | 0.3411 | 22.91 |
| 1500 | 0.1400 | 0.3238 | 21.71 |
| 2000* | 0.0865 | 0.3612 | 22.29 |
| 2500* | 0.0578 | 0.3475 | 20.80 |
*Steps from the resumed training phase.
The model was trained with high-throughput settings optimized for the A100 80GB GPU:
The model was evaluated on a held-out test set after the final checkpoint.
| Metric | Value |
|---|---|
| Test WER | 20.76% |
You can use this model directly with the Hugging Face pipeline.
from transformers import pipeline
# 1. Load the pipeline
# The model defaults to "yoruba" language settings via the generation config
pipe = pipeline("automatic-speech-recognition", model="LyngualLabs/whisper-small-yoruba")
# 2. Run transcription
# You do not need to specify forced_decoder_ids as they are handled in the config
result = pipe("path_to_your_audio.wav")
print(result["text"])
If you use this model in your research, please cite it as follows:
@misc{whisper-small-yoruba-cs,
author = {LyngualLabs},
title = {Whisper Small Fine-tuned for Yoruba-English Code-Switching},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/LyngualLabs/whisper-small-yoruba}
}