Downloads · 30 days
5
7% of all-time downloads
melvinemmanuel001/whisper-naija-pidgin-lora
whisper-naija-pidgin-lora is a automatic speech recognition model from melvinemmanuel001. Use it when you need speech turned into text. It is set up for peft. The card lists the license as other.
A LoRA adapter that fine-tunes NCAIR1/NigerianAccentedEnglish for Nigerian Pidgin automatic speech recognition. The base model handles Nigerian-accented English; this adapter teaches it the structural particles of Pid…
Downloads · 30 days
5
7% of all-time downloads
All-time downloads
67
Public
Repo size
14.2 MB
Likes
1
Public
Click a slice to open those files.
.safetensors14.2 MB · 100%
From the Hugging Face model README
A LoRA adapter that fine-tunes NCAIR1/NigerianAccentedEnglish
for Nigerian Pidgin automatic speech recognition. The base model handles Nigerian-accented
English; this adapter teaches it the structural particles of Pidgin that the base model
mistranscribes as English equivalents.
Evaluated on the 892-example test split of
asr-nigerian-pidgin/nigerian-pidgin-1.0:
Model : WER
NCAIR1/NigerianAccentedEnglish (baseline) | 66.22% NCAIR1 + this LoRA (checkpoint-500) | 28.83% Absolute improvement | -37.39 pp | Relative error reduction | ~56% |
This adapter is checkpoint-500, selected by a checkpoint sweep — it outperformed both
checkpoint-400 (32.19%) and checkpoint-510 (31.72%). The regression at step 510 indicates
the final training steps overfit; the best saved checkpoint is step 500.
from transformers import WhisperForConditionalGeneration, WhisperProcessor
from peft import PeftModel
BASE = "NCAIR1/NigerianAccentedEnglish"
processor = WhisperProcessor.from_pretrained(BASE)
base = WhisperForConditionalGeneration.from_pretrained(BASE, use_safetensors=False)
model = PeftModel.from_pretrained(base, "%s").merge_and_unload()
Built on NCAIR1/NigerianAccentedEnglish by Awarri Technologies, in partnership with Nigeria's minister of information.