Downloads · 30 days
158
48% of all-time downloads
gloire2/mms-tts-kin-onnx
mms-tts-kin-onnx is a text-to-speech model from gloire2. Use it when you need text read aloud. The card lists the license as cc-by-nc-4.0.
ONNX export of facebook/mms-tts-kin (Meta MMS, VITS) for use with onnxruntime. Exported with optimum.
Downloads · 30 days
158
48% of all-time downloads
All-time downloads
329
Public
Repo size
114 MB
Likes
1
Public
Click a slice to open those files.
.onnx114 MB · 100%
From the Hugging Face model README
ONNX export of facebook/mms-tts-kin (Meta MMS, VITS) for use with onnxruntime. Exported with optimum.
License of the underlying model: CC-BY-NC 4.0 (non-commercial).
The model is char-level: it garbles or drops digits and symbols. For speech that sounds like a real Rwandan announcer, normalize the text before tokenizing:
2500 → ibihumbi bibiri na magana atanu;
prices 2500 RWF → amafaranga ibihumbi bibiri na magana atanu; percentages
15% → cumi na gatanu ku ijana; clock times 14:30 → saa cumi na kane
n'iminota mirongo itatu; phone numbers digit-by-digit.é→e, ç→c, q→k, x→gs, etc.
(vocab is a–z minus q/x, plus ' - and digits).speaking_rate ≈ 0.92, noise_scale ≈ 0.6,
noise_scale_duration ≈ 0.7, and a fixed seed for a consistent voice.A hosted implementation of all of this (REST POST /tts → WAV) runs at
gloire2/languagetool —
see its app.py for the reference normalizer (normalize_kinyarwanda).
Lowercase → per-char vocab lookup → interleave pad id 0 between ids
([0, id, 0, id, …, 0]), inputs input_ids + attention_mask (int64),
output waveform (float32 @ 16 kHz).