Views
No views yet
mn)speakers.pth)| File | Description |
|---|---|
best_model.pth | Best VITS checkpoint (eval loss) |
config.json | Coqui TTS training/inference config |
speakers.pth | Speaker manager / speaker id map |
tensorboard/ | TensorBoard event files (training curves) |
1from huggingface_hub import hf_hub_download
2from TTS.utils.synthesizer import Synthesizer
3
4repo = "Bokhbat/mongolian-vits-tts"
5model_path = hf_hub_download(repo, "best_model.pth")
6config_path = hf_hub_download(repo, "config.json")
7speakers_path = hf_hub_download(repo, "speakers.pth")
8
9synth = Synthesizer(model_path, config_path, speakers_path, use_cuda=False)
10wav = synth.tts("Сайн байна уу?", speaker_name=synth.tts_model.speaker_manager.speaker_names[0])
11synth.save_wav(wav, "out.wav")tensorboard/ and render in the
Training metrics tab of this repository.