Upload config-1.json with huggingface_hub
Browse files- config-1.json +197 -0
config-1.json
ADDED
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"output_path": "/kaggle/working/train_output",
|
3 |
+
"logger_uri": null,
|
4 |
+
"run_name": "run",
|
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": null,
|
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": false,
|
20 |
+
"test_delay_epochs": 0,
|
21 |
+
"run_eval": true,
|
22 |
+
"run_eval_steps": null,
|
23 |
+
"distributed_backend": "nccl",
|
24 |
+
"distributed_url": "tcp://localhost:54321",
|
25 |
+
"mixed_precision": true,
|
26 |
+
"epochs": 1000,
|
27 |
+
"batch_size": 8,
|
28 |
+
"eval_batch_size": 4,
|
29 |
+
"grad_clip": 5.0,
|
30 |
+
"scheduler_after_epoch": true,
|
31 |
+
"lr": 0.0001,
|
32 |
+
"optimizer": "RAdam",
|
33 |
+
"optimizer_params": {
|
34 |
+
"betas": [
|
35 |
+
0.9,
|
36 |
+
0.998
|
37 |
+
],
|
38 |
+
"weight_decay": 1e-06
|
39 |
+
},
|
40 |
+
"lr_scheduler": "NoamLR",
|
41 |
+
"lr_scheduler_params": {
|
42 |
+
"warmup_steps": 4000
|
43 |
+
},
|
44 |
+
"use_grad_scaler": false,
|
45 |
+
"cudnn_enable": true,
|
46 |
+
"cudnn_deterministic": false,
|
47 |
+
"cudnn_benchmark": false,
|
48 |
+
"training_seed": 54321,
|
49 |
+
"model": "tacotron2",
|
50 |
+
"num_loader_workers": 0,
|
51 |
+
"num_eval_loader_workers": 0,
|
52 |
+
"use_noise_augment": false,
|
53 |
+
"audio": {
|
54 |
+
"fft_size": 1024,
|
55 |
+
"win_length": 1024,
|
56 |
+
"hop_length": 256,
|
57 |
+
"frame_shift_ms": null,
|
58 |
+
"frame_length_ms": null,
|
59 |
+
"stft_pad_mode": "reflect",
|
60 |
+
"sample_rate": 24000,
|
61 |
+
"resample": false,
|
62 |
+
"preemphasis": 0.0,
|
63 |
+
"ref_level_db": 20,
|
64 |
+
"do_sound_norm": false,
|
65 |
+
"log_func": "np.log10",
|
66 |
+
"do_trim_silence": true,
|
67 |
+
"trim_db": 45,
|
68 |
+
"do_rms_norm": false,
|
69 |
+
"db_level": null,
|
70 |
+
"power": 1.5,
|
71 |
+
"griffin_lim_iters": 60,
|
72 |
+
"num_mels": 80,
|
73 |
+
"mel_fmin": 0.0,
|
74 |
+
"mel_fmax": null,
|
75 |
+
"spec_gain": 20,
|
76 |
+
"do_amp_to_db_linear": true,
|
77 |
+
"do_amp_to_db_mel": true,
|
78 |
+
"pitch_fmax": 640.0,
|
79 |
+
"pitch_fmin": 1.0,
|
80 |
+
"signal_norm": true,
|
81 |
+
"min_level_db": -100,
|
82 |
+
"symmetric_norm": true,
|
83 |
+
"max_norm": 4.0,
|
84 |
+
"clip_norm": true,
|
85 |
+
"stats_path": null
|
86 |
+
},
|
87 |
+
"use_phonemes": true,
|
88 |
+
"phonemizer": "espeak",
|
89 |
+
"phoneme_language": "fa",
|
90 |
+
"compute_input_seq_cache": false,
|
91 |
+
"text_cleaner": "basic_cleaners",
|
92 |
+
"enable_eos_bos_chars": false,
|
93 |
+
"test_sentences_file": "",
|
94 |
+
"phoneme_cache_path": "/kaggle/working/train_output/phoneme_cache",
|
95 |
+
"characters": {
|
96 |
+
"characters_class": "TTS.tts.utils.text.characters.IPAPhonemes",
|
97 |
+
"vocab_dict": null,
|
98 |
+
"pad": "<PAD>",
|
99 |
+
"eos": "<EOS>",
|
100 |
+
"bos": "<BOS>",
|
101 |
+
"blank": "<BLNK>",
|
102 |
+
"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[]^_{}",
|
103 |
+
"punctuations": "!(),-.:;? \u0320\u060c\u061b\u061f\u200c<>",
|
104 |
+
"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[]^_{}",
|
105 |
+
"is_unique": true,
|
106 |
+
"is_sorted": true
|
107 |
+
},
|
108 |
+
"add_blank": false,
|
109 |
+
"batch_group_size": 0,
|
110 |
+
"loss_masking": true,
|
111 |
+
"min_audio_len": 1,
|
112 |
+
"max_audio_len": Infinity,
|
113 |
+
"min_text_len": 1,
|
114 |
+
"max_text_len": Infinity,
|
115 |
+
"compute_f0": false,
|
116 |
+
"compute_linear_spec": false,
|
117 |
+
"precompute_num_workers": 0,
|
118 |
+
"start_by_longest": false,
|
119 |
+
"shuffle": false,
|
120 |
+
"drop_last": false,
|
121 |
+
"datasets": [
|
122 |
+
{
|
123 |
+
"formatter": "mozilla",
|
124 |
+
"dataset_name": "",
|
125 |
+
"path": "/kaggle/input/persian-tts-dataset-famale",
|
126 |
+
"meta_file_train": "metadata.csv",
|
127 |
+
"ignored_speakers": null,
|
128 |
+
"language": "",
|
129 |
+
"meta_file_val": "",
|
130 |
+
"meta_file_attn_mask": ""
|
131 |
+
}
|
132 |
+
],
|
133 |
+
"test_sentences": [
|
134 |
+
"\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: \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 ",
|
135 |
+
"\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.",
|
136 |
+
"\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",
|
137 |
+
"\u06cc\u06a9 \u0628\u0627\u0631 \u0647\u0645 \u0627\u0632 \u062c\u0647\u0646\u0645 \u0628\u06af\u0648\u06cc\u06cc\u062f.",
|
138 |
+
"\u06cc\u06a9\u06cc \u0627\u0633\u0628\u06cc \u0628\u0647 \u0639\u0627\u0631\u06cc\u062a \u062e\u0648\u0627\u0633\u062a"
|
139 |
+
],
|
140 |
+
"eval_split_max_size": null,
|
141 |
+
"eval_split_size": 0.01,
|
142 |
+
"use_speaker_weighted_sampler": false,
|
143 |
+
"speaker_weighted_sampler_alpha": 1.0,
|
144 |
+
"use_language_weighted_sampler": false,
|
145 |
+
"language_weighted_sampler_alpha": 1.0,
|
146 |
+
"use_length_weighted_sampler": false,
|
147 |
+
"length_weighted_sampler_alpha": 1.0,
|
148 |
+
"use_gst": false,
|
149 |
+
"gst": null,
|
150 |
+
"gst_style_input": null,
|
151 |
+
"use_capacitron_vae": false,
|
152 |
+
"capacitron_vae": null,
|
153 |
+
"num_speakers": 1,
|
154 |
+
"num_chars": 156,
|
155 |
+
"r": 2,
|
156 |
+
"gradual_training": null,
|
157 |
+
"memory_size": -1,
|
158 |
+
"prenet_type": "original",
|
159 |
+
"prenet_dropout": true,
|
160 |
+
"prenet_dropout_at_inference": false,
|
161 |
+
"stopnet": true,
|
162 |
+
"separate_stopnet": true,
|
163 |
+
"stopnet_pos_weight": 0.2,
|
164 |
+
"max_decoder_steps": 10000,
|
165 |
+
"encoder_in_features": 512,
|
166 |
+
"decoder_in_features": 512,
|
167 |
+
"decoder_output_dim": 80,
|
168 |
+
"out_channels": 80,
|
169 |
+
"attention_type": "original",
|
170 |
+
"attention_heads": null,
|
171 |
+
"attention_norm": "sigmoid",
|
172 |
+
"attention_win": false,
|
173 |
+
"windowing": false,
|
174 |
+
"use_forward_attn": false,
|
175 |
+
"forward_attn_mask": false,
|
176 |
+
"transition_agent": false,
|
177 |
+
"location_attn": true,
|
178 |
+
"bidirectional_decoder": false,
|
179 |
+
"double_decoder_consistency": false,
|
180 |
+
"ddc_r": 6,
|
181 |
+
"speakers_file": null,
|
182 |
+
"use_speaker_embedding": false,
|
183 |
+
"speaker_embedding_dim": 512,
|
184 |
+
"use_d_vector_file": false,
|
185 |
+
"d_vector_file": false,
|
186 |
+
"d_vector_dim": null,
|
187 |
+
"seq_len_norm": false,
|
188 |
+
"decoder_loss_alpha": 0.25,
|
189 |
+
"postnet_loss_alpha": 0.25,
|
190 |
+
"postnet_diff_spec_alpha": 0.25,
|
191 |
+
"decoder_diff_spec_alpha": 0.25,
|
192 |
+
"decoder_ssim_alpha": 0.25,
|
193 |
+
"postnet_ssim_alpha": 0.25,
|
194 |
+
"ga_alpha": 5.0,
|
195 |
+
"restore_path": "/kaggle/working/train_output/kagg/checkpoint_18000.pth",
|
196 |
+
"github_branch": "inside_docker"
|
197 |
+
}
|