|
{ |
|
"run_name": "Wav2Vec-fine-tuning-TEDx", |
|
"run_description": "Fine tuning TEDx", |
|
"seed": 42, |
|
|
|
"sampling_rate": 16000, |
|
|
|
|
|
"vocab":{ |
|
"vocab_path": "example/vocab_example.json", |
|
"blank": "<pad>", |
|
"silence": "|", |
|
"unk": "<unk>" |
|
}, |
|
|
|
|
|
"batch_size": 8, |
|
"mixed_precision": true, |
|
"early_stop_epochs": 10, |
|
"preprocess_dataset": false, |
|
|
|
|
|
"epochs": 140, |
|
"lr": 0.00003, |
|
"gradient_accumulation_steps": 24, |
|
|
|
|
|
"logging_steps": 100, |
|
"load_best_model_at_end": true, |
|
"save_total_limit": 3, |
|
"warmup_ratio": 0.06666666667, |
|
"warmup_steps": 0, |
|
|
|
|
|
"num_loader_workers": 8, |
|
|
|
|
|
"freeze_feature_extractor": true, |
|
"attention_dropout": 0.1, |
|
"activation_dropout": 0.1, |
|
"hidden_dropout": 0.1, |
|
"feat_proj_dropout": 0.1, |
|
"mask_time_prob": 0.05, |
|
"layerdrop": 0.0, |
|
"gradient_checkpointing": true, |
|
|
|
|
|
"audio_augmentation":[ |
|
|
|
{ |
|
"name": "additive", |
|
"sounds_path":"/workspace/scratch/ecasanova/datasets/YourTTS2ASR/musan/speech/", |
|
"lru_cache_size": 32, |
|
"min_snr_in_db": 13.0, |
|
"max_snr_in_db": 20.0, |
|
|
|
"p": 0.25 |
|
}, |
|
{ |
|
"name": "additive", |
|
"sounds_path":"/workspace/scratch/ecasanova/datasets/YourTTS2ASR/musan/music/", |
|
"lru_cache_size": 32, |
|
"min_snr_in_db": 5.0, |
|
"max_snr_in_db": 15.0, |
|
|
|
"p": 0.25 |
|
}, |
|
{ |
|
"name": "additive", |
|
"sounds_path":"/workspace/scratch/ecasanova/datasets/YourTTS2ASR/musan/noise/", |
|
"lru_cache_size": 32, |
|
"min_snr_in_db": 0.0, |
|
"max_snr_in_db": 15.0, |
|
|
|
"p": 0.25 |
|
}, |
|
|
|
{ |
|
"name": "rir", |
|
"ir_path": "/workspace/scratch/ecasanova/datasets/YourTTS2ASR/RIRS_NOISES/simulated_rirs/", |
|
"lru_cache_size": 128, |
|
|
|
"p": 0.25 |
|
} |
|
, |
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
"name": "pitch_shift", |
|
"min_semitones": -4, |
|
"max_semitones": 4, |
|
"p": 0.25 |
|
}, |
|
{ |
|
"name": "gaussian", |
|
"min_amplitude": 0.0001, |
|
"max_amplitude": 0.001, |
|
"p": 0.25 |
|
} |
|
], |
|
|
|
"output_path": "../checkpoints/Wav2Vec-voxpopuli/one-speaker/Final-paper/GEN/PT/140-epoch/", |
|
|
|
"dataset_cache": "../datasets/", |
|
|
|
|
|
"datasets":{ |
|
|
|
"files_path": "/workspace/scratch/ecasanova/datasets/YourTTS2ASR/Common_Voice/cv-corpus-7.0-2021-07-21/pt/", |
|
"train": |
|
[ |
|
|
|
{ |
|
"name": "csv", |
|
"path": "csv", |
|
"data_files": ["/workspace/scratch/ecasanova/datasets/YourTTS2ASR/Common_Voice/cv-corpus-7.0-2021-07-21/pt/train_converted_copy_generated_en_speakers.csv"], |
|
"text_column": "text", |
|
"path_column": "file_path" |
|
}, |
|
{ |
|
"name": "csv", |
|
"path": "csv", |
|
"data_files": ["/workspace/scratch/ecasanova/datasets/YourTTS2ASR/TTS-Portuguese-Corpus_16khz/train_TTS-Portuguese_Corpus_metadata_converted_to_ASR_copy_generated_VC_en_speakers_5_speakers_per_text_fixed.csv"], |
|
"text_column": "text", |
|
"path_column": "file_path" |
|
}, |
|
{ |
|
"name": "csv", |
|
"path": "csv", |
|
"data_files": ["/workspace/scratch/ecasanova/datasets/YourTTS2ASR/TTS-Portuguese-Corpus_16khz/train_TTS-Portuguese_Corpus_metadata_converted_to_ASR.csv"], |
|
"text_column": "text", |
|
"path_column": "file_path" |
|
} |
|
] |
|
, |
|
"devel": |
|
[ |
|
{ |
|
"name": "csv", |
|
"path": "csv", |
|
"data_files": ["/workspace/scratch/ecasanova/datasets/YourTTS2ASR/Common_Voice/cv-corpus-7.0-2021-07-21/pt/dev_converted_copy_generated_en_speakers_500-samples.csv"], |
|
"text_column": "text", |
|
"path_column": "file_path" |
|
}, |
|
{ |
|
"name": "csv", |
|
"path": "csv", |
|
"data_files": ["/workspace/scratch/ecasanova/datasets/YourTTS2ASR/TTS-Portuguese-Corpus_16khz/eval_TTS-Portuguese_Corpus_metadata_converted_to_ASR_copy_generated_VC_en_speakers-500-samples.csv"], |
|
"text_column": "text", |
|
"path_column": "file_path" |
|
}, |
|
{ |
|
"name": "csv", |
|
"path": "csv", |
|
"data_files": ["/workspace/scratch/ecasanova/datasets/YourTTS2ASR/TTS-Portuguese-Corpus_16khz/eval_TTS-Portuguese_Corpus_metadata_converted_to_ASR.csv"], |
|
"text_column": "text", |
|
"path_column": "file_path" |
|
} |
|
] |
|
, |
|
"test": |
|
{ |
|
"name": "csv", |
|
"path": "csv", |
|
"data_files": ["/workspace/scratch/ecasanova/datasets/YourTTS2ASR/Common_Voice/cv-corpus-7.0-2021-07-21/pt/test_converted.csv"], |
|
"text_column": "text", |
|
"path_column": "file_path" |
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|