freds0 commited on
Commit
a72780e
·
verified ·
1 Parent(s): 1dacb41

XTTS finetuned using CML-TTS Dataset in Brazilian Portuguese for 50k steps

Browse files
Files changed (1) hide show
  1. config.json +302 -0
config.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "/root/TTS-XTTS-decoder/checkpoints_xtts",
3
+ "logger_uri": null,
4
+ "run_name": "GPT_XTTS_v2.0_pt",
5
+ "project_name": "XTTS_trainer",
6
+ "run_description": "\n GPT XTTS training\n ",
7
+ "print_step": 50,
8
+ "plot_step": 100,
9
+ "model_param_stats": false,
10
+ "wandb_entity": null,
11
+ "dashboard_logger": "tensorboard",
12
+ "save_on_interrupt": true,
13
+ "log_model_step": 1000,
14
+ "save_step": 10000,
15
+ "save_n_checkpoints": 3,
16
+ "save_checkpoints": true,
17
+ "save_all_best": false,
18
+ "save_best_after": 0,
19
+ "target_loss": null,
20
+ "print_eval": true,
21
+ "test_delay_epochs": 0,
22
+ "run_eval": true,
23
+ "run_eval_steps": 10000,
24
+ "distributed_backend": "nccl",
25
+ "distributed_url": "tcp://localhost:54321",
26
+ "mixed_precision": false,
27
+ "precision": "fp16",
28
+ "epochs": 1000,
29
+ "batch_size": 23,
30
+ "eval_batch_size": 23,
31
+ "grad_clip": 0.0,
32
+ "scheduler_after_epoch": true,
33
+ "lr": 5e-06,
34
+ "optimizer": "AdamW",
35
+ "optimizer_params": {
36
+ "betas": [
37
+ 0.9,
38
+ 0.96
39
+ ],
40
+ "eps": 1e-08,
41
+ "weight_decay": 0.01
42
+ },
43
+ "lr_scheduler": "MultiStepLR",
44
+ "lr_scheduler_params": {
45
+ "milestones": [
46
+ 900000,
47
+ 2700000,
48
+ 5400000
49
+ ],
50
+ "gamma": 0.5,
51
+ "last_epoch": -1
52
+ },
53
+ "use_grad_scaler": false,
54
+ "allow_tf32": false,
55
+ "cudnn_enable": true,
56
+ "cudnn_deterministic": false,
57
+ "cudnn_benchmark": false,
58
+ "training_seed": 1,
59
+ "model": "xtts",
60
+ "num_loader_workers": 8,
61
+ "num_eval_loader_workers": 0,
62
+ "use_noise_augment": false,
63
+ "audio": {
64
+ "sample_rate": 24000,
65
+ "output_sample_rate": 24000,
66
+ "dvae_sample_rate": 24000
67
+ },
68
+ "use_phonemes": false,
69
+ "phonemizer": null,
70
+ "phoneme_language": null,
71
+ "compute_input_seq_cache": false,
72
+ "text_cleaner": null,
73
+ "enable_eos_bos_chars": false,
74
+ "test_sentences_file": "",
75
+ "phoneme_cache_path": null,
76
+ "characters": null,
77
+ "add_blank": false,
78
+ "batch_group_size": 48,
79
+ "loss_masking": null,
80
+ "min_audio_len": 1,
81
+ "max_audio_len": Infinity,
82
+ "min_text_len": 1,
83
+ "max_text_len": Infinity,
84
+ "compute_f0": false,
85
+ "compute_energy": false,
86
+ "compute_linear_spec": false,
87
+ "precompute_num_workers": 0,
88
+ "start_by_longest": false,
89
+ "shuffle": false,
90
+ "drop_last": false,
91
+ "datasets": [
92
+ {
93
+ "formatter": "",
94
+ "dataset_name": "",
95
+ "path": "",
96
+ "meta_file_train": "",
97
+ "ignored_speakers": null,
98
+ "language": "",
99
+ "phonemizer": "",
100
+ "meta_file_val": "",
101
+ "meta_file_attn_mask": ""
102
+ }
103
+ ],
104
+ "test_sentences": [
105
+ {
106
+ "text": "Ouviram do ipiranga \u00e0s margens pl\u00e1cidas de um povo her\u00f3ico o brado retumbante.",
107
+ "speaker_wav": [
108
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
109
+ ],
110
+ "language": "pt"
111
+ },
112
+ {
113
+ "text": "Minha terra tem palmeiras onde canta o sabi\u00e1, as aves que aqui gorjeiam n\u00e3o gorjeiam como l\u00e1.",
114
+ "speaker_wav": [
115
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
116
+ ],
117
+ "language": "pt"
118
+ },
119
+ {
120
+ "text": "\u00d3 que saudades que tenho da aurora da minha vida, da minha inf\u00e2ncia querida, Que os anos n\u00e3o trazem mais.",
121
+ "speaker_wav": [
122
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
123
+ ],
124
+ "language": "pt"
125
+ },
126
+ {
127
+ "text": "No princ\u00edpio Deus criou o c\u00e9u e a terra, entretanto a terra era sem forma e vazia.",
128
+ "speaker_wav": [
129
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
130
+ ],
131
+ "language": "pt"
132
+ },
133
+ {
134
+ "text": "Amor \u00e9 fogo que arde sem se ver \u00e9 ferida que d\u00f3i e n\u00e3o se sente \u00e9 um contentamento descontente \u00e9 dor que desatina sem doer.",
135
+ "speaker_wav": [
136
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
137
+ ],
138
+ "language": "pt"
139
+ },
140
+ {
141
+ "text": "E agora Jos\u00e9? A festa acabou, a luz apagou, o povo sumiu, a noite esfriou, e agora Jos\u00e9?",
142
+ "speaker_wav": [
143
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
144
+ ],
145
+ "language": "pt"
146
+ },
147
+ {
148
+ "text": "Vou-me embora pra Pas\u00e1rgada, L\u00e1 sou amigo do rei, L\u00e1 tenho a mulher que eu quero, Na cama que escolherei!",
149
+ "speaker_wav": [
150
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
151
+ ],
152
+ "language": "pt"
153
+ },
154
+ {
155
+ "text": "\u00c9 pau, \u00e9 pedra, \u00e9 o fim do caminho. \u00c9 um resto de toco, \u00e9 um pouco sozinho.",
156
+ "speaker_wav": [
157
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
158
+ ],
159
+ "language": "pt"
160
+ },
161
+ {
162
+ "text": "No meio do caminho tinha uma pedra; Tinha uma pedra no meio do caminho.",
163
+ "speaker_wav": [
164
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
165
+ ],
166
+ "language": "pt"
167
+ },
168
+ {
169
+ "text": "Brasil, mostra tua cara; quero ver quem paga pra gente ficar assim.",
170
+ "speaker_wav": [
171
+ "/root/DATASETS/BRSpeech_CML_TTS_v14012024_24khz/train/audio/12249/12765/12249_12765_000007-0003.wav"
172
+ ],
173
+ "language": "pt"
174
+ }
175
+ ],
176
+ "eval_split_max_size": 256,
177
+ "eval_split_size": 0.05,
178
+ "use_speaker_weighted_sampler": false,
179
+ "speaker_weighted_sampler_alpha": 1.0,
180
+ "use_language_weighted_sampler": false,
181
+ "language_weighted_sampler_alpha": 1.0,
182
+ "use_length_weighted_sampler": false,
183
+ "length_weighted_sampler_alpha": 1.0,
184
+ "model_args": {
185
+ "gpt_batch_size": 1,
186
+ "enable_redaction": false,
187
+ "kv_cache": true,
188
+ "gpt_checkpoint": "",
189
+ "clvp_checkpoint": null,
190
+ "decoder_checkpoint": null,
191
+ "num_chars": 255,
192
+ "tokenizer_file": "/root/TTS-XTTS-decoder/checkpoints_xtts/XTTS_v2.0_original_model_files/vocab.json",
193
+ "gpt_max_audio_tokens": 605,
194
+ "gpt_max_text_tokens": 402,
195
+ "gpt_max_prompt_tokens": 70,
196
+ "gpt_layers": 30,
197
+ "gpt_n_model_channels": 1024,
198
+ "gpt_n_heads": 16,
199
+ "gpt_number_text_tokens": 6681,
200
+ "gpt_start_text_token": 261,
201
+ "gpt_stop_text_token": 0,
202
+ "gpt_num_audio_tokens": 1026,
203
+ "gpt_start_audio_token": 1024,
204
+ "gpt_stop_audio_token": 1025,
205
+ "gpt_code_stride_len": 1024,
206
+ "gpt_use_masking_gt_prompt_approach": true,
207
+ "gpt_use_perceiver_resampler": true,
208
+ "decoder_output_hop_length": 256,
209
+ "decoder_input_dim": 1024,
210
+ "decoder_d_vector_dim": 512,
211
+ "decoder_cond_d_vector_in_each_upsampling_layer": true,
212
+ "decoder_resblock_kernel_sizes_decoder": [
213
+ 3,
214
+ 7,
215
+ 11
216
+ ],
217
+ "decoder_resblock_dilation_sizes_decoder": [
218
+ [
219
+ 1,
220
+ 3,
221
+ 5
222
+ ],
223
+ [
224
+ 1,
225
+ 3,
226
+ 5
227
+ ],
228
+ [
229
+ 1,
230
+ 3,
231
+ 5
232
+ ]
233
+ ],
234
+ "decoder_upsample_rates_decoder": [
235
+ 8,
236
+ 8,
237
+ 2,
238
+ 2
239
+ ],
240
+ "decoder_upsample_initial_channel_decoder": 512,
241
+ "decoder_upsample_kernel_sizes_decoder": [
242
+ 16,
243
+ 16,
244
+ 4,
245
+ 4
246
+ ],
247
+ "decoder_init_discriminator": false,
248
+ "decoder_periods_multi_period_discriminator": [
249
+ 2,
250
+ 3,
251
+ 5,
252
+ 7,
253
+ 11
254
+ ],
255
+ "decoder_use_spectral_norm_disriminator": false,
256
+ "duration_const": 102400,
257
+ "min_conditioning_length": 66150,
258
+ "max_conditioning_length": 132300,
259
+ "gpt_loss_text_ce_weight": 0.01,
260
+ "gpt_loss_mel_ce_weight": 1.0,
261
+ "debug_loading_failures": false,
262
+ "max_wav_length": 255995,
263
+ "max_text_length": 200,
264
+ "mel_norm_file": "/root/TTS-XTTS-decoder/checkpoints_xtts/XTTS_v2.0_original_model_files/mel_stats.pth",
265
+ "dvae_checkpoint": "/root/TTS-XTTS-decoder/checkpoints_xtts/XTTS_v2.0_original_model_files/dvae.pth",
266
+ "xtts_checkpoint": "/root/TTS-XTTS-decoder/checkpoints_xtts/GPT_XTTS_v2.0_pt-May-17-2024_01+34AM-3fef64e9/checkpoint_39030.pth",
267
+ "vocoder": ""
268
+ },
269
+ "model_dir": null,
270
+ "languages": [
271
+ "en",
272
+ "es",
273
+ "fr",
274
+ "de",
275
+ "it",
276
+ "pt",
277
+ "pl",
278
+ "tr",
279
+ "ru",
280
+ "nl",
281
+ "cs",
282
+ "ar",
283
+ "zh-cn",
284
+ "hu",
285
+ "ko",
286
+ "ja"
287
+ ],
288
+ "temperature": 0.85,
289
+ "length_penalty": 1.0,
290
+ "repetition_penalty": 2.0,
291
+ "top_k": 50,
292
+ "top_p": 0.85,
293
+ "num_gpt_outputs": 1,
294
+ "gpt_cond_len": 12,
295
+ "gpt_cond_chunk_len": 4,
296
+ "max_ref_len": 10,
297
+ "sound_norm_refs": false,
298
+ "optimizer_wd_only_on_weights": true,
299
+ "weighted_loss_attrs": {},
300
+ "weighted_loss_multipliers": {},
301
+ "github_branch": "* main"
302
+ }