sanchit-gandhi HF staff commited on
Commit
8cb4c64
1 Parent(s): 7e19c68

[LibriSpeech] Fix dev split local_extracted_archive for 'all' config (#4904)

Browse files

[LibriSpeech] Fix dev split local_extracted_archive for 'all' split

Commit from https://github.com/huggingface/datasets/commit/6b3f3ca3ef6552040cf3449754b20241b4303503

Files changed (1) hide show
  1. librispeech_asr.py +2 -2
librispeech_asr.py CHANGED
@@ -209,14 +209,14 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
209
  datasets.SplitGenerator(
210
  name="validation.clean",
211
  gen_kwargs={
212
- "local_extracted_archive": local_extracted_archive.get("validation.clean"),
213
  "files": dl_manager.iter_archive(archive_path["dev.clean"]),
214
  },
215
  ),
216
  datasets.SplitGenerator(
217
  name="validation.other",
218
  gen_kwargs={
219
- "local_extracted_archive": local_extracted_archive.get("validation.other"),
220
  "files": dl_manager.iter_archive(archive_path["dev.other"]),
221
  },
222
  ),
 
209
  datasets.SplitGenerator(
210
  name="validation.clean",
211
  gen_kwargs={
212
+ "local_extracted_archive": local_extracted_archive.get("dev.clean"),
213
  "files": dl_manager.iter_archive(archive_path["dev.clean"]),
214
  },
215
  ),
216
  datasets.SplitGenerator(
217
  name="validation.other",
218
  gen_kwargs={
219
+ "local_extracted_archive": local_extracted_archive.get("dev.other"),
220
  "files": dl_manager.iter_archive(archive_path["dev.other"]),
221
  },
222
  ),