marinone94
commited on
Commit
•
74c34eb
1
Parent(s):
833e02b
readd script
Browse files
run_speech_recognition_seq2seq_streaming.py
CHANGED
@@ -768,12 +768,12 @@ def main():
|
|
768 |
}
|
769 |
if data_args.dataset_train_name is not None:
|
770 |
kwargs["dataset_tags"] = data_args.dataset_train_name
|
771 |
-
if data_args.
|
772 |
-
kwargs["dataset"] = f"{data_args.dataset_train_name} {data_args.
|
773 |
else:
|
774 |
kwargs["dataset"] = data_args.dataset_train_name
|
775 |
if "common_voice" in data_args.dataset_train_name:
|
776 |
-
kwargs["language"] = data_args.
|
777 |
if model_args.model_index_name is not None:
|
778 |
kwargs["model_name"] = model_args.model_index_name
|
779 |
|
|
|
768 |
}
|
769 |
if data_args.dataset_train_name is not None:
|
770 |
kwargs["dataset_tags"] = data_args.dataset_train_name
|
771 |
+
if data_args.dataset_train_config_name is not None:
|
772 |
+
kwargs["dataset"] = f"{data_args.dataset_train_name} {data_args.dataset_train_config_name}"
|
773 |
else:
|
774 |
kwargs["dataset"] = data_args.dataset_train_name
|
775 |
if "common_voice" in data_args.dataset_train_name:
|
776 |
+
kwargs["language"] = data_args.dataset_train_config_name[:2]
|
777 |
if model_args.model_index_name is not None:
|
778 |
kwargs["model_name"] = model_args.model_index_name
|
779 |
|