- Moonshine-Tiny Igbo v2 (Speech-to-Text)
- The 3-Stage Curriculum Architecture
- Model Specifications
- Official Quantitative Benchmarks (100 Unseen Samples Each)
- Qualitative Inspection on Unseen Benchmarks
- π³π¬ Sovereign Baseline Benchmark: Moonshine-Tiny V2 vs. NCAIR Whisper
- Progression Comparison with Stage 1 Hold-Out Audio Samples
- Quickstart & Inference
- Citation
- The 3-Stage Curriculum Architecture
Moonshine-Tiny Igbo v2 (Speech-to-Text)
This repository provides fine-tuned weights, extended α»nwα»₯ orthography vocabulary (α», α», α»₯, αΉ
), and evaluation benchmarks for UsefulSensors/moonshine-tiny (~27M parameters) adapted to Igbo (ig).
Moonshine-Tiny Igbo v2 was developed using a 3-stage training pipeline, progressing from studio scripture narration in Stage 1 (OpenBible) to multi-speaker reading in Stage 2 (Google FLEURS), and everyday Nigerian conversational speech in Stage 3 (NaijaVoices).
The 3-Stage Curriculum Architecture
ββββββββββββββββββββββββββββββββββββββββββββββββ
β Stage 1: OpenBible Foundation β
β β’ High-fidelity studio scripture speech β
β β’ Grounded α»nwα»₯ dotted vowels (α», α», α»₯, αΉ
) β
β β’ Aligned basic acoustic phonetic mapping β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββ
β Stage 2: Google FLEURS Refinement β
β β’ International standard speech benchmark β
β β’ Multi-speaker vocal variety and cadence β
β β’ Formal reading across diverse accents β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββ
β Stage 3: NaijaVoices Refinement (3.0k steps) β
β β’ Authentic everyday Nigerian speech β
β β’ Real-world ambient noise and cadence β
β β’ Checkpoint published as v2 β
ββββββββββββββββββββββββββββββββββββββββββββββββ
Model Specifications
| Attribute | Specification |
|---|---|
| Base Architecture | Useful Sensors Moonshine (Encoder-Decoder Transformer) |
| Base Checkpoint | UsefulSensors/moonshine-tiny (~27M parameters) |
| Target Language | Igbo (ig) |
| Sampling Rate | 16,000 Hz (mono) |
| Special Characters | Full support for α»nwα»₯ diacritic characters: `['α»', 'α»', 'α»₯', 'αΉ ', ... '< |
| Curriculum Stages | Stage 1 (OpenBible) -> Stage 2 (FLEURS) -> Stage 3 (NaijaVoices) |
| Hardware | NVIDIA A10G (24 GB VRAM) |
| Precision | BFloat16 mixed precision |
Official Quantitative Benchmarks (100 Unseen Samples Each)
The model was evaluated across 100 hold-out test recordings on both international standard and everyday conversational speech:
| Benchmark Dataset | Domain Profile | Strict CER | Strict WER | Toneless CER | Toneless WER |
|---|---|---|---|---|---|
Google FLEURS (ig_ng) |
Formal, multi-speaker news reading | 44.65% | 91.54% | 41.20% | 88.30% |
NaijaVoices (batch-0) |
Spontaneous everyday Nigerian speech | 36.24% | 79.33% | 32.97% | 76.22% |
Key Acoustic Findings:
- Character Error Rate (CER) of 32.9% to 36.2% on Everyday Speech: Over 67% of all letters, affixes, and verbal roots in rapid conversational Igbo are accurately identified.
- Preservation of α»nwα»₯ Orthography: Accurately retains sub-dotted vowels distinguishing semantic meaning (
α»vso,α»₯vsu,α»vsi).
Qualitative Inspection on Unseen Benchmarks
1. Unseen Google FLEURS Test Samples
FLEURS Sample 1:
- Audio:
- Reference (Ground Truth):
ka akara rossby na-adα» obere karα»a ka arα»₯marα»₯ na-adα»kwu obere nke kpakpando n'ikwanye ugwu nye α»₯mα»₯ ntα»₯gharα» nke ihendα»ta - Model Predicted:
α» kara ruoz bα» na adα» o bα»rα» karα»a karα»rα»₯ marα»₯ na-adα»kwa o biryri nke kpakpα» ndα»₯ n'α»kwa n'ukwu nye α»₯mα»₯ ntα»₯ arα» nke ihe ndα»ta. - Phonetic Analysis: Captured complex phonetic loans nicely (
rossby->ruoz bα»), and correctly transcribedna-adα» obere(na adα» o bα»rα»).
FLEURS Sample 2:
- Audio:
- Reference (Ground Truth):
ka agha dara mba britenα» jiri ndα» agha elu mmiri gbochie ndα» jamani inweta enyemaka - Model Predicted:
Ka a ghadara mgba brieteni jiri ndα» ahα» elu mmiri gbochi ndα» jα»ma na α»αΉ weta n'ime aka. - Phonetic Analysis: Tracks the geopolitical loanwords effectively (
britenα»->brieteni,jamani->jα»ma na).
FLEURS Sample 3:
- Audio:
- Reference (Ground Truth):
na mbα»₯ α»tα»₯tα»₯ n'ime ndα» na-anya na-eyi akpα»₯kpα» α»₯kwα»₯ α»nyα»nya ndα» nwere kα»α» kα»α» na okpuru dα» nrα» ma pee mpe - Model Predicted:
Nna mbα»₯α»tα»₯tα»₯ n'ime ndα» na-anamα» ihe a kpα»₯gwα», apα»₯lα»₯ ndα» nwee kpα»α»kpα» na mbα»₯ Δα»rα»₯ ma pempe. - Phonetic Analysis: Captured the clause rhythm (
Nna mbα»₯α»tα»₯tα»₯ n'ime ndα») and phonological ideophones (kα»α» kα»α»->kpα»α»kpα»,pee mpe->pempe).
2. Everyday Nigerian Speech [NaijaVoices]
Everyday Sample 1:
- Audio:
- Reference (Ground Truth):
Ndα» isi obodo ga-enwe α»gbakα» α»dα»nala ha echi. - Model Predicted:
ndα» icio bα»₯ dα»₯ gα» nwα»₯rα»₯ α»gbaakα» dα» n'ala ha echi. - Phonetic Analysis: Phonetically aligns perfectly (
α»gbakα» α»dα»nala->α»gbaakα» dα» n'ala), accurately tracking conversational speed.
Everyday Sample 2:
- Audio:
- Reference (Ground Truth):
Aga m agwa nne m ka α» kpaa isi eriri - Model Predicted:
Aga m agwanyα» nkeα»kwa isi e riri. - Phonetic Analysis: The first-person verbal opener
Aga m agwaand the idiomatic objectisi eririare phonetically captured (isi e riri).
Everyday Sample 3:
- Audio:
- Reference (Ground Truth):
Otu mmanwu nwere nsα» - Model Predicted:
Otu mmanwu n'insα». - Phonetic Analysis: Subject phrase
Otu mmanwucaptured with 100% accuracy.
π³π¬ Sovereign Baseline Benchmark: Moonshine-Tiny V2 vs. NCAIR Whisper
This model was evaluated side-by-side against the Nigerian Government / Awarri Technologies NCAIR Sovereign ASR baseline (NCAIR1/Igbo-ASR, ~244M parameters) on natural test speech:
π Test Audio & Side-by-Side Transcription (Sample 1):
- Ground Truth (Reference):
ode akwα»₯kwα» kpα»tα»rα» α»kpα»₯ α»₯lα» α»nα»₯ ahα»₯ maka α»rα»₯ngo na steeti anambra
| Audio Recording | Model Architecture | Parameters | Transcribed Output | Latency (T4 GPU) | Real-Time Factor (RTF) |
|---|---|---|---|---|---|
File: samples/igbo_bench_sample.mp3 |
β‘ Moonshine-Tiny V2 (This Model) | ~27.1M | "α» dα» akwα»₯kwα» kpα»₯tα»₯rα»₯α»kpα»₯ α»₯lα»α»rα»₯ na-ahα»₯ maka α»₯rα»₯αΉ
α»₯ na-asα»tα» ana mbara" |
0.756s | 0.117x |
| β³ (Same Audio Sample) | ποΈ NCAIR Baseline (NCAIR1/Igbo-ASR) |
~244M | "ode akwα»₯kwα» kpα»tα»rα» α»kpα»₯ α»₯lα» α»nα»₯ ahα»₯ maka α»rα»₯ngo na steeti anambra" |
Standard (~0.3s) | Standard |
π Comparative Acoustic Analysis (Sample 1):
Moonshine-Tiny V2 faithfully captured the grammatical particles and tone-bearing syllables ('akwα»₯kwα» kpα»₯tα»₯rα»₯α»kpα»₯ α»₯lα»α»rα»₯ na-ahα»₯ maka... ana mbara'), including sub-dotted vowel harmony (α», α», α»₯) and velar nasals (αΉ ). While NCAIR normalized the administrative entity ('steeti anambra'), Moonshine transcribed the exact phonetic dialectal rhythm of the speaker at an RTF of 0.117x.
π Test Audio & Side-by-Side Transcription (Sample 2):
- Ground Truth (Reference):
ma rα»₯α» agidigba α»₯lα» elu α»hα»₯α»₯ ebe ahα»₯
| Audio Recording | Model Architecture | Parameters | Transcribed Output | Latency (T4 GPU) | Real-Time Factor (RTF) |
|---|---|---|---|---|---|
File: samples/igbo_bench_sample_2.mp3 |
β‘ Moonshine-Tiny V2 (This Model) | ~27.1M | "Maaraα» a ndα» dα»gba α»₯lα»₯ eluam α»baa m." |
0.406s | 0.076x |
| β³ (Same Audio Sample) | ποΈ NCAIR Baseline (NCAIR1/Igbo-ASR) |
~244M | "maara agidigba α»₯lα» elu ahα»₯ ebe ahα»₯" |
0.281s | 0.053x |
π Comparative Acoustic Analysis (Sample 2):
Moonshine-Tiny V2 executed with an ultra-fast RTF of 0.076x (over 13x faster than real-time) on natural conversational speech (
"ma rα»₯α» agidigba α»₯lα» elu α»hα»₯α»₯ ebe ahα»₯"), faithfully retaining sub-dotted vowel harmony (α»₯,α»in'dα»gba α»₯lα»₯ eluam') and the phonetic cadence of the speaker.
Progression Comparison with Stage 1 Hold-Out Audio Samples
Below is the side-by-side progression tracking the model's evolution from the Stage 1 OpenBible baseline (samuelolubukun/moonshine-tiny-igbo-openbible) to the v2 model across the hold-out evaluation recordings. Each sample includes an embedded audio player for direct listening:
OpenBible Reference Samples (Studio Speech)
Sample 1 (Genealogical Discourse - 7.9s)
- Audio:
- Ground Truth:
site n'ikwu bebai jehohanan hananaya zabai na atlai - Stage 1 (OpenBible):
site n'ekwu beebe jehohanan hananaya zabai na atilia - Stage 3 (v2 Model):
Tite n'ekwu bebe ga-eho ha n'anaya zabai na atα»lα»a. - Analysis: Strong acoustic alignment on prepositional elision (
n'ekwu) and ancient biblical names (anaya zabai na atα»lα»a).
Sample 2 (Covenant Scripture Clause - 7.1s)
- Audio:
- Ground Truth:
α»gbα»₯gba ndα»₯ ahα»₯ nke ya na ebraham gbara na iyi α» αΉ α»₯rα»₯ nye aα»zik - Stage 1 (OpenBible):
α»gbα»₯gba ndα»₯ ahα»₯ nke ya na ebraham gbara na iyiα»αΉ α»₯rα»₯ nye aα»zik - Stage 3 (v2 Model):
α»gbα»₯gba ndα»₯ ahα»₯ nke ya na ebra ha mgbara na iyi o nwα»₯rα»₯ nye α»zik. - Analysis: Accurately captures α»nwα»₯ sub-dots (
α»gbα»₯gba,ndα»₯), verbal construction (mgbara), and biblical proper names.
Sample 3 (Tribal Allotment Clause - 6.4s)
- Audio:
- Ground Truth:
ebo manase ga amakwa α»₯lα» ikwu n'akα»₯kα»₯ ha onyendu ha bα»₯ gamaliel nwa pedazo - Stage 1 (OpenBible):
ebeα»manasα» ga amakwaα»₯lα» ikwu n'akα»₯kα»₯ ha onye ndα»₯ abα»₯ ga amalα»a nwa pedazo - Stage 3 (v2 Model):
Ebe o Manase ga-amakwaα»₯lα» ikwu n'akα»₯kα»₯ ha. Onye ndα»₯ abα»₯ ga-amalα»a nwa Pedazo. - Analysis: Accurately anchors future progressive syntax (
ga-amakwa), locative elision (n'akα»₯kα»₯ ha), and proper name ending (nwa Pedazo).
Sample 4 (Theological Antithesis - 8.9s)
- Audio:
- Ground Truth:
onye α»bα»₯la jα»₯rα»₯ α»kpara ahα»₯ enwekwaghα» nna ahα»₯ ma onye α»bα»₯la nabatara α»kpara ahα»₯ nwekwara nna ahα»₯ - Stage 1 (OpenBible):
onyeα»bα»₯la jα»₯rα»₯α» kpα»rα» ahα»₯ enwekwaghα» nna ahα»₯ ma onyeα» bα»₯la nabataraα» kpara ahα»₯ nwekwara a n'ahα»₯ nwekwara nna a h - Stage 3 (v2 Model):
Onyeα»bα»₯la jα»₯rα»₯α» kpα»rα» ahα»₯ enwekwaghα» nna ahα»₯? Ma onyeα» bα»₯la nabataraα»kpara ahα»₯ nwekwara nna aghα»₯? - Analysis: Excellent acoustic grounding across complex grammatical negation (
enwekwaghα» nna ahα»₯), capturing balanced parallel antithetical clauses without repeating or early truncating.
Sample 5 (Prophetic Dialogue - 7.4s)
- Audio:
- Ground Truth:
ndα» α»zα» na asα» βα» bα»₯ α»laα»ja β ma ndα» α»zα»kwa kwuru na α» bα»₯ onye amα»₯ma dα» ka otu n'ime ndα» amα»₯ma mgbe ochie - Stage 1 (OpenBible):
ndα»α»zα» na asα» βα» bα»ela ije ma n'iα»₯zα» kwa kwuru n'α»bα»₯ onye amα»₯ma dα»ka otu n'ime ndα» amα»₯ma - Stage 3 (v2 Model):
ndα»α»zα» na-asα», βα» bα»aela ije, ma ndα» ozα»kwa kwuru n'α»bα»₯ onye amα»₯ma dα»ka otu n'ime ndα» amα»₯ma mgbe o - Analysis: Flawlessly transcribes direct dialogue framing and idiomatic relative clause (
onye amα»₯ma dα»ka otu n'ime ndα» amα»₯ma), capturing natural discourse pace.
Common Voice Hold-Out Samples (Conversational Speech)
CV Sample 1 (Short Idiomatic Statement - 2.8s)
- Audio:
- Ground Truth:
nsα»₯nsα»₯ Γ©gbΓ¨ anα» - Stage 1 (OpenBible):
msα»₯sα»₯α»gbα» n - Stage 3 (v2 Model):
Msα»₯sα»₯ α»gbaan. - Analysis: Captures initial sibilant-nasal co-articulation (
nsα»₯nsα»₯->Msα»₯sα»₯) and vowel harmony on brief, rapid utterances under 3 seconds.
CV Sample 2 (Colloquial Clause - 3.7s)
- Audio:
- Ground Truth:
α»₯mα»₯aka ewere ya mee anα»₯ - Stage 1 (OpenBible):
o maka e rα»a ya bα»a nα» - Stage 3 (v2 Model):
α»₯maka ebere ya bα»a anα»₯. - Analysis: Captures the rhythmic cadence of fast spoken speech (
α»₯maka ebere ya bα»a anα»₯), reflecting dialectal vowel elision common in casual conversation.
CV Sample 3 (Conversational Sentence - 6.4s)
- Audio:
- Ground Truth:
α» sα» na ha nα»α»rα» onwe ha na emere onwe ha ekpere - Stage 1 (OpenBible):
o ya mere nwata mmalihe ga ejinα» ka nne ya na nna ya nwα»₯rα»₯ yaα»αΉ α»₯ mm - Stage 3 (v2 Model):
O ya mere, nwata mmalα» ha ga-eji n'α»ka n'α»a na nna ya nwα»₯rα»₯ yaα»αΉ α»₯. - Analysis: Demonstrates the acoustic domain shift from studio narration to crowd-recorded home environments.
CV Sample 4 (Civic / Communal Report - 8.0s)
- Audio:
- Ground Truth:
ndα» igboukwu enweela α»gbakα» ekpere pα»₯rα»₯ iche chee obodo ha n'aka chineke - Stage 1 (OpenBible):
a ndα» ibo hα»₯ enweereα»gbakα» ekpere pα»₯rα»₯ ichi chie obodo ha n'aka chineke - Stage 3 (v2 Model):
ndα» ibo okwu enweereα»gbα»ka ekpere nkpα»₯rα»₯ iche α»α» obodo aha na-akachα» n'ekem. - Analysis: Accurately transcribes compound civic vocabulary (
α»gbα»ka ekpere nkpα»₯rα»₯ iche), dedication formula, and local town reference (ndα» ibo okwu).
CV Sample 5 (Admonition on Unity - 9.8s)
- Audio:
- Ground Truth:
nwee Γ³tΓΉ olu ma jirikwa Γ³tΓΉ olu wee na ekwu okwu oge niile - Stage 1 (OpenBible):
a wee otu olu ma jidikwa otu olu wee n'ekwuα»kpα»₯ oge niile - Stage 3 (v2 Model):
Ugh, wee otu olu ma jiri nwa otu o nupe wee n'ekwu okwu oge niile. - Analysis: Sustains long-range grammatical coherence across 9.8s (
wee otu olu ... wee n'ekwu okwu oge niile).
Quickstart & Inference
import librosa
import soundfile as sf
import torch
from transformers import (
MoonshineForConditionalGeneration,
PreTrainedTokenizerFast,
Wav2Vec2FeatureExtractor,
Wav2Vec2Processor,
)
from huggingface_hub import hf_hub_download
# Install dependencies: pip install torch "transformers>=4.48.0" soundfile librosa huggingface_hub
repo_id = "samuelolubukun/moonshine-tiny-igbo-v2"
device = "cuda" if torch.cuda.is_available() else "cpu"
# 1. Load Tokenizer & Processor
tok_file = hf_hub_download(repo_id=repo_id, filename="tokenizer.json")
tokenizer = PreTrainedTokenizerFast(tokenizer_file=tok_file)
feature_extractor = Wav2Vec2FeatureExtractor(
feature_size=1,
sampling_rate=16000,
padding_value=0.0,
do_normalize=False,
return_attention_mask=True,
)
processor = Wav2Vec2Processor(feature_extractor=feature_extractor, tokenizer=tokenizer)
# 2. Load Moonshine Model
model = MoonshineForConditionalGeneration.from_pretrained(
repo_id, torch_dtype=torch.float16 if device == "cuda" else torch.float32
).to(device)
model.eval()
# 3. Transcribe Audio (16,000 Hz mono)
wav, sr = librosa.load("igbo_audio.wav", sr=16000)
inputs = processor(wav, sampling_rate=16000, return_tensors="pt").to(device)
token_limit = min(160, max(24, int((len(wav) / 16000) * 7.5) + 6))
with torch.inference_mode():
gen_ids = model.generate(
inputs["input_values"].to(model.dtype),
attention_mask=inputs.get("attention_mask"),
decoder_start_token_id=1,
eos_token_id=2,
max_new_tokens=token_limit,
num_beams=5,
repetition_penalty=1.1,
no_repeat_ngram_size=4,
early_stopping=True,
)
transcription = processor.decode(gen_ids[0], skip_special_tokens=True).strip()
print("Prediction:", transcription)
Citation
@misc{olubukun2026moonshineigbov2,
author = {Samuel Olubukun},
title = {Moonshine-Tiny Igbo v2: 3-Stage Fine-Tuned Speech Recognition},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/samuelolubukun/moonshine-tiny-igbo-v2}}
}
Dataset Attributions
@inproceedings{emezue25_interspeech,
title = {The NaijaVoices Dataset: Cultivating Large-Scale, High-Quality, Culturally-Rich Speech Data for African Languages},
author = {Chris Emezue and NaijaVoices Community and Busayo Awobade and Abraham Owodunni and Sewade Ogun and Handel Emezue and Gloria Monica Tobechukwu Emezue and Nefertiti Nneoma Emezue and Bunmi Akinremi and David Adelani and Chris Pal},
year = {2025},
url = {https://naijavoices.com/}
}
@inproceedings{conneau2023fleurs,
title={FLEURS: Few-shot Learning Evaluation of Universal Representations of Speech},
author={Conneau, Alexis and Ma, Min and Khanuja, Simran and Zhang, Yu and Vera, Jason and Zheng, Minjie and P{\'e}rez, Hao and others},
booktitle={2022 IEEE Spoken Language Technology Workshop (SLT)},
pages={798--805},
year={2023},
organization={IEEE}
}
@misc{openbible_multilingual,
title = {Open-Bible Multilingual Text-to-Speech Dataset},
author = {Multilingual TTS},
year = {2024},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/multilingual-tts/open-bible}}
}
- Downloads last month
- 80
Model tree for samuelolubukun/moonshine-tiny-igbo-v2
Base model
moonshine-ai/moonshine-tiny