Skip to content

Commit d2b6c74

Browse files
fineguyThe TensorFlow Datasets Authors
authored andcommitted
Remove disable_shuffling from Hugging Face dataset builder.
PiperOrigin-RevId: 616113181
1 parent f27c205 commit d2b6c74

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tensorflow_datasets/core/dataset_builders/huggingface_dataset_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def __init__(
159159
hf_hub_token: Optional[str] = None,
160160
hf_num_proc: Optional[int] = None,
161161
tfds_num_proc: Optional[int] = None,
162-
disable_shuffling: bool = True,
163162
**config_kwargs,
164163
):
165164
self._hf_repo_id = hf_repo_id
@@ -193,7 +192,6 @@ def __init__(
193192
self._verification_mode = (
194193
'no_checks' if ignore_verifications else 'all_checks'
195194
)
196-
self._disable_shuffling = disable_shuffling
197195
super().__init__(
198196
file_format=file_format, config=tfds_config, data_dir=data_dir
199197
)
@@ -237,7 +235,6 @@ def _info(self) -> dataset_info_lib.DatasetInfo:
237235
citation=self._hf_info.citation,
238236
license=self._hf_info.license,
239237
supervised_keys=_extract_supervised_keys(self._hf_info),
240-
disable_shuffling=self._disable_shuffling,
241238
)
242239

243240
def _split_generators(

0 commit comments

Comments
 (0)