Views
No views yet
IOTEverythin/roxi-tts-v2
(MOSS-TTS-Nano LoRA, Indian-English) for CPU / on-device inference via onnxruntime —
no PyTorch required at inference. 48 kHz output.Use this ONNX build for fast CPU serving. For maximum voice fidelity, use the PyTorch buildIOTEverythin/roxi-tts-v2(see quality note).
moss_tts_prefill.onnx, moss_tts_decode_step.onnx, moss_tts_local_* graphs,
shared external data (*_shared.data), tokenizer.model, browser_poc_manifest.json,
tts_browser_onnx_meta.json. The audio codec is the official Apache-2.0
OpenMOSS-Team/MOSS-Audio-Tokenizer-Nano-ONNX
(not re-hosted here).infer_onnx.py). Lay the assets out as <dir>/MOSS-TTS-Nano-100M-ONNX + <dir>/MOSS-Audio-Tokenizer-Nano-ONNX:1pip install "onnxruntime>=1.20" soundfile numpy
2git clone https://github.com/OpenMOSS/MOSS-TTS-Nano && cd MOSS-TTS-Nano
3huggingface-cli download IOTEverythin/roxi-tts-v2-onnx --local-dir assets/MOSS-TTS-Nano-100M-ONNX
4huggingface-cli download OpenMOSS-Team/MOSS-Audio-Tokenizer-Nano-ONNX --local-dir assets/MOSS-Audio-Tokenizer-Nano-ONNX
5
6python infer_onnx.py --model-dir assets \
7 --text "Welcome. Your appointment is confirmed for Monday at ten thirty in the morning." \
8 --output-audio-path out.wav --execution-provider cpu --cpu-threads 8 \
9 --sample-mode full --audio-temperature 0.8 --audio-top-p 0.9 --audio-repetition-penalty 1.1 \
10 --disable-wetext-processing--sample-mode full --audio-temperature 0.8 --audio-top-p 0.9 --audio-repetition-penalty 1.1. (Greedy collapses the voice; the default
fixed mode is lower fidelity.)| Build | Speaker similarity to target ↑ | Intelligibility WER ↓ |
|---|---|---|
| roxi-tts-v2 (PyTorch) | 0.96 | 0.26 |
| roxi-tts-v2-onnx (this, tuned) | 0.73 | 0.25 |
| base MOSS (reference) | 0.52 | 0.26 |
SPRINGLab/IndicTTS-English. Required notice:
"COPYRIGHT 2016 TTS Consortium, TDIL, Meity — Hema A. Murthy & S. Umesh — IIT Madras. ALL RIGHTS RESERVED."