Skip to content

Commit 975b5b0

Browse files
committed
unset streaming=True when common voice datasets for whisper are downloaded
1 parent 6a620fb commit 975b5b0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/python_tests/test_whisper_pipeline.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,18 @@ def get_whisper_dataset(language: str, long_form: bool) -> list:
184184
"mozilla-foundation/common_voice_11_0",
185185
language,
186186
split="test",
187-
streaming=True,
187+
# TODO: temporary download the whole dataset until is fixed https://github.com/huggingface/datasets/issues/7647
188+
# return streaming back once the issue is resolved.
189+
# streaming=True,
188190
trust_remote_code=True,
189191
)
190192
else:
191193
ds = datasets.load_dataset(
192194
"distil-whisper/meanwhile",
193195
split="test",
194-
streaming=True,
196+
# TODO: temporary download the whole dataset until is fixed https://github.com/huggingface/datasets/issues/7647
197+
# return streaming back once the issue is resolved.
198+
# streaming=True,
195199
trust_remote_code=True,
196200
)
197201

0 commit comments

Comments
 (0)