txya900619 commited on
Commit
3638f92
1 Parent(s): c11d814

feat: upload model

Browse files
Files changed (5) hide show
  1. config.json +385 -0
  2. language_ids.json +5 -0
  3. model.pth +3 -0
  4. speaker_embs.pth +3 -0
  5. speakers.pth +3 -0
config.json ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "/home/wayne/TTS/recipes/formosan/vits/results",
3
+ "logger_uri": null,
4
+ "run_name": "yourtts_formosan",
5
+ "project_name": "yourtts_formosan",
6
+ "run_description": "\ud83d\udc38Coqui trainer run.",
7
+ "print_step": 100,
8
+ "plot_step": 100,
9
+ "model_param_stats": false,
10
+ "wandb_entity": null,
11
+ "dashboard_logger": "wandb",
12
+ "save_on_interrupt": true,
13
+ "log_model_step": 10000,
14
+ "save_step": 10000,
15
+ "save_n_checkpoints": 5,
16
+ "save_checkpoints": true,
17
+ "save_all_best": false,
18
+ "save_best_after": 50,
19
+ "target_loss": "loss_1",
20
+ "print_eval": true,
21
+ "test_delay_epochs": -1,
22
+ "run_eval": true,
23
+ "run_eval_steps": null,
24
+ "distributed_backend": "nccl",
25
+ "distributed_url": "tcp://localhost:54321",
26
+ "mixed_precision": true,
27
+ "precision": "fp16",
28
+ "epochs": 500,
29
+ "batch_size": 54,
30
+ "eval_batch_size": 128,
31
+ "grad_clip": [
32
+ 5.0,
33
+ 5.0
34
+ ],
35
+ "scheduler_after_epoch": true,
36
+ "lr": 0.001,
37
+ "optimizer": "AdamW",
38
+ "optimizer_params": {
39
+ "betas": [
40
+ 0.8,
41
+ 0.99
42
+ ],
43
+ "eps": 1e-09,
44
+ "weight_decay": 0.01
45
+ },
46
+ "lr_scheduler": null,
47
+ "lr_scheduler_params": {},
48
+ "use_grad_scaler": false,
49
+ "allow_tf32": false,
50
+ "cudnn_enable": true,
51
+ "cudnn_deterministic": false,
52
+ "cudnn_benchmark": false,
53
+ "training_seed": 54321,
54
+ "model": "vits",
55
+ "num_loader_workers": 16,
56
+ "num_eval_loader_workers": 16,
57
+ "use_noise_augment": false,
58
+ "audio": {
59
+ "fft_size": 1024,
60
+ "sample_rate": 24000,
61
+ "win_length": 1024,
62
+ "hop_length": 256,
63
+ "num_mels": 80,
64
+ "mel_fmin": 0,
65
+ "mel_fmax": null
66
+ },
67
+ "use_phonemes": false,
68
+ "phonemizer": null,
69
+ "phoneme_language": null,
70
+ "compute_input_seq_cache": true,
71
+ "text_cleaner": null,
72
+ "enable_eos_bos_chars": false,
73
+ "test_sentences_file": "",
74
+ "phoneme_cache_path": null,
75
+ "characters": {
76
+ "characters_class": "TTS.tts.utils.text.characters.Graphemes",
77
+ "vocab_dict": null,
78
+ "pad": "<PAD>",
79
+ "eos": "<EOS>",
80
+ "bos": "<BOS>",
81
+ "blank": "<BLNK>",
82
+ "characters": "iy\u0268\u0289\u026fu\u026a\u028f\u028ae\u00f8\u0258\u0259\u0275\u0264o\u025b\u0153\u025c\u025e\u028c\u0254\u00e6\u0250a\u0276\u0251\u0252\u1d7b\u0298\u0253\u01c0\u0257\u01c3\u0284\u01c2\u0260\u01c1\u029bpbtd\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\u029f\u02c8\u02cc\u02d0\u02d1\u0361\u028dw\u0265\u029c\u02a2\u02a1\u0255\u0291\u027a\u0267\u02b2\u025a\u02de\u026b",
83
+ "punctuations": "!'(),-.:;? ",
84
+ "phonemes": null,
85
+ "is_unique": false,
86
+ "is_sorted": true
87
+ },
88
+ "add_blank": true,
89
+ "batch_group_size": 4,
90
+ "loss_masking": null,
91
+ "min_audio_len": 1,
92
+ "max_audio_len": 720000,
93
+ "min_text_len": 1,
94
+ "max_text_len": Infinity,
95
+ "compute_f0": false,
96
+ "compute_energy": false,
97
+ "compute_linear_spec": true,
98
+ "precompute_num_workers": 0,
99
+ "start_by_longest": false,
100
+ "shuffle": false,
101
+ "drop_last": false,
102
+ "datasets": [
103
+ {
104
+ "formatter": "formosan",
105
+ "dataset_name": "formosan_dict_ami_train",
106
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
107
+ "meta_file_train": "formosan_dict_ami_concat.json",
108
+ "ignored_speakers": null,
109
+ "language": "ami",
110
+ "phonemizer": "",
111
+ "meta_file_val": "",
112
+ "meta_file_attn_mask": ""
113
+ },
114
+ {
115
+ "formatter": "formosan",
116
+ "dataset_name": "formosan_dict_sdq_train",
117
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
118
+ "meta_file_train": "formosan_dict_sdq_concat.json",
119
+ "ignored_speakers": null,
120
+ "language": "sdq",
121
+ "phonemizer": "",
122
+ "meta_file_val": "",
123
+ "meta_file_attn_mask": ""
124
+ },
125
+ {
126
+ "formatter": "formosan",
127
+ "dataset_name": "formosan_dict_trv_train",
128
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
129
+ "meta_file_train": "formosan_dict_trv_concat.json",
130
+ "ignored_speakers": null,
131
+ "language": "trv",
132
+ "phonemizer": "",
133
+ "meta_file_val": "",
134
+ "meta_file_attn_mask": ""
135
+ },
136
+ {
137
+ "formatter": "formosan",
138
+ "dataset_name": "klokah_ami_train",
139
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
140
+ "meta_file_train": "klokah_ami_concat.json",
141
+ "ignored_speakers": null,
142
+ "language": "ami",
143
+ "phonemizer": "",
144
+ "meta_file_val": "",
145
+ "meta_file_attn_mask": ""
146
+ },
147
+ {
148
+ "formatter": "formosan",
149
+ "dataset_name": "klokah_sdq_train",
150
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
151
+ "meta_file_train": "klokah_sdq_concat.json",
152
+ "ignored_speakers": null,
153
+ "language": "sdq",
154
+ "phonemizer": "",
155
+ "meta_file_val": "",
156
+ "meta_file_attn_mask": ""
157
+ },
158
+ {
159
+ "formatter": "formosan",
160
+ "dataset_name": "klokah_trv_train",
161
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
162
+ "meta_file_train": "klokah_trv_concat.json",
163
+ "ignored_speakers": null,
164
+ "language": "trv",
165
+ "phonemizer": "",
166
+ "meta_file_val": "",
167
+ "meta_file_attn_mask": ""
168
+ },
169
+ {
170
+ "formatter": "formosan",
171
+ "dataset_name": "klokah_ami_eval",
172
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_eval",
173
+ "meta_file_train": "klokah_eval_ami_concat.json",
174
+ "ignored_speakers": null,
175
+ "language": "ami",
176
+ "phonemizer": "",
177
+ "meta_file_val": "",
178
+ "meta_file_attn_mask": ""
179
+ },
180
+ {
181
+ "formatter": "formosan",
182
+ "dataset_name": "klokah_sdq_eval",
183
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_eval",
184
+ "meta_file_train": "klokah_eval_sdq_concat.json",
185
+ "ignored_speakers": null,
186
+ "language": "sdq",
187
+ "phonemizer": "",
188
+ "meta_file_val": "",
189
+ "meta_file_attn_mask": ""
190
+ },
191
+ {
192
+ "formatter": "formosan",
193
+ "dataset_name": "klokah_trv_eval",
194
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_eval",
195
+ "meta_file_train": "klokah_eval_trv_concat.json",
196
+ "ignored_speakers": null,
197
+ "language": "trv",
198
+ "phonemizer": "",
199
+ "meta_file_val": "",
200
+ "meta_file_attn_mask": ""
201
+ },
202
+ {
203
+ "formatter": "formosan",
204
+ "dataset_name": "ithuan_ami_train",
205
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
206
+ "meta_file_train": "ithuan_ami_concat.json",
207
+ "ignored_speakers": null,
208
+ "language": "ami",
209
+ "phonemizer": "",
210
+ "meta_file_val": "",
211
+ "meta_file_attn_mask": ""
212
+ },
213
+ {
214
+ "formatter": "formosan",
215
+ "dataset_name": "ithuan_trv_train",
216
+ "path": "/home/wayne/Corpora/formosan_clean_denoised_train",
217
+ "meta_file_train": "ithuan_trv_concat.json",
218
+ "ignored_speakers": null,
219
+ "language": "trv",
220
+ "phonemizer": "",
221
+ "meta_file_val": "",
222
+ "meta_file_attn_mask": ""
223
+ }
224
+ ],
225
+ "test_sentences": [
226
+ [
227
+ "no mita ato no pa\u026caka",
228
+ null,
229
+ null,
230
+ "ami"
231
+ ],
232
+ [
233
+ "tanam\u0259n",
234
+ null,
235
+ null,
236
+ "ami"
237
+ ],
238
+ [
239
+ "takowanan",
240
+ null,
241
+ null,
242
+ "ami"
243
+ ]
244
+ ],
245
+ "eval_split_max_size": null,
246
+ "eval_split_size": 0.01429,
247
+ "use_speaker_weighted_sampler": false,
248
+ "speaker_weighted_sampler_alpha": 1.0,
249
+ "use_language_weighted_sampler": false,
250
+ "language_weighted_sampler_alpha": 1.0,
251
+ "use_length_weighted_sampler": false,
252
+ "length_weighted_sampler_alpha": 1.0,
253
+ "model_args": {
254
+ "num_chars": 132,
255
+ "out_channels": 513,
256
+ "spec_segment_size": 32,
257
+ "hidden_channels": 192,
258
+ "hidden_channels_ffn_text_encoder": 768,
259
+ "num_heads_text_encoder": 2,
260
+ "num_layers_text_encoder": 8,
261
+ "kernel_size_text_encoder": 3,
262
+ "dropout_p_text_encoder": 0.1,
263
+ "dropout_p_duration_predictor": 0.5,
264
+ "kernel_size_posterior_encoder": 5,
265
+ "dilation_rate_posterior_encoder": 1,
266
+ "num_layers_posterior_encoder": 16,
267
+ "kernel_size_flow": 5,
268
+ "dilation_rate_flow": 1,
269
+ "num_layers_flow": 4,
270
+ "resblock_type_decoder": "2",
271
+ "resblock_kernel_sizes_decoder": [
272
+ 3,
273
+ 7,
274
+ 11
275
+ ],
276
+ "resblock_dilation_sizes_decoder": [
277
+ [
278
+ 1,
279
+ 3,
280
+ 5
281
+ ],
282
+ [
283
+ 1,
284
+ 3,
285
+ 5
286
+ ],
287
+ [
288
+ 1,
289
+ 3,
290
+ 5
291
+ ]
292
+ ],
293
+ "upsample_rates_decoder": [
294
+ 8,
295
+ 8,
296
+ 2,
297
+ 2
298
+ ],
299
+ "upsample_initial_channel_decoder": 512,
300
+ "upsample_kernel_sizes_decoder": [
301
+ 16,
302
+ 16,
303
+ 4,
304
+ 4
305
+ ],
306
+ "periods_multi_period_discriminator": [
307
+ 2,
308
+ 3,
309
+ 5,
310
+ 7,
311
+ 11
312
+ ],
313
+ "use_sdp": true,
314
+ "noise_scale": 1.0,
315
+ "inference_noise_scale": 0.667,
316
+ "length_scale": 1,
317
+ "noise_scale_dp": 1.0,
318
+ "inference_noise_scale_dp": 1.0,
319
+ "max_inference_len": null,
320
+ "init_discriminator": true,
321
+ "use_spectral_norm_disriminator": false,
322
+ "use_speaker_embedding": false,
323
+ "num_speakers": 0,
324
+ "speakers_file": "speakers.pth",
325
+ "d_vector_file": [
326
+ "speaker_embs.pth"
327
+ ],
328
+ "speaker_embedding_channels": 256,
329
+ "use_d_vector_file": true,
330
+ "d_vector_dim": 512,
331
+ "detach_dp_input": true,
332
+ "use_language_embedding": true,
333
+ "embedded_language_dim": 4,
334
+ "num_languages": 0,
335
+ "language_ids_file": "language_ids.json",
336
+ "use_speaker_encoder_as_loss": false,
337
+ "speaker_encoder_config_path": "https://github.com/coqui-ai/TTS/releases/download/speaker_encoder_model/config_se.json",
338
+ "speaker_encoder_model_path": "https://github.com/coqui-ai/TTS/releases/download/speaker_encoder_model/model_se.pth.tar",
339
+ "condition_dp_on_speaker": true,
340
+ "freeze_encoder": false,
341
+ "freeze_DP": false,
342
+ "freeze_PE": false,
343
+ "freeze_flow_decoder": false,
344
+ "freeze_waveform_decoder": false,
345
+ "encoder_sample_rate": null,
346
+ "interpolate_z": true,
347
+ "reinit_DP": false,
348
+ "reinit_text_encoder": false
349
+ },
350
+ "lr_gen": 0.0002,
351
+ "lr_disc": 0.0002,
352
+ "lr_scheduler_gen": "ExponentialLR",
353
+ "lr_scheduler_gen_params": {
354
+ "gamma": 0.999875,
355
+ "last_epoch": -1
356
+ },
357
+ "lr_scheduler_disc": "ExponentialLR",
358
+ "lr_scheduler_disc_params": {
359
+ "gamma": 0.999875,
360
+ "last_epoch": -1
361
+ },
362
+ "kl_loss_alpha": 1.0,
363
+ "disc_loss_alpha": 1.0,
364
+ "gen_loss_alpha": 1.0,
365
+ "feat_loss_alpha": 1.0,
366
+ "mel_loss_alpha": 45.0,
367
+ "dur_loss_alpha": 1.0,
368
+ "speaker_encoder_loss_alpha": 9.0,
369
+ "return_wav": true,
370
+ "use_weighted_sampler": false,
371
+ "weighted_sampler_attrs": {},
372
+ "weighted_sampler_multipliers": {},
373
+ "r": 1,
374
+ "num_speakers": 0,
375
+ "use_speaker_embedding": false,
376
+ "speakers_file": "speakers.pth",
377
+ "speaker_embedding_channels": 256,
378
+ "language_ids_file": "language_ids.json",
379
+ "use_language_embedding": true,
380
+ "use_d_vector_file": true,
381
+ "d_vector_file": [
382
+ "speaker_embs.pth"
383
+ ],
384
+ "d_vector_dim": 512
385
+ }
language_ids.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "阿美": 0,
3
+ "賽德克": 1,
4
+ "太魯閣": 2
5
+ }
model.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f67ee76f9139d17d104286099a50e507f9bd156e6c88c92824d7bd715925f35c
3
+ size 1017385358
speaker_embs.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9130f1d4c621adf9a50b2e5685340461d3401eed2100550a99f7627198330a6d
3
+ size 600757684
speakers.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e1ecfd5c633d028cec07699b06ad84d6101204d486492842e40f4141cd8c973
3
+ size 9617056