Best practices for high-quality inference
mainTo avoid suboptimal generation or failures, follow these guidelines:
- Reference Audio: Use audio <12s and include a small amount of silence (e.g., 1s) at the end to prevent mid-word truncation.
- Casing: Use
<ins>UPPERCASE</ins>(e.g.,K.F.C.) to force letter-by-letter pronunciation. Use lowercase for common words. - Pauses: Use spaces (
" ") or punctuation (,,.) to explicitly introduce pauses. - Sentence Boundaries: Ensure a space follows English punctuation marks at the end of a sentence to ensure correct chunking.
- Numbers: Preprocess numbers into Chinese characters if you want them read in Chinese; otherwise, they will be read in English.
- Silence Issues: If the output is pure silence, verify that FFmpeg is installed.
- Finetuned Models: If using an early-stage finetuned checkpoint, try turning off
use_ema.