Downloads · 30 days
0
MatiasLin/sherpa-onnx-vits-rasa-13
sherpa-onnx-vits-rasa-13 is a text-to-speech model from MatiasLin. Use it when you need text read aloud. It is set up for sherpa-onnx. The card lists the license as cc-by-4.0.
ONNX export of ai4bharat/vitsrasa13 packaged for use with sherpa-onnx.
Downloads · 30 days
0
Access
Public
Updated Aug 7, 2026
Repo size
123 MB
Likes
1
Public
Click a slice to open those files.
.onnx123 MB · 100%
From the Hugging Face model README
ONNX export of ai4bharat/vits_rasa_13 packaged for use with sherpa-onnx.
emotion_id as a 7th input to the standard sherpa-onnx VITS runner signature. (Stock sherpa-onnx does not know about this input. See requirements)emotion_id as a required ONNX input. PR in sherpa-onnx (#3849). On earlier builds you will see unexpected input 'emotion_id' at load time.| File | Purpose |
|---|---|
model.onnx | fp32 VITS graph, ~150 MB |
tokens.txt | Character frontend, one <char> <id> per line |
| Key | Value |
|---|---|
model_type | vits |
frontend | characters |
add_blank | 1 |
n_speakers | 1024 |
num_emotions | 32 |
sample_rate | 22050 |
language | multilingual-indic |
punctuation | (empty) |
Valid runtime ranges:
speaker_id: [0, 1024)emotion_id: [0, 32)sherpa-onnx-offline-tts \
--vits-model=./model.onnx \
--vits-tokens=./tokens.txt \
--sid=0 \
--emotion-id=0 \
--output-filename=./out.wav \
"வணக்கம், நீங்கள் எப்படி இருக்கிறீர்கள்"
Notes:
sherpa-onnx splits input on ., ?, ! regardless of this model's punctuation ONNX metadata. If your input ends with sentence-ending punctuation, sherpa generates a short trailing sentence that may synthesize as noise. Workarounds: strip trailing punctuation, or use --vits-noise-scale-w to try to reduce it. Tracking issue: TBD.Export tooling lives in a separate repository: github.com/matiaslin/sherpa-onnx-vits-rasa-13-exporter. See its README for setup and CLI options.
If you use this model, please cite:
@article{ai4bharat_vits_rasa_13,
title={VITS TTS for Indian Languages},
author={Ashwin Sankar},
year={2024},
publisher={Hugging Face}
}
See upstream Citation.
sherpa-onnx defaults to length_scale=1.0, while HF's inference uses length_scale=1.0/config.speaking_rate internally. Set --vits-length-scale if you need to match a specific HF invocation.sherpa-onnx wraps token ids with an extra BOS/EOS blank (0) around HF's add_blank output (which might result in a few silent frames' difference at each end).