Transformers
Inference Endpoints
saiful9379 commited on
Commit
0d01e6d
1 Parent(s): b309a40

add base model

Browse files
Files changed (2) hide show
  1. config.json +250 -0
  2. pytorch_model.pth +3 -0
config.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "/home/ansary/Shabab/",
3
+ "logger_uri": null,
4
+ "run_name": "vits_20_october",
5
+ "project_name": null,
6
+ "run_description": "\ud83d\udc38Coqui trainer run.",
7
+ "print_step": 50,
8
+ "plot_step": 100,
9
+ "model_param_stats": false,
10
+ "wandb_entity": null,
11
+ "dashboard_logger": "tensorboard",
12
+ "log_model_step": null,
13
+ "save_step": 500,
14
+ "save_n_checkpoints": 5,
15
+ "save_checkpoints": true,
16
+ "save_all_best": true,
17
+ "save_best_after": 500,
18
+ "target_loss": null,
19
+ "print_eval": false,
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": 5000,
27
+ "batch_size": 104,
28
+ "eval_batch_size": 48,
29
+ "grad_clip": [
30
+ 1000.0,
31
+ 1000.0
32
+ ],
33
+ "scheduler_after_epoch": false,
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": "",
45
+ "lr_scheduler_params": null,
46
+ "use_grad_scaler": false,
47
+ "cudnn_enable": true,
48
+ "cudnn_deterministic": false,
49
+ "cudnn_benchmark": true,
50
+ "training_seed": 54321,
51
+ "model": "vits",
52
+ "num_loader_workers": 4,
53
+ "num_eval_loader_workers": 4,
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": false,
65
+ "phonemizer": null,
66
+ "phoneme_language": null,
67
+ "compute_input_seq_cache": true,
68
+ "text_cleaner": null,
69
+ "enable_eos_bos_chars": false,
70
+ "test_sentences_file": "",
71
+ "phoneme_cache_path": null,
72
+ "characters": {
73
+ "characters_class": "TTS.tts.utils.text.characters.Graphemes",
74
+ "vocab_dict": null,
75
+ "pad": "<PAD>",
76
+ "eos": "\u0964",
77
+ "bos": "<BOS>",
78
+ "blank": "<BLNK>",
79
+ "characters": "\u09a4\u099f\u09eb\u09ad\u09bf\u0990\u098b\u0996\u098a\u09dc\u0987\u099c\u09ae\u098f\u09c7\u0998\u0999\u09b8\u09c0\u09dd\u09b9\u099e\u2018\u0988\u0995\u09a3\u09ec\u0981\u09d7\u09b6\u09a2\u09a0\u200c\u09e7\u09cd\u09e8\u09ee\u09a6\u09c3\u0994\u0997\u0993\u2014\u099b\u0989\u0982\u09ac\u09c8\u099d\u09be\u09af\u09ab\u200d\u099a\u09b0\u09b7\u0985\u09cc\u09ce\u09a5\u09a1\u09bc\u09ea\u09a7\u09e6\u09c1\u09c2\u09e9\u0986\u0983\u09aa\u09df\u2019\u09a8\u09b2\u09cb",
80
+ "punctuations": "-!,|.? ",
81
+ "phonemes": null,
82
+ "is_unique": true,
83
+ "is_sorted": true
84
+ },
85
+ "add_blank": true,
86
+ "batch_group_size": 0,
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_linear_spec": true,
94
+ "precompute_num_workers": 0,
95
+ "start_by_longest": false,
96
+ "datasets": [
97
+ {
98
+ "name": "",
99
+ "path": "/home/ansary/Shabab/bn_tts/male/mono/",
100
+ "meta_file_train": "/home/ansary/Shabab/bn_tts/male/mono/metadata_male.txt",
101
+ "ignored_speakers": null,
102
+ "language": "",
103
+ "meta_file_val": "",
104
+ "meta_file_attn_mask": ""
105
+ }
106
+ ],
107
+ "test_sentences": [
108
+ [
109
+ "\u0987\u09df\u09be\u09b9\u09c1\u09a6,\u09a8\u09df,\u09ac\u09cd\u09af\u09df,\u0987\u09df\u09be\u09b9\u09c1\u09a6\u09c0,\u09a8\u09c7\u0993\u09df\u09be,\u0989\u09ad\u09df\u09c7,\u09af\u09be\u09df,\u09b9\u09df\u09c7\u099b\u09bf\u09b2,\u09aa\u09cd\u09b0\u09df\u09cb\u099c\u09a8\u0964"
110
+ ]
111
+ ],
112
+ "eval_split_max_size": null,
113
+ "eval_split_size": 0.01,
114
+ "use_speaker_weighted_sampler": false,
115
+ "speaker_weighted_sampler_alpha": 1.0,
116
+ "use_language_weighted_sampler": false,
117
+ "language_weighted_sampler_alpha": 1.0,
118
+ "use_length_weighted_sampler": false,
119
+ "length_weighted_sampler_alpha": 1.0,
120
+ "model_args": {
121
+ "num_chars": 87,
122
+ "out_channels": 513,
123
+ "spec_segment_size": 32,
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
+ "periods_multi_period_discriminator": [
174
+ 2,
175
+ 3,
176
+ 5,
177
+ 7,
178
+ 11
179
+ ],
180
+ "use_sdp": true,
181
+ "noise_scale": 1.0,
182
+ "inference_noise_scale": 0.667,
183
+ "length_scale": 1.0,
184
+ "noise_scale_dp": 1.0,
185
+ "inference_noise_scale_dp": 1.0,
186
+ "max_inference_len": null,
187
+ "init_discriminator": true,
188
+ "use_spectral_norm_disriminator": false,
189
+ "use_speaker_embedding": false,
190
+ "num_speakers": 0,
191
+ "speakers_file": null,
192
+ "d_vector_file": null,
193
+ "speaker_embedding_channels": 256,
194
+ "use_d_vector_file": false,
195
+ "d_vector_dim": 0,
196
+ "detach_dp_input": true,
197
+ "use_language_embedding": false,
198
+ "embedded_language_dim": 4,
199
+ "num_languages": 0,
200
+ "language_ids_file": null,
201
+ "use_speaker_encoder_as_loss": false,
202
+ "speaker_encoder_config_path": "",
203
+ "speaker_encoder_model_path": "",
204
+ "condition_dp_on_speaker": true,
205
+ "freeze_encoder": false,
206
+ "freeze_DP": false,
207
+ "freeze_PE": false,
208
+ "freeze_flow_decoder": false,
209
+ "freeze_waveform_decoder": false,
210
+ "encoder_sample_rate": null,
211
+ "interpolate_z": true,
212
+ "reinit_DP": false,
213
+ "reinit_text_encoder": false
214
+ },
215
+ "lr_gen": 0.0002,
216
+ "lr_disc": 0.0002,
217
+ "lr_scheduler_gen": "ExponentialLR",
218
+ "lr_scheduler_gen_params": {
219
+ "gamma": 0.999875,
220
+ "last_epoch": -1
221
+ },
222
+ "lr_scheduler_disc": "ExponentialLR",
223
+ "lr_scheduler_disc_params": {
224
+ "gamma": 0.999875,
225
+ "last_epoch": -1
226
+ },
227
+ "kl_loss_alpha": 1.0,
228
+ "disc_loss_alpha": 1.0,
229
+ "gen_loss_alpha": 1.0,
230
+ "feat_loss_alpha": 1.0,
231
+ "mel_loss_alpha": 45.0,
232
+ "dur_loss_alpha": 1.0,
233
+ "speaker_encoder_loss_alpha": 1.0,
234
+ "return_wav": true,
235
+ "use_weighted_sampler": false,
236
+ "weighted_sampler_attrs": null,
237
+ "weighted_sampler_multipliers": null,
238
+ "r": 1,
239
+ "num_speakers": 0,
240
+ "use_speaker_embedding": false,
241
+ "speakers_file": null,
242
+ "speaker_embedding_channels": 256,
243
+ "language_ids_file": null,
244
+ "use_language_embedding": false,
245
+ "use_d_vector_file": false,
246
+ "d_vector_file": null,
247
+ "d_vector_dim": 0,
248
+ "restore_path": "/home/ansary/Shabab/vits_20_october/checkpoint_626000.pth",
249
+ "github_branch": "inside_docker"
250
+ }
pytorch_model.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:880f4b21f8e7cbb24fef37c78e47f692b48c57ecf0be858300de8d5e45feda11
3
+ size 997769284