alakxender/dv-audio-syn-lg
Viewer • Updated • 267k • 198
How to use Serialtechlab/f5-tts-dhivehi with F5-TTS:
# 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
Fine-tuned F5-TTS model for Dhivehi (Maldivian) text-to-speech with zero-shot voice cloning.
from f5_tts.api import F5TTS
tts = F5TTS(
model="F5TTS_v1_Base",
ckpt_file="model.pt",
vocab_file="vocab.txt",
)
wav, sr, _ = tts.infer(
ref_file="reference.wav",
ref_text="reference text in Dhivehi",
gen_text="ދިވެހިރާއްޖެއަކީ ވަރަކް ރީތި ޔައުމެކެވެ",
)
| Dataset | Samples |
|---|---|
| Serialtechlab/dhivehi-mms-v5-combined | ~9,660 |
| Serialtechlab/dv-presidential-speech | ~1,660 |
| alakxender/dv-audio-syn-lg | ~50,000 (synthetic) |
model.pt - Fine-tuned F5-TTS weightsvocab.txt - Extended character vocabulary (Thaana + base)config.json - Training configurationBase model
SWivid/F5-TTS