Downloads · 30 days
7
10% of all-time downloads
dohop96/voice-tts
voice-tts is a text-to-speech model from dohop96. Use it when you need text read aloud. The card lists the license as apache-2.0.
Fine-tuned Vietnamese Kokoro TTS artifacts.
Downloads · 30 days
7
10% of all-time downloads
All-time downloads
71
Public
Repo size
661 MB
Likes
0
Public
Click a slice to open those files.
.pth327 MB · 49%
From the Hugging Face model README
Fine-tuned Vietnamese Kokoro TTS artifacts.
kokoro_vi.pth: PyTorch Kokoro KModel checkpoint for inference.kokoro_vi.onnx: ONNX Runtime export of the acoustic model.kokoro_vi_voicepack.pt: default Vietnamese voicepack.config.json: Kokoro config/vocab used by both PyTorch and ONNX inference.voicepacks/*.pt: additional Vietnamese voicepacks.git clone https://github.com/iamdinhthuan/Kokoro-Vietnamese.git
cd Kokoro-Vietnamese
pip install -e .
For ONNX Runtime:
pip install -e ".[onnx]"
kokoro-vietnamese \
--text "Xin chào, hôm nay tôi đang kiểm tra giọng đọc tiếng Việt." \
--output outputs/sample.wav \
--voice diem_trinh \
--device cuda
kokoro-vietnamese-onnx \
--text "Tường nhà khách đã được sơn lại." \
--output outputs/onnx.wav \
--device cpu \
--print-phonemes
The ONNX CLI downloads kokoro_vi.onnx, kokoro_vi_voicepack.pt, and
config.json from this repository when local paths are not provided. Install
onnxruntime-gpu and pass --device cuda to use CUDAExecutionProvider when
available.
kokoro-vietnamese-export-onnx \
--output outputs/kokoro_vi.onnx
Vietnamese G2P is handled by vig2p, matching the GitHub inference and
training code.