tiny-ava is also trained from scratch using the tiny-voca architecture, with approximately 453 million parameters (PyTorch 18.2 MB, ONNX 20.4 MB), featuring only one female voice, parisa. The ONNX graph takes 46 Persian phonetic symbols and stress / ezafe connection markers as input, directly outputting 24 kHz waveforms, with adjustable speech rate and pitch; text-to-phoneme conversion requires first using the same author's persian-g2p-tiny or persian-g2p-0.6b. The training data consists of 8,033 sentences, approximately 20 hours of recordings, trained for about 5.5 hours on a single A100 GPU; the author claims 38.5x real-time speed on a single thread and 77.4x real-time speed on 4 threads.
Why it matters Complements the Persian grapheme-to-phoneme model featured yesterday, completing the latter half of the pipeline from text to speech; it runs much faster than real-time on a single-threaded CPU, and is commercially usable under CC BY 4.0.
Hugging Face likes 11 · Hugging Face upvotes 11 · Hugging Face downloads 0
License: Commercial use allowed · ComfyUI: Not available · VRAM: Not specified
Reasons
- Hugging Face likes 11 (indicates attention only); CC BY 4.0, commercial use allowed with attribution, includes an online demo and 12 sample audio clips
- The model card lists every input and output field of the ONNX model along with file checksums, with examples addressing challenges such as homographs and liaison sounds
Usage
- First use mehdi-hf/persian-g2p-tiny (or persian-g2p-0.6b) to convert sentences into phonemes, map them to IDs according to the symbol table in onnx/tiny-ava-parisa.json, then feed them along with stress markers into onnx/tiny-ava-parisa.onnx; if you prefer not to write code, you can try the demo on Hugging Face Space mehdi-hf/tiny-ava-demo
Risks
- Only one fixed female voice is available, voice cloning is not supported, and the intonation for the same sentence remains identical every time; generation is performed on a per-sentence basis, with no streaming support
- The accuracy of pronunciation for rare homographs, numbers, and loanwords depends on the frontend grapheme-to-phoneme converter; if used in a product, attribution must be provided as required