Downloads · 30 days
15
14% of all-time downloads
nickdee96/mms-1b-kik-accelerate-2-best
mms-1b-kik-accelerate-2-best is a automatic speech recognition model from nickdee96. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
This repository hosts a Kikuyu automatic speech recognition adapter built on top of the facebook/mms-1b-all base model. The checkpoint corresponds to the best evaluation step from the second adapter fine-tuning run co…
Downloads · 30 days
15
14% of all-time downloads
All-time downloads
107
Public
Parameters
965M
3.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.9 GB · 100%
From the Hugging Face model README
This repository hosts a Kikuyu automatic speech recognition adapter built on top of the facebook/mms-1b-all base model. The checkpoint corresponds to the best evaluation step from the second adapter fine-tuning run conducted with the audio_training_accelerate_adapter.py pipeline.
kik)model.safetensors, tokenizer artifacts, and adapter.kik.safetensors for standalone adapter reuse.The model is intended for automatic speech recognition and transcription of Kikuyu audio. It performs best on clean speech from the thinkKenya corpus and related domains.
| Decoder | Subset | WER |
|---|---|---|
| Greedy decoding | 2,048-sample dev subset | 0.391 |
KenLM beam search (kikuyu.binary + kikuyu_unigrams.txt) | 128-sample test slice | 0.4872 |
WER was computed with the Hugging Face evaluate package (wer metric). LM-assisted results use pyctcdecode with a 4-gram KenLM model derived from the training transcripts.
from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
repo_id = "nickdee96/mms-1b-kik-accelerate-2-best"
processor = Wav2Vec2Processor.from_pretrained(repo_id)
model = Wav2Vec2ForCTC.from_pretrained(repo_id)
# optional: load the adapter weights explicitly
model.load_adapter("kik")
# transcribe audio
inputs = processor(audio_array, sampling_rate=16000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(**inputs).logits
pred_ids = logits.argmax(dim=-1)
transcription = processor.batch_decode(pred_ids)[0]
For LM-assisted decoding, combine the model outputs with pyctcdecode and the provided KenLM binary/unigrams from the mms-1b-kik-accelerate run.
If you use this model, please cite the original MMS paper and the thinkKenya dataset creators alongside your work.