Kamtera commited on
Commit
78c3810
1 Parent(s): d4e83b4

Upload config-1.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config-1.json +292 -0
config-1.json ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "/kaggle/working/train_output",
3
+ "logger_uri": null,
4
+ "run_name": "vits_fa_female",
5
+ "project_name": null,
6
+ "run_description": "\ud83d\udc38Coqui trainer run.",
7
+ "print_step": 25,
8
+ "plot_step": 100,
9
+ "model_param_stats": false,
10
+ "wandb_entity": null,
11
+ "dashboard_logger": "tensorboard",
12
+ "log_model_step": 1000,
13
+ "save_step": 1000,
14
+ "save_n_checkpoints": 5,
15
+ "save_checkpoints": true,
16
+ "save_all_best": false,
17
+ "save_best_after": 10000,
18
+ "target_loss": null,
19
+ "print_eval": true,
20
+ "test_delay_epochs": -1,
21
+ "run_eval": true,
22
+ "run_eval_steps": null,
23
+ "distributed_backend": "nccl",
24
+ "distributed_url": "tcp://localhost:54321",
25
+ "mixed_precision": false,
26
+ "epochs": 1000,
27
+ "batch_size": 8,
28
+ "eval_batch_size": 4,
29
+ "grad_clip": [
30
+ 1000.0,
31
+ 1000.0
32
+ ],
33
+ "scheduler_after_epoch": true,
34
+ "lr": 0.001,
35
+ "optimizer": "AdamW",
36
+ "optimizer_params": {
37
+ "betas": [
38
+ 0.8,
39
+ 0.99
40
+ ],
41
+ "eps": 1e-09,
42
+ "weight_decay": 0.01
43
+ },
44
+ "lr_scheduler": null,
45
+ "lr_scheduler_params": {},
46
+ "use_grad_scaler": false,
47
+ "cudnn_enable": true,
48
+ "cudnn_deterministic": false,
49
+ "cudnn_benchmark": false,
50
+ "training_seed": 54321,
51
+ "model": "vits",
52
+ "num_loader_workers": 0,
53
+ "num_eval_loader_workers": 2,
54
+ "use_noise_augment": false,
55
+ "audio": {
56
+ "fft_size": 1024,
57
+ "sample_rate": 22050,
58
+ "win_length": 1024,
59
+ "hop_length": 256,
60
+ "num_mels": 80,
61
+ "mel_fmin": 0,
62
+ "mel_fmax": null
63
+ },
64
+ "use_phonemes": true,
65
+ "phonemizer": "espeak",
66
+ "phoneme_language": "fa",
67
+ "compute_input_seq_cache": true,
68
+ "text_cleaner": "basic_cleaners",
69
+ "enable_eos_bos_chars": false,
70
+ "test_sentences_file": "",
71
+ "phoneme_cache_path": "/kaggle/working/train_output/phoneme_cache",
72
+ "characters": {
73
+ "characters_class": "TTS.tts.utils.text.characters.IPAPhonemes",
74
+ "vocab_dict": null,
75
+ "pad": "<PAD>",
76
+ "eos": "<EOS>",
77
+ "bos": "<BOS>",
78
+ "blank": "<BLNK>",
79
+ "characters": "\u02c8\u02cc\u02d0\u02d1pbtd\u0288\u0256c\u025fk\u0261q\u0262\u0294\u0274\u014b\u0272\u0273n\u0271m\u0299r\u0280\u2c71\u027e\u027d\u0278\u03b2fv\u03b8\u00f0sz\u0283\u0292\u0282\u0290\u00e7\u029dx\u0263\u03c7\u0281\u0127\u0295h\u0266\u026c\u026e\u028b\u0279\u027bj\u0270l\u026d\u028e\u029faegiouwy\u026a\u028a\u0329\u00e6\u0251\u0254\u0259\u025a\u025b\u025d\u0268\u0303\u0289\u028c\u028d0123456789\"#$%*+/=ABCDEFGHIJKLMNOPRSTUVWXYZ[]^_{}",
80
+ "punctuations": "!(),-.:;? \u0320\u060c\u061b\u061f\u200c<>",
81
+ "phonemes": "\u02c8\u02cc\u02d0\u02d1pbtd\u0288\u0256c\u025fk\u0261q\u0262\u0294\u0274\u014b\u0272\u0273n\u0271m\u0299r\u0280\u2c71\u027e\u027d\u0278\u03b2fv\u03b8\u00f0sz\u0283\u0292\u0282\u0290\u00e7\u029dx\u0263\u03c7\u0281\u0127\u0295h\u0266\u026c\u026e\u028b\u0279\u027bj\u0270l\u026d\u028e\u029faegiouwy\u026a\u028a\u0329\u00e6\u0251\u0254\u0259\u025a\u025b\u025d\u0268\u0303\u0289\u028c\u028d0123456789\"#$%*+/=ABCDEFGHIJKLMNOPRSTUVWXYZ[]^_{}",
82
+ "is_unique": true,
83
+ "is_sorted": true
84
+ },
85
+ "add_blank": true,
86
+ "batch_group_size": 5,
87
+ "loss_masking": null,
88
+ "min_audio_len": 1,
89
+ "max_audio_len": Infinity,
90
+ "min_text_len": 1,
91
+ "max_text_len": Infinity,
92
+ "compute_f0": false,
93
+ "compute_energy": false,
94
+ "compute_linear_spec": true,
95
+ "precompute_num_workers": 0,
96
+ "start_by_longest": false,
97
+ "shuffle": false,
98
+ "drop_last": false,
99
+ "datasets": [
100
+ {
101
+ "formatter": "mozilla_with_speaker",
102
+ "dataset_name": "multi_persian",
103
+ "path": "/kaggle/input",
104
+ "meta_file_train": "metadata.csv",
105
+ "ignored_speakers": null,
106
+ "language": "fa",
107
+ "phonemizer": "espeak",
108
+ "meta_file_val": "",
109
+ "meta_file_attn_mask": ""
110
+ }
111
+ ],
112
+ "test_sentences": [
113
+ [
114
+ "\u0633\u0644\u0637\u0627\u0646 \u0645\u062d\u0645\u0648\u062f \u062f\u0631 \u0632\u0645\u0633\u062a\u0627\u0646\u06cc \u0633\u062e\u062a \u0628\u0647 \u0637\u0644\u062e\u06a9 \u06af\u0641\u062a \u06a9\u0647",
115
+ "dilara",
116
+ null,
117
+ "fa"
118
+ ],
119
+ [
120
+ " \u0628\u0627 \u0627\u06cc\u0646 \u062c\u0627\u0645\u0647 \u06cc \u06cc\u06a9 \u0644\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0633\u0631\u0645\u0627 \u0686\u0647 \u0645\u06cc \u06a9\u0646\u06cc ",
121
+ "farid",
122
+ null,
123
+ "fa"
124
+ ],
125
+ [
126
+ "\u0645\u0631\u062f\u06cc \u0646\u0632\u062f \u0628\u0642\u0627\u0644\u06cc \u0622\u0645\u062f \u0648 \u06af\u0641\u062a \u067e\u06cc\u0627\u0632 \u0647\u0645 \u062f\u0647 \u062a\u0627 \u062f\u0647\u0627\u0646 \u0628\u062f\u0627\u0646 \u062e\u0648 \u0634\u0628\u0648\u06cc \u0633\u0627\u0632\u0645.",
127
+ "farid",
128
+ null,
129
+ "fa"
130
+ ],
131
+ [
132
+ "\u0627\u0632 \u0645\u0627\u0644 \u062e\u0648\u062f \u067e\u0627\u0631\u0647 \u0627\u06cc \u06af\u0648\u0634\u062a \u0628\u0633\u062a\u0627\u0646 \u0648 \u0632\u06cc\u0631\u0647 \u0628\u0627\u06cc\u06cc \u0645\u0639\u0637\u0651\u0631 \u0628\u0633\u0627\u0632",
133
+ "dilara",
134
+ null,
135
+ "fa"
136
+ ],
137
+ [
138
+ "\u06cc\u06a9 \u0628\u0627\u0631 \u0647\u0645 \u0627\u0632 \u062c\u0647\u0646\u0645 \u0628\u06af\u0648\u06cc\u06cc\u062f.",
139
+ "changiz",
140
+ null,
141
+ "fa"
142
+ ],
143
+ [
144
+ "\u06cc\u06a9\u06cc \u0627\u0633\u0628\u06cc \u0628\u0647 \u0639\u0627\u0631\u06cc\u062a \u062e\u0648\u0627\u0633\u062a",
145
+ "changiz",
146
+ null,
147
+ "fa"
148
+ ]
149
+ ],
150
+ "eval_split_max_size": null,
151
+ "eval_split_size": 0.01,
152
+ "use_speaker_weighted_sampler": false,
153
+ "speaker_weighted_sampler_alpha": 1.0,
154
+ "use_language_weighted_sampler": false,
155
+ "language_weighted_sampler_alpha": 1.0,
156
+ "use_length_weighted_sampler": false,
157
+ "length_weighted_sampler_alpha": 1.0,
158
+ "model_args": {
159
+ "num_chars": 156,
160
+ "out_channels": 513,
161
+ "spec_segment_size": 32,
162
+ "hidden_channels": 192,
163
+ "hidden_channels_ffn_text_encoder": 768,
164
+ "num_heads_text_encoder": 2,
165
+ "num_layers_text_encoder": 10,
166
+ "kernel_size_text_encoder": 3,
167
+ "dropout_p_text_encoder": 0.1,
168
+ "dropout_p_duration_predictor": 0.5,
169
+ "kernel_size_posterior_encoder": 5,
170
+ "dilation_rate_posterior_encoder": 1,
171
+ "num_layers_posterior_encoder": 16,
172
+ "kernel_size_flow": 5,
173
+ "dilation_rate_flow": 1,
174
+ "num_layers_flow": 4,
175
+ "resblock_type_decoder": "1",
176
+ "resblock_kernel_sizes_decoder": [
177
+ 3,
178
+ 7,
179
+ 11
180
+ ],
181
+ "resblock_dilation_sizes_decoder": [
182
+ [
183
+ 1,
184
+ 3,
185
+ 5
186
+ ],
187
+ [
188
+ 1,
189
+ 3,
190
+ 5
191
+ ],
192
+ [
193
+ 1,
194
+ 3,
195
+ 5
196
+ ]
197
+ ],
198
+ "upsample_rates_decoder": [
199
+ 8,
200
+ 8,
201
+ 2,
202
+ 2
203
+ ],
204
+ "upsample_initial_channel_decoder": 512,
205
+ "upsample_kernel_sizes_decoder": [
206
+ 16,
207
+ 16,
208
+ 4,
209
+ 4
210
+ ],
211
+ "periods_multi_period_discriminator": [
212
+ 2,
213
+ 3,
214
+ 5,
215
+ 7,
216
+ 11
217
+ ],
218
+ "use_sdp": true,
219
+ "noise_scale": 1.0,
220
+ "inference_noise_scale": 0.667,
221
+ "length_scale": 1.0,
222
+ "noise_scale_dp": 1.0,
223
+ "inference_noise_scale_dp": 1.0,
224
+ "max_inference_len": null,
225
+ "init_discriminator": true,
226
+ "use_spectral_norm_disriminator": false,
227
+ "use_speaker_embedding": false,
228
+ "num_speakers": 0,
229
+ "speakers_file": "train_output/kagg/speakers.pth",
230
+ "d_vector_file": [
231
+ "/kaggle/working/speakers.pth"
232
+ ],
233
+ "speaker_embedding_channels": 256,
234
+ "use_d_vector_file": true,
235
+ "d_vector_dim": 512,
236
+ "detach_dp_input": true,
237
+ "use_language_embedding": false,
238
+ "embedded_language_dim": 4,
239
+ "num_languages": 0,
240
+ "language_ids_file": null,
241
+ "use_speaker_encoder_as_loss": false,
242
+ "speaker_encoder_config_path": "https://github.com/coqui-ai/TTS/releases/download/speaker_encoder_model/config_se.json",
243
+ "speaker_encoder_model_path": "https://github.com/coqui-ai/TTS/releases/download/speaker_encoder_model/model_se.pth.tar",
244
+ "condition_dp_on_speaker": true,
245
+ "freeze_encoder": false,
246
+ "freeze_DP": false,
247
+ "freeze_PE": false,
248
+ "freeze_flow_decoder": false,
249
+ "freeze_waveform_decoder": false,
250
+ "encoder_sample_rate": null,
251
+ "interpolate_z": true,
252
+ "reinit_DP": false,
253
+ "reinit_text_encoder": false
254
+ },
255
+ "lr_gen": 0.0002,
256
+ "lr_disc": 0.0002,
257
+ "lr_scheduler_gen": "ExponentialLR",
258
+ "lr_scheduler_gen_params": {
259
+ "gamma": 0.999875,
260
+ "last_epoch": -1
261
+ },
262
+ "lr_scheduler_disc": "ExponentialLR",
263
+ "lr_scheduler_disc_params": {
264
+ "gamma": 0.999875,
265
+ "last_epoch": -1
266
+ },
267
+ "kl_loss_alpha": 1.0,
268
+ "disc_loss_alpha": 1.0,
269
+ "gen_loss_alpha": 1.0,
270
+ "feat_loss_alpha": 1.0,
271
+ "mel_loss_alpha": 45.0,
272
+ "dur_loss_alpha": 1.0,
273
+ "speaker_encoder_loss_alpha": 9.0,
274
+ "return_wav": true,
275
+ "use_weighted_sampler": true,
276
+ "weighted_sampler_attrs": {
277
+ "speaker_name": 1.0
278
+ },
279
+ "weighted_sampler_multipliers": {},
280
+ "r": 1,
281
+ "num_speakers": 0,
282
+ "use_speaker_embedding": false,
283
+ "speakers_file": "train_output/kagg/speakers.pth",
284
+ "speaker_embedding_channels": 256,
285
+ "language_ids_file": null,
286
+ "use_language_embedding": false,
287
+ "use_d_vector_file": true,
288
+ "d_vector_file": [
289
+ "/kaggle/working/speakers.pth"
290
+ ],
291
+ "d_vector_dim": 512
292
+ }