sikiza-care-mms-luo
Fine-tuned Luo (Dholuo) ASR model for Kenya, part of CHAIRII's Sikiza Care ambient clinical scribe. Fine-tuned from facebook/mms-1b-all on general-domain Luo (Dholuo) speech.
- Developed by: CHAIRII — Centre for Health AI Research, Innovation and Implementation
- Task: automatic speech recognition (16 kHz mono audio)
- Language: Luo (Dholuo) (
luo) - Held-out dev WER: 0.3189
- Base model:
facebook/mms-1b-all(non-commercial)
Intended use & scope
Transcription of spoken Luo (Dholuo). Trained on general-domain speech for language/acoustic coverage — NOT specialised to clinical vocabulary.
Out of scope / cautions. This is a research model, not a certified medical device. Do not rely on it unverified for clinical decisions. Verify all numbers (doses, counts, vitals, dates) — ASR number errors are safety-critical and are tracked separately in our benchmark. General-domain model: expect higher error on clinical terminology.
How to use
Load it exactly like the base MMS (target_lang) so the language adapter + character vocabulary are active.
from transformers import Wav2Vec2ForCTC, AutoProcessor
import torch, librosa
repo = "chairii/sikiza-care-mms-luo"
processor = AutoProcessor.from_pretrained(repo, target_lang="luo")
model = Wav2Vec2ForCTC.from_pretrained(repo, target_lang="luo").eval()
audio, _ = librosa.load("clip.wav", sr=16000, mono=True)
# window long audio into ~20 s chunks (wav2vec2 is memory-heavy on long clips)
def transcribe(x, sr=16000, win=20*16000):
out = []
for i in range(0, len(x), win):
inp = processor(x[i:i+win], sampling_rate=sr, return_tensors="pt")
with torch.no_grad():
logits = model(inp.input_values).logits
out.append(processor.batch_decode(torch.argmax(logits, -1))[0].strip())
return " ".join(p for p in out if p)
print(transcribe(audio))
Training data
| Source | License |
|---|---|
| Anv-ke/dholuo (African Next Voices) | gated — see dataset |
| google/fleurs (luo_ke) | CC-BY-4.0 |
Data is used for language/acoustic adaptation. Several sources are gated or research-only; confirm each dataset's licence for your use case.
Training procedure
MMS adapter fine-tuning: the base encoder is frozen; only the luo language adapter + CTC head are trained (ctc_zero_infinity=True to avoid NaN losses on short clips).
- Hyperparameters: 4 epochs, lr 3e-4 (1e-3 for Swahili/Kikuyu), batch 1 + grad-accum 16, bf16, gradient checkpointing, 8-bit AdamW, clips capped at 30 s.
- Split: deterministic train/dev/test by audio-file hash; the held-out test set is never seen in training, and dev is used for model selection.
Evaluation
Held-out dev WER = 0.3189 (word error rate, lowercased, punctuation-stripped,
whitespace-collapsed — the Swahili apostrophe in ng'ombe is preserved). The
pipeline also reports CER and a number-token error rate as a clinical-safety
metric. Evaluate on the held-out test split for a final number.
Bias, risks & limitations
- Domain: general-domain clips (news, stories, interviews); clinical terminology is under-represented.
- Dialect/variety: trained on the specific Luo (Dholuo) data above; other dialects/accents may degrade.
- Code-switching: Kenyan clinical speech mixes Luo (Dholuo), Swahili and English; performance on dense code-switching is uneven.
- Data volume: some languages have only a few thousand clips — treat low-resource models as baselines.
Ethical considerations
Speech and (for clinical use) health data are sensitive. Obtain informed consent, keep speaker data pseudonymous, and keep a human in the loop for any clinical documentation. Attribute the dataset creators below.
Acknowledgements
African Next Voices / AfriVoices-KE, DigitalUmuganda, Google FLEURS, intronhealth, badrex, Maseno University KenCorpus, and the community contributors who recorded this speech. Thank you.
License
CC-BY-NC-4.0 — non-commercial, research use. The MMS base is CC-BY-NC-4.0, and some training corpora are gated/research-only, so the whole model is released non-commercially. For a commercial clinical product, use the permissively-licensed routes (e.g. Whisper/Omni on openly-licensed data) and re-verify data licences.
Citation
CHAIRII (2026). Sikiza Care — Luo (Dholuo) ASR. Centre for Health AI Research, Innovation and Implementation. https://chairii.org
Contact: CHAIRII · https://chairii.org