Skip to content

Commit

Permalink
Update XTTS v2.0 recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Edresson committed Nov 6, 2023
1 parent 09fb317 commit cabff9f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions recipes/ljspeech/xtts_v2/train_gpt_xtts.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
os.makedirs(CHECKPOINTS_OUT_PATH, exist_ok=True)


# ToDo: update DVAE checkpoint
# DVAE files
DVAE_CHECKPOINT_LINK = "https://coqui.gateway.scarf.sh/hf-coqui/XTTS-v1/v1.1.1/dvae.pth"
MEL_NORM_LINK = "https://coqui.gateway.scarf.sh/hf-coqui/XTTS-v1/v1.1.1/mel_stats.pth"
Expand Down Expand Up @@ -89,9 +90,9 @@ def main():
dvae_checkpoint=DVAE_CHECKPOINT,
xtts_checkpoint=XTTS_CHECKPOINT, # checkpoint path of the model that you want to fine-tune
tokenizer_file=TOKENIZER_FILE,
gpt_num_audio_tokens=8194,
gpt_start_audio_token=8192,
gpt_stop_audio_token=8193,
gpt_num_audio_tokens=1024,
gpt_start_audio_token=1025,
gpt_stop_audio_token=1026,
gpt_use_masking_gt_prompt_approach=True,
gpt_use_perceiver_resampler=True,
)
Expand Down

0 comments on commit cabff9f

Please sign in to comment.