Fix streaming mode

#13
by sanchit-gandhi HF staff - opened
Files changed (1) hide show
  1. multilingual_librispeech.py +2 -2
multilingual_librispeech.py CHANGED
@@ -147,7 +147,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
147
  "transcript_path": transcripts["train"],
148
  "audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
149
  "local_extracted_archive": local_extracted_archives.get("train"),
150
- "limited_ids_paths": limited_supervision_9h,
151
  },
152
  ),
153
  datasets.SplitGenerator(
@@ -156,7 +156,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
156
  "transcript_path": transcripts["train"],
157
  "audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
158
  "local_extracted_archive": local_extracted_archives.get("train"),
159
- "limited_ids_paths": limited_supervision_1h,
160
  },
161
  ),
162
  ]
 
147
  "transcript_path": transcripts["train"],
148
  "audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
149
  "local_extracted_archive": local_extracted_archives.get("train"),
150
+ "limited_ids_paths": tuple(limited_supervision_9h),
151
  },
152
  ),
153
  datasets.SplitGenerator(
 
156
  "transcript_path": transcripts["train"],
157
  "audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
158
  "local_extracted_archive": local_extracted_archives.get("train"),
159
+ "limited_ids_paths": tuple(limited_supervision_1h),
160
  },
161
  ),
162
  ]