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"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": 1000,
|
15 |
+
"save_n_checkpoints": 1,
|
16 |
+
"save_checkpoints": true,
|
17 |
+
"save_all_best": false,
|
18 |
+
"save_best_after": 0,
|
19 |
+
"target_loss": null,
|
20 |
+
"print_eval": false,
|
21 |
+
"test_delay_epochs": 0,
|
22 |
+
"run_eval": false,
|
23 |
+
"run_eval_steps": null,
|
24 |
+
"distributed_backend": "nccl",
|
25 |
+
"distributed_url": "tcp://localhost:54321",
|
26 |
+
"mixed_precision": false,
|
27 |
+
"precision": "fp16",
|
28 |
+
"epochs": 1000,
|
29 |
+
"batch_size": 2,
|
30 |
+
"eval_batch_size": 2,
|
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": 2,
|
61 |
+
"num_eval_loader_workers": 0,
|
62 |
+
"use_noise_augment": false,
|
63 |
+
"audio": {
|
64 |
+
"sample_rate": 22050,
|
65 |
+
"output_sample_rate": 24000,
|
66 |
+
"dvae_sample_rate": 22050
|
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": "\u0935\u0947 \u092f\u094b\u091c\u0928\u093e \u092c\u0928\u093e\u0924\u0947 \u0925\u0947, \u0915\u0941\u0932 \u0915\u093e\u092e \u0915\u0940 \u0932\u093e\u0917\u0924 \u0928\u093f\u0915\u093e\u0932\u0924\u0947 \u0925\u0947, \u0915\u093e\u092e \u092e\u0947\u0902 \u0932\u0917\u0928\u0947 \u0935\u093e\u0932\u0940 \u0938\u093e\u0930\u0940 \u0938\u093e\u092e\u0917\u094d\u0930\u0940 \u091c\u0941\u091f\u093e\u0924\u0947 \u0925\u0947 \u0914\u0930 \u0907\u0938 \u0938\u092c\u0915\u0947 \u092c\u0926\u0932\u0947 \u0935\u0947 \u0905\u092a\u0928\u0947 \u091c\u091c\u092e\u093e\u0928 \u0938\u0947 \u0910\u0938\u093e \u0915\u0941\u091b \u0928\u0939\u0940\u0902 \u092e\u093e\u0902\u0917 \u092c\u0948\u0920\u0924\u0947 \u0925\u0947, \u091c\u094b \u0935\u0947 \u0926\u0947 \u0928 \u092a\u093e\u090f\u0902\u0964 \u0932\u094b\u0917 \u092d\u0940 \u0910\u0938\u0947 \u0925\u0947 \u0915\u093f \u0909\u0928\u0938\u0947 \u091c\u094b \u0915\u0941\u091b \u092c\u0928\u0924\u093e,\u0935\u0947 \u0917\u091c\u0927\u0930 \u0915\u094b \u092d\u0947\u0902\u091f \u0915\u0930 \u0926\u0947\u0924\u0947\u0964",
|
107 |
+
"speaker_wav": "c://tts//speakers-hi//common_voice_hi_26010592_mic1.flac",
|
108 |
+
"language": "hi"
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"text": "\u092a\u0938\u093f\u0916\u093e\u0908 \u091c\u093e\u0924\u0940 \u0925\u0940 \u0924\u094b \u0915\u0939\u0940\u0902 \u092f\u0939 \u091c\u093e\u0924 \u0938\u0947 \u0939\u091f \u0915\u0930 \u090f\u0915 \u0935\u093f\u0936\u0947\u0937 \u092a\u093e\u0902\u0924 \u092d\u0940 \u091c\u093e\u0924\u0940 \u0925\u0940\u0964 \u092c\u0928\u093e\u0928\u0947 \u0935\u093e\u0932\u0947 \u0932\u094b\u0917 \u0915\u0939\u0940\u0902 \u090f\u0915 \u091c\u0917\u0939 \u092c\u0938\u0947 \u092e\u093f\u0932\u0924\u0947 \u0925\u0947 \u0924\u094b \u0915\u0939\u0940\u0902 -\u0918\u0942\u092e \u0915\u0930 \u0907\u0938 \u0915\u093e\u092e \u0915\u094b \u0915\u0930\u0924\u0947 \u0925\u0947\u0964",
|
112 |
+
"speaker_wav": "c://tts//speakers-hi//0045_078_mic1.flac",
|
113 |
+
"language": "hi"
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"text": "\u092a\u0938\u093f\u0916\u093e\u0908 \u091c\u093e\u0924\u0940 \u0925\u0940 \u0924\u094b \u0915\u0939\u0940\u0902 \u092f\u0939 \u091c\u093e\u0924 \u0938\u0947 \u0939\u091f \u0915\u0930 \u090f\u0915 \u0935\u093f\u0936\u0947\u0937 \u092a\u093e\u0902\u0924 \u092d\u0940 \u091c\u093e\u0924\u0940 \u0925\u0940\u0964 \u092c\u0928\u093e\u0928\u0947 \u0935\u093e\u0932\u0947 \u0932\u094b\u0917 \u0915\u0939\u0940\u0902 \u090f\u0915 \u091c\u0917\u0939 \u092c\u0938\u0947 \u092e\u093f\u0932\u0924\u0947 \u0925\u0947 \u0924\u094b \u0915\u0939\u0940\u0902 -\u0918\u0942\u092e \u0915\u0930 \u0907\u0938 \u0915\u093e\u092e \u0915\u094b \u0915\u0930\u0924\u0947 \u0925\u0947\u0964 I am the very model of a modern Major-General.",
|
117 |
+
"speaker_wav": "c://tts//datasets//bilingual-f//wavs//multiLingual_002.wav",
|
118 |
+
"language": "hi"
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"text": "I am the very model of a modern Major-General. I've information vegetable, animal, and mineral. I know the kings of England, and I quote the fights historical; from Marathon to Waterloo, in order categorical",
|
122 |
+
"speaker_wav": "C://tts//speakers-hi//common_voice_hi_27371998_mic1.flac",
|
123 |
+
"language": "en"
|
124 |
+
}
|
125 |
+
],
|
126 |
+
"eval_split_max_size": 256,
|
127 |
+
"eval_split_size": 1,
|
128 |
+
"use_speaker_weighted_sampler": false,
|
129 |
+
"speaker_weighted_sampler_alpha": 1.0,
|
130 |
+
"use_language_weighted_sampler": false,
|
131 |
+
"language_weighted_sampler_alpha": 1.0,
|
132 |
+
"use_length_weighted_sampler": false,
|
133 |
+
"length_weighted_sampler_alpha": 1.0,
|
134 |
+
"model_args": {
|
135 |
+
"gpt_batch_size": 1,
|
136 |
+
"enable_redaction": false,
|
137 |
+
"kv_cache": true,
|
138 |
+
"gpt_checkpoint": "",
|
139 |
+
"clvp_checkpoint": null,
|
140 |
+
"decoder_checkpoint": null,
|
141 |
+
"num_chars": 255,
|
142 |
+
"tokenizer_file": "C:\\tts\\run\\training\\XTTS_v2.0_original_model_files/vocab.json",
|
143 |
+
"gpt_max_audio_tokens": 605,
|
144 |
+
"gpt_max_text_tokens": 402,
|
145 |
+
"gpt_max_prompt_tokens": 70,
|
146 |
+
"gpt_layers": 30,
|
147 |
+
"gpt_n_model_channels": 1024,
|
148 |
+
"gpt_n_heads": 16,
|
149 |
+
"gpt_number_text_tokens": 6681,
|
150 |
+
"gpt_start_text_token": 261,
|
151 |
+
"gpt_stop_text_token": 0,
|
152 |
+
"gpt_num_audio_tokens": 1026,
|
153 |
+
"gpt_start_audio_token": 1024,
|
154 |
+
"gpt_stop_audio_token": 1025,
|
155 |
+
"gpt_code_stride_len": 1024,
|
156 |
+
"gpt_use_masking_gt_prompt_approach": true,
|
157 |
+
"gpt_use_perceiver_resampler": true,
|
158 |
+
"input_sample_rate": 22050,
|
159 |
+
"output_sample_rate": 24000,
|
160 |
+
"output_hop_length": 256,
|
161 |
+
"decoder_input_dim": 1024,
|
162 |
+
"d_vector_dim": 512,
|
163 |
+
"cond_d_vector_in_each_upsampling_layer": true,
|
164 |
+
"duration_const": 102400,
|
165 |
+
"min_conditioning_length": 66150,
|
166 |
+
"max_conditioning_length": 132300,
|
167 |
+
"gpt_loss_text_ce_weight": 0.01,
|
168 |
+
"gpt_loss_mel_ce_weight": 1.0,
|
169 |
+
"debug_loading_failures": false,
|
170 |
+
"max_wav_length": 255995,
|
171 |
+
"max_text_length": 512,
|
172 |
+
"mel_norm_file": "C:\\tts\\run\\training\\XTTS_v2.0_original_model_files/mel_stats.pth",
|
173 |
+
"dvae_checkpoint": "C:\\tts\\run\\training\\XTTS_v2.0_original_model_files/dvae.pth",
|
174 |
+
"xtts_checkpoint": "C:\\tts\\run\\training\\XTTS_v2.0_original_model_files/model.pth",
|
175 |
+
"vocoder": ""
|
176 |
+
},
|
177 |
+
"model_dir": null,
|
178 |
+
"languages": [
|
179 |
+
"en",
|
180 |
+
"es",
|
181 |
+
"fr",
|
182 |
+
"de",
|
183 |
+
"it",
|
184 |
+
"pt",
|
185 |
+
"pl",
|
186 |
+
"tr",
|
187 |
+
"ru",
|
188 |
+
"nl",
|
189 |
+
"cs",
|
190 |
+
"ar",
|
191 |
+
"zh-cn",
|
192 |
+
"hu",
|
193 |
+
"ko",
|
194 |
+
"ja",
|
195 |
+
"hi"
|
196 |
+
],
|
197 |
+
"temperature": 0.85,
|
198 |
+
"length_penalty": 1.0,
|
199 |
+
"repetition_penalty": 2.0,
|
200 |
+
"top_k": 50,
|
201 |
+
"top_p": 0.85,
|
202 |
+
"num_gpt_outputs": 1,
|
203 |
+
"gpt_cond_len": 12,
|
204 |
+
"gpt_cond_chunk_len": 4,
|
205 |
+
"max_ref_len": 10,
|
206 |
+
"sound_norm_refs": false,
|
207 |
+
"optimizer_wd_only_on_weights": true,
|
208 |
+
"weighted_loss_attrs": {},
|
209 |
+
"weighted_loss_multipliers": {},
|
210 |
+
"github_branch": "* dev"
|
211 |
+
}
|