Downloads · 30 days
25
10% of all-time downloads
theelvace/whisper-small-igbo-25k
whisper-small-igbo-25k is a automatic speech recognition model from theelvace. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
A full fine-tune of openai/whisper-small for Igbo automatic speech recognition, built to run fully on-device on mid-range Android phones (developed and tested on a Redmi Note 10 / Snapdragon 678, CPU-only).
Downloads · 30 days
25
10% of all-time downloads
All-time downloads
258
Public
Parameters
242M
5.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors967 MB · 74%
From the Hugging Face model README
A full fine-tune of openai/whisper-small for Igbo automatic speech recognition, built to run fully on-device on mid-range Android phones (developed and tested on a Redmi Note 10 / Snapdragon 678, CPU-only).
Igbo is not one of Whisper's 99 languages, so this model uses the Yoruba token <|yo|> (id 50325) as a language-token proxy, at both training and inference. Supply the forced decoder prefix shown below.
import numpy as np, torch
from transformers import WhisperProcessor, WhisperForConditionalGeneration
processor = WhisperProcessor.from_pretrained("openai/whisper-small")
model = WhisperForConditionalGeneration.from_pretrained("theelvace/whisper-small-igbo-25k").eval()
model.config.forced_decoder_ids = None
# audio: 16 kHz mono float32 numpy array
feats = processor.feature_extractor(audio, sampling_rate=16000, return_tensors="pt").input_features
ids = model.generate(
feats,
forced_decoder_ids=[[1, 50325], [2, 50359], [3, 50363]], # <|yo|>, transcribe, no-timestamps
num_beams=5,
max_new_tokens=100,
)
print(processor.tokenizer.decode(ids[0], skip_special_tokens=True))
openai/whisper-small, warm-started from a LoRA adapter (q/v, r=32) that reached 62.45% WER, then full fine-tuned (all parameters — same on-device size as the base).CC-BY-NC-SA-4.0 (non-commercial, share-alike) — inherited from the NaijaVoices training data. (Base Whisper is MIT; FLEURS is CC-BY-4.0; Common Voice is CC0.) If you need a permissively-licensed variant, the FLEURS + Common Voice–only model theelvace/whisper-small-igbo (62.45% WER) is not subject to the non-commercial restriction.