Views
No views yet
1from f5_tts.api import F5TTS
2
3tts = F5TTS(
4 model="F5TTS_v1_Base",
5 lora_path="instavar/f5-tts-v1-lora-female01",
6 device="cuda",
7)
8
9wav, sr, spec = tts.infer(
10 ref_file="reference.wav",
11 ref_text="",
12 gen_text="Text to synthesize.",
13 file_wave="output.wav",
14)f5-tts_infer-cli --lora_path instavar/f5-tts-v1-lora-female01 -r ref.wav -t "Text to synthesize."| Parameter | Value |
|---|---|
| Base model | F5TTS_v1_Base (model_1250000.safetensors, SHA256 prefix 670900fd) |
| Dataset | IMDA NSC FEMALE_01 (10,850 train samples, pinyin tokenizer) |
| LoRA rank | 16 |
| LoRA alpha | 16 |
| Target modules | to_q, to_k, to_v, to_out.0 |
| Trainable params | 2,883,584 / 339,980,388 (0.85%) |
| Learning rate | 1e-4 |
| Epochs | 1 (~1,250 updates) |
| Hardware | NVIDIA RTX 3090 Ti (24 GB) |
| EMA | Disabled (standard for diffusion LoRA) |
merge_and_unload() at inference for zero overheaddc1b18a)