CoolFace
Modelpublic

coutMinh/f5tts-vietnamese-finetuned

sourceHugging Facemitupdated 9mo agoView on Hugging Face
2likes115downloads
Model Card

F5-TTS Vietnamese Fine-tuned Model

Model F5-TTS đã được fine-tune cho tiếng Việt.

Files

  • —model.pt: Model checkpoint
  • —vocab.txt: Vocabulary file

Usage

python
from huggingface_hub import hf_hub_download
from f5_tts.api import F5TTS

# Download files
model_path = hf_hub_download(repo_id="coutMinh/f5tts-vietnamese-finetuned", filename="model.pt")
vocab_path = hf_hub_download(repo_id="coutMinh/f5tts-vietnamese-finetuned", filename="vocab.txt")

# Load model
tts = F5TTS(model_type="F5TTS_Base", ckpt_file=model_path, vocab_file=vocab_path)

# Generate
wav, sr, _ = tts.infer(
    ref_audio="reference.wav",
    ref_text="Text tham chiếu",
    gen_text="Text cần tạo"
)