NeonBohdan commited on
Commit
5c05664
1 Parent(s): 50d6824

Init model

Browse files
Files changed (2) hide show
  1. config.json +222 -0
  2. model_file.pth.tar +3 -0
config.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "vits",
3
+ "run_name": "vits_ljspeech",
4
+ "run_description": "",
5
+ "epochs": 1000,
6
+ "batch_size": 18,
7
+ "eval_batch_size": 16,
8
+ "mixed_precision": true,
9
+ "scheduler_after_epoch": true,
10
+ "run_eval": true,
11
+ "test_delay_epochs": -1,
12
+ "print_eval": true,
13
+ "dashboard_logger": "tensorboard",
14
+ "print_step": 25,
15
+ "plot_step": 100,
16
+ "model_param_stats": false,
17
+ "project_name": null,
18
+ "log_model_step": null,
19
+ "wandb_entity": null,
20
+ "save_step": 10000,
21
+ "checkpoint": true,
22
+ "keep_all_best": false,
23
+ "keep_after": 10000,
24
+ "num_loader_workers": 12,
25
+ "num_eval_loader_workers": 12,
26
+ "use_noise_augment": false,
27
+ "output_path": "./ukrainian-vits",
28
+ "distributed_backend": "nccl",
29
+ "distributed_url": "tcp://localhost:54321",
30
+ "audio": {
31
+ "fft_size": 1024,
32
+ "win_length": 1024,
33
+ "hop_length": 256,
34
+ "frame_shift_ms": null,
35
+ "frame_length_ms": null,
36
+ "stft_pad_mode": "reflect",
37
+ "sample_rate": 16000,
38
+ "resample": false,
39
+ "preemphasis": 0.0,
40
+ "ref_level_db": 20,
41
+ "do_sound_norm": false,
42
+ "log_func": "np.log",
43
+ "do_trim_silence": true,
44
+ "trim_db": 45,
45
+ "power": 1.3,
46
+ "griffin_lim_iters": 60,
47
+ "num_mels": 80,
48
+ "mel_fmin": 0.0,
49
+ "mel_fmax": null,
50
+ "spec_gain": 1,
51
+ "do_amp_to_db_linear": false,
52
+ "do_amp_to_db_mel": true,
53
+ "signal_norm": false,
54
+ "min_level_db": -100,
55
+ "symmetric_norm": true,
56
+ "max_norm": 4.0,
57
+ "clip_norm": true,
58
+ "stats_path": null
59
+ },
60
+ "use_phonemes": false,
61
+ "use_espeak_phonemes": true,
62
+ "phoneme_language": null,
63
+ "compute_input_seq_cache": true,
64
+ "text_cleaner": "basic_cleaners",
65
+ "enable_eos_bos_chars": false,
66
+ "test_sentences_file": "",
67
+ "phoneme_cache_path": "./ukrainian/phoneme_cache",
68
+ "characters": {
69
+ "characters_class": "TTS.tts.models.vits.VitsCharacters",
70
+ "pad": "_",
71
+ "eos": "~",
72
+ "bos": "^",
73
+ "characters": "!',-.:;?\u0410\u0411\u0412\u0413\u0490\u0414\u0415\u0404\u0416\u0417\u0418\u0406\u0407\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042c\u042e\u042f\u0430\u0431\u0432\u0433\u0491\u0434\u0435\u0454\u0436\u0437\u0438\u0456\u0457\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044c\u044e\u044f ",
74
+ "punctuations": "!',-.:;? ",
75
+ "phonemes": null,
76
+ "unique": true
77
+ },
78
+ "batch_group_size": 5,
79
+ "loss_masking": null,
80
+ "sort_by_audio_len": true,
81
+ "min_seq_len": 0,
82
+ "max_seq_len": 500000,
83
+ "compute_f0": false,
84
+ "compute_linear_spec": true,
85
+ "add_blank": true,
86
+ "datasets": [
87
+ {
88
+ "name": "ljspeech",
89
+ "path": "./Data/uk_UK/by_book/female/sumska/kaydasheva",
90
+ "meta_file_train": "metadata.csv",
91
+ "ununsed_speakers": null,
92
+ "meta_file_val": "",
93
+ "meta_file_attn_mask": ""
94
+ },
95
+ {
96
+ "name": "ljspeech",
97
+ "path": "./Data/uk_UK/by_book/female/sumska/mykola_djerya",
98
+ "meta_file_train": "metadata.csv",
99
+ "ununsed_speakers": null,
100
+ "meta_file_val": "",
101
+ "meta_file_attn_mask": ""
102
+ }
103
+ ],
104
+ "optimizer": "AdamW",
105
+ "optimizer_params": {
106
+ "betas": [
107
+ 0.8,
108
+ 0.99
109
+ ],
110
+ "eps": 1e-09,
111
+ "weight_decay": 0.01
112
+ },
113
+ "lr_scheduler": "",
114
+ "lr_scheduler_params": {},
115
+ "test_sentences": [
116
+ "\u0413\u043e\u0432\u043e\u0440\u0438 \u043d\u0456\u0431\u0438 \u0442\u0438 \u0436\u0438\u0432\u0438\u0439!",
117
+ "\u041f\u043e\u043b \u043f\u0435\u0440\u0435\u0442\u043d\u0443\u0432 \u043f\u0443\u0441\u0442\u0435\u043b\u044e",
118
+ "\u041f\u0440\u0438\u0432\u0456\u0442, \u0441\u0432\u0456\u0442\u0435!"
119
+ ],
120
+ "model_args": {
121
+ "num_chars": 86,
122
+ "out_channels": 513,
123
+ "spec_segment_size": 24,
124
+ "hidden_channels": 192,
125
+ "hidden_channels_ffn_text_encoder": 768,
126
+ "num_heads_text_encoder": 2,
127
+ "num_layers_text_encoder": 6,
128
+ "kernel_size_text_encoder": 3,
129
+ "dropout_p_text_encoder": 0.1,
130
+ "dropout_p_duration_predictor": 0.5,
131
+ "kernel_size_posterior_encoder": 5,
132
+ "dilation_rate_posterior_encoder": 1,
133
+ "num_layers_posterior_encoder": 16,
134
+ "kernel_size_flow": 5,
135
+ "dilation_rate_flow": 1,
136
+ "num_layers_flow": 4,
137
+ "resblock_type_decoder": "1",
138
+ "resblock_kernel_sizes_decoder": [
139
+ 3,
140
+ 7,
141
+ 11
142
+ ],
143
+ "resblock_dilation_sizes_decoder": [
144
+ [
145
+ 1,
146
+ 3,
147
+ 5
148
+ ],
149
+ [
150
+ 1,
151
+ 3,
152
+ 5
153
+ ],
154
+ [
155
+ 1,
156
+ 3,
157
+ 5
158
+ ]
159
+ ],
160
+ "upsample_rates_decoder": [
161
+ 8,
162
+ 8,
163
+ 2,
164
+ 2
165
+ ],
166
+ "upsample_initial_channel_decoder": 512,
167
+ "upsample_kernel_sizes_decoder": [
168
+ 16,
169
+ 16,
170
+ 4,
171
+ 4
172
+ ],
173
+ "use_sdp": true,
174
+ "noise_scale": 1.0,
175
+ "inference_noise_scale": 0.667,
176
+ "length_scale": 1.0,
177
+ "noise_scale_dp": 1.0,
178
+ "inference_noise_scale_dp": 1.0,
179
+ "max_inference_len": null,
180
+ "init_discriminator": true,
181
+ "use_spectral_norm_disriminator": false,
182
+ "use_speaker_embedding": false,
183
+ "num_speakers": 0,
184
+ "speakers_file": null,
185
+ "speaker_embedding_channels": 256,
186
+ "use_d_vector_file": false,
187
+ "d_vector_file": null,
188
+ "d_vector_dim": 0,
189
+ "detach_dp_input": true
190
+ },
191
+ "grad_clip": [
192
+ 1000.0,
193
+ 1000.0
194
+ ],
195
+ "lr_gen": 0.0002,
196
+ "lr_disc": 0.0002,
197
+ "lr_scheduler_gen": "ExponentialLR",
198
+ "lr_scheduler_gen_params": {
199
+ "gamma": 0.999875,
200
+ "last_epoch": -1
201
+ },
202
+ "lr_scheduler_disc": "ExponentialLR",
203
+ "lr_scheduler_disc_params": {
204
+ "gamma": 0.999875,
205
+ "last_epoch": -1
206
+ },
207
+ "kl_loss_alpha": 1.0,
208
+ "disc_loss_alpha": 1.0,
209
+ "gen_loss_alpha": 1.0,
210
+ "feat_loss_alpha": 1.0,
211
+ "mel_loss_alpha": 45.0,
212
+ "dur_loss_alpha": 1.0,
213
+ "return_wav": true,
214
+ "r": 1,
215
+ "num_speakers": 0,
216
+ "use_speaker_embedding": false,
217
+ "speakers_file": null,
218
+ "speaker_embedding_channels": 256,
219
+ "use_d_vector_file": false,
220
+ "d_vector_file": null,
221
+ "d_vector_dim": 0
222
+ }
model_file.pth.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68383ce72eccb0d3159f38fb54d07e27d32fdf5c52b52408771ea0f224d9d04c
3
+ size 997530362