Skip to content

Commit

Permalink
Update XTTS docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Edresson committed Oct 23, 2023
1 parent 0f96abb commit bb7f9d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/models/xtts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit bb7f9d1

Please sign in to comment.