diff --git a/docs/source/models/xtts.md b/docs/source/models/xtts.md index cc4eefdc77..022fe05f14 100644 --- a/docs/source/models/xtts.md +++ b/docs/source/models/xtts.md @@ -137,8 +137,9 @@ torchaudio.save("xtts_streaming.wav", wav.squeeze().unsqueeze(0).cpu(), 24000) ### Training A recipe for `XTTS_v1.1` GPT encoder training using `LJSpeech` dataset is available at https://github.com/coqui-ai/TTS/tree/dev/recipes/ljspeech/xtts_v1/train_gpt_xtts.py and it looks like below. - ```{literalinclude} ../../recipes/ljspeech/xtts_v1/train_gpt_xtts.py - ``` + +```{literalinclude} ../../../recipes/ljspeech/xtts_v1/train_gpt_xtts.py +``` You need to change the fields of the `BaseDatasetConfig` to match your dataset and then update `GPTArgs` and `GPTTrainerConfig` fields as you need. By default, it will use the same parameters that XTTS v1.1 model was trained with. To speed up the model convergence, as default, it will also download the XTTS v1.1 checkpoint and load it.