Unverified Commit b67f345d authored by flozi00's avatar flozi00 Committed by GitHub
Browse files

Update run_speech_recognition_seq2seq.py (#14967)

parent f71fb5c3
......@@ -359,7 +359,7 @@ def main():
raw_datasets["train"] = raw_datasets["train"].select(range(data_args.max_train_samples))
if data_args.max_eval_samples is not None:
raw_datasets["eval"] = raw_datasets["eval"].select(range(data_args.max_train_samples))
raw_datasets["eval"] = raw_datasets["eval"].select(range(data_args.max_eval_samples))
def prepare_dataset(batch):
# process audio
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment