ngiemboon/asr-corpus
Viewer • Updated • 21.8k
Whisper-small fine-tuned for Ngiemboon ASR with LoRA (r=32, alpha=64) on the
ngiemboon/asr-corpus
(28 speakers, ~47 h). The adapter is merged; load with plain transformers.
| WER | CER | |
|---|---|---|
| overall | 32.2 % | 14.0 % |
| afrilang | 30.2 % | |
| common_voice | 38.2 % | |
| ngiemboon_tts | 44.3 % |
For comparison, base Whisper without fine-tuning is unusable on Ngiemboon
(no nnh language token; output is gibberish or hallucination).
import torch, soundfile as sf
from transformers import WhisperForConditionalGeneration, WhisperProcessor
name = "ngiemboon/whisper-ngiemboon"
processor = WhisperProcessor.from_pretrained(name)
model = WhisperForConditionalGeneration.from_pretrained(name).to("cuda")
audio, sr = sf.read("speech.wav") # 16 kHz mono
feats = processor(audio, sampling_rate=16000, return_tensors="pt").input_features.to("cuda")
ids = model.generate(feats, max_new_tokens=225, language=None, task="transcribe")
print(processor.batch_decode(ids, skip_special_tokens=True)[0])
Notes: Ngiemboon has no Whisper language token; decoding starts at
<|startoftranscript|> with no language forcing. Output uses the
Lonfo & Anderson orthography.
LoRA on attention + MLP projections, lr 1e-4 linear decay, effective batch 16, 10 epochs, bf16/fp16 mixed precision, RTX 3060. Best checkpoint by dev WER.
CC-BY-NC-SA-4.0 (trained on CC-BY-NC-SA data; see the corpus card).
Base model
openai/whisper-small