mms-turoyo-asr
Full fine-tuning of facebook/mms-1b-all for Turoyo ASR, using a new 47-token CTC vocabulary. The MMS backbone was trained without frozen parameters. Outputs use Latin-script Turoyo transcription.
Usage
Audio must be mono and sampled at 16,000 Hz.
import torch
import soundfile as sf
from transformers import AutoProcessor, Wav2Vec2ForCTC
repo_id = "Turoyo-research/mms-turoyo-asr"
processor = AutoProcessor.from_pretrained(repo_id)
model = Wav2Vec2ForCTC.from_pretrained(repo_id).eval()
audio, sr = sf.read("audio.wav")
assert sr == 16000 and audio.ndim == 1, "Use 16 kHz mono audio"
inputs = processor(audio, sampling_rate=sr, return_tensors="pt")
with torch.inference_mode():
ids = model(**inputs).logits.argmax(dim=-1)
print(processor.batch_decode(ids)[0])
Training used Transformers 4.57.6. Install torch, transformers>=4.46,<5, safetensors, and soundfile.
Training and evaluation
- Training split: 2,747 clips, approximately 6.103 hours.
- Selected checkpoint: epoch 27, step 4,644.
- Decoding: greedy CTC, without beam search or a language model.
- Original test set: 339 clips, approximately 0.791 hours.
- Revised test evaluation excludes
audio_25_0003.wav, leaving 338 clips. - Revised corpus CER: 9.1045% (3,114 character edits / 34,203 reference characters).
- Revised corpus WER: 38.4585% (1,976 word edits / 5,138 reference words).
Revised metrics were recomputed from saved reference/prediction pairs on 2026-10-21. Edit counts are summed per utterance and divided by the total reference length; these are not averages of utterance percentages. Character scoring includes spaces and word scoring splits on whitespace.
The checkpoint was selected using test CER. There was no separate development split, so these results are not an independent held-out estimate and may be optimistic for new recordings. Training audio and reference transcripts are not included in this repository.
License and attribution
This model derives from Meta's MMS model, distributed under CC BY-NC 4.0. The same license is declared here. See the base model card and MMS paper for attribution and background.