Views
No views yet
checkpoint-1860000.pt, FP16 inference state dict7000 total hours, including roughly 6500 hours of Vietnamese and 500 hours of EnglishSimpleTokenizer, character-level, 244 tokens24 kHzcharactr/vocos-mel-24khzcheckpoint-<step>.pt automatically and uses soe-vinorm for Vietnamese text normalization.checkpoint-1860000.pt, the current wrapper flow, and the demo text in demo/demo_text.txt.1git clone https://github.com/iamdinhthuan/ViZipvoice.git
2cd ViZipvoice
3pip install -r requirements.txt
4export PYTHONPATH="$PWD:$PYTHONPATH"1python3 -m zipvoice.bin.infer_vizipvoice \
2 --prompt-wav prompt.wav \
3 --prompt-text "Xin chào, đây là giọng mẫu của tôi." \
4 --text "ViZipVoice có thể tổng hợp giọng nói tiếng Việt từ một đoạn mẫu ngắn." \
5 --res-wav-path output.wav--model-dir models/ViZipvoice after downloading files locally.1from zipvoice.vizipvoice import ViZipVoiceTTS
2
3tts = ViZipVoiceTTS()
4metrics = tts.synthesize(
5 prompt_wav="prompt.wav",
6 prompt_text="Xin chào, đây là giọng mẫu của tôi.",
7 text="Đây là câu tiếng Việt được sinh bởi ViZipVoice.",
8 output_path="output.wav",
9)
10print(metrics)audio/ contains 30 reference prompts. Each audio file has a sidecar .txt transcript with the same basename:1audio/Đinh-Quyết.mp3
2audio/Đinh-Quyết.txtlar_* prefix and Pro suffix are removed. The Gradio app reads this sidecar format automatically.1huggingface-cli download contextboxai/ViZipvoice \
2 --local-dir models/ViZipvoice \
3 --local-dir-use-symlinks False
4
5python3 egs/zipvoice/gradio_app.py --exp-dir models/ViZipvoicesoe-vinorm, then clean spaces around punctuation;1-word sentence: use at least 24 steps and speed=0.6;2-4 word sentence: use speed=0.8;1--no-vietnamese-normalize
2--no-split-sentences
3--crossfade-ms 80
4--silence-ms 180
5--fade-in-ms 20
6--fade-out-ms 80checkpoint-1860000.pt: latest FP16 checkpointconfig.json, model.json: model configtokens.txt: Vietnamese character tokenizeraudio/: 30 reference audios plus .txt transcriptsdemo/: regenerated audio demos and metadata.jsonvizipvoice.py: wrapper mirrored from GitHub