diff --git a/recipes/TIMIT/ASR/CTC/hparams/train.yaml b/recipes/TIMIT/ASR/CTC/hparams/train.yaml index 7ae4498ffc..78d7d28a37 100644 --- a/recipes/TIMIT/ASR/CTC/hparams/train.yaml +++ b/recipes/TIMIT/ASR/CTC/hparams/train.yaml @@ -19,6 +19,7 @@ train_annotation: !ref /train.json valid_annotation: !ref /dev.json test_annotation: !ref /test.json skip_prep: False # Skip data preparation +uppercase: False # Must be True when the TIMIT dataset is in the upper-case version # Training parameters number_of_epochs: 50 diff --git a/recipes/TIMIT/ASR/CTC/train.py b/recipes/TIMIT/ASR/CTC/train.py index f0c6974172..75f7207c1f 100644 --- a/recipes/TIMIT/ASR/CTC/train.py +++ b/recipes/TIMIT/ASR/CTC/train.py @@ -227,6 +227,7 @@ def text_pipeline(phn): "save_json_valid": hparams["valid_annotation"], "save_json_test": hparams["test_annotation"], "skip_prep": hparams["skip_prep"], + "uppercase": hparams["uppercase"], }, ) diff --git a/recipes/TIMIT/ASR/seq2seq/hparams/train.yaml b/recipes/TIMIT/ASR/seq2seq/hparams/train.yaml index 1fd0b81d9d..95f0ab4ee4 100644 --- a/recipes/TIMIT/ASR/seq2seq/hparams/train.yaml +++ b/recipes/TIMIT/ASR/seq2seq/hparams/train.yaml @@ -20,6 +20,7 @@ train_annotation: !ref /train.json valid_annotation: !ref /dev.json test_annotation: !ref /test.json skip_prep: False # Skip data preparation +uppercase: False # Must be True when the TIMIT dataset is in the upper-case version # Training parameters number_of_epochs: 50 diff --git a/recipes/TIMIT/ASR/seq2seq/hparams/train_with_wav2vec2.yaml b/recipes/TIMIT/ASR/seq2seq/hparams/train_with_wav2vec2.yaml index becd0a0682..1c8018e877 100644 --- a/recipes/TIMIT/ASR/seq2seq/hparams/train_with_wav2vec2.yaml +++ b/recipes/TIMIT/ASR/seq2seq/hparams/train_with_wav2vec2.yaml @@ -21,6 +21,7 @@ train_annotation: !ref /train.json valid_annotation: !ref /dev.json test_annotation: !ref /test.json skip_prep: False # Skip data preparation +uppercase: False # Must be True when the TIMIT dataset is in the upper-case version # Training parameters number_of_epochs: 20 diff --git a/recipes/TIMIT/ASR/seq2seq/train.py b/recipes/TIMIT/ASR/seq2seq/train.py index d467fcd5a4..98978f6fb4 100644 --- a/recipes/TIMIT/ASR/seq2seq/train.py +++ b/recipes/TIMIT/ASR/seq2seq/train.py @@ -325,6 +325,7 @@ def text_pipeline(phn): "save_json_valid": hparams["valid_annotation"], "save_json_test": hparams["test_annotation"], "skip_prep": hparams["skip_prep"], + "uppercase": hparams["uppercase"], }, ) diff --git a/recipes/TIMIT/ASR/seq2seq/train_with_wav2vec2.py b/recipes/TIMIT/ASR/seq2seq/train_with_wav2vec2.py index eeeb1fedcb..60d9d8b694 100644 --- a/recipes/TIMIT/ASR/seq2seq/train_with_wav2vec2.py +++ b/recipes/TIMIT/ASR/seq2seq/train_with_wav2vec2.py @@ -362,6 +362,7 @@ def text_pipeline(phn): "save_json_valid": hparams["valid_annotation"], "save_json_test": hparams["test_annotation"], "skip_prep": hparams["skip_prep"], + "uppercase": hparams["uppercase"], }, ) diff --git a/recipes/TIMIT/ASR/transducer/hparams/train.yaml b/recipes/TIMIT/ASR/transducer/hparams/train.yaml index 09594f5af8..10022bd4cd 100644 --- a/recipes/TIMIT/ASR/transducer/hparams/train.yaml +++ b/recipes/TIMIT/ASR/transducer/hparams/train.yaml @@ -22,6 +22,7 @@ train_annotation: !ref /train.json valid_annotation: !ref /dev.json test_annotation: !ref /test.json skip_prep: False # Skip data preparation +uppercase: False # Must be True when the TIMIT dataset is in the upper-case version # Training parameters number_of_epochs: 50 diff --git a/recipes/TIMIT/ASR/transducer/hparams/train_wav2vec.yaml b/recipes/TIMIT/ASR/transducer/hparams/train_wav2vec.yaml index 7b9b3ed3f2..57a472821f 100644 --- a/recipes/TIMIT/ASR/transducer/hparams/train_wav2vec.yaml +++ b/recipes/TIMIT/ASR/transducer/hparams/train_wav2vec.yaml @@ -26,6 +26,7 @@ train_annotation: !ref /train.json valid_annotation: !ref /dev.json test_annotation: !ref /test.json skip_prep: False # Skip data preparation +uppercase: False # Must be True when the TIMIT dataset is in the upper-case version # Training parameters number_of_epochs: 20 diff --git a/recipes/TIMIT/ASR/transducer/train.py b/recipes/TIMIT/ASR/transducer/train.py index 630e1ba033..b8db3349c1 100644 --- a/recipes/TIMIT/ASR/transducer/train.py +++ b/recipes/TIMIT/ASR/transducer/train.py @@ -260,6 +260,7 @@ def text_pipeline(phn): "save_json_valid": hparams["valid_annotation"], "save_json_test": hparams["test_annotation"], "skip_prep": hparams["skip_prep"], + "uppercase": hparams["uppercase"], }, ) diff --git a/recipes/TIMIT/ASR/transducer/train_wav2vec.py b/recipes/TIMIT/ASR/transducer/train_wav2vec.py index 6e05d37afd..0222452919 100644 --- a/recipes/TIMIT/ASR/transducer/train_wav2vec.py +++ b/recipes/TIMIT/ASR/transducer/train_wav2vec.py @@ -335,6 +335,7 @@ def text_pipeline(phn): "save_json_valid": hparams["valid_annotation"], "save_json_test": hparams["test_annotation"], "skip_prep": hparams["skip_prep"], + "uppercase": hparams["uppercase"], }, )