Run this model with HF Jobs
Run ampixa/dhimal-tts on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ampixa/dhimal-tts. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ampixa/dhimal-tts on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ampixa/dhimal-tts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Piper
How to use ampixa/dhimal-tts with Piper:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Dhimal TTS (Piper/VITS, ONNX)
A single-speaker Dhimal (dhi) voice with the contrast-preserving Devanagari G2P from Ampixa's Dhimal TTS
paper (IEEE SLT, submission 650). 22.05 kHz output, CPU-friendly ONNX, about 64 MB.
Status
- ONNX voice and G2P frontend, tested.
Use
pip install -r requirements.txt # onnxruntime, numpy, soundfile
python speak.py "गुम्बाराइतेङ थुम्हि।" -o dhimal.wav --phones
from speak import synthesize
wav, sr, phones = synthesize("धिमाल", length_scale=1.0)
Options: --length-scale (higher is slower), --noise, --noise-w; defaults come from config.json.
Files
model.onnx (voice), config.json (phoneme map, sample rate, inference defaults), frontend/devanagari_g2p.py
(Dhimal G2P), frontend/frontend_adapter.py, speak.py (CLI and Python API).
Limitations
- The voice knows these phones only: a ai au aː b bʰ d dz dzʰ dʰ e eː f g gʰ h i iː j k kʰ l m n o oː p pʰ r ri s t ts tsʰ tʰ u uː w ã ŋ ɕ ɖ ɖʰ ɳ ʈ ʈʰ ʌ ʌː ʌ̃ ʔ. Loan letters the frontend maps elsewhere (for example ष → ʂ) raise a clear error instead of being guessed.
- One narrator, read-scripture register.
- Downloads last month
- 19