Skip to content

Don't save original_shard_lengths by default for backward compat#7906

Merged
lhoestq merged 1 commit into
mainfrom
dont-save-original-shard-lengths-by-default
Dec 19, 2025
Merged

Don't save original_shard_lengths by default for backward compat#7906
lhoestq merged 1 commit into
mainfrom
dont-save-original-shard-lengths-by-default

Conversation

@lhoestq

@lhoestq lhoestq commented Dec 19, 2025

Copy link
Copy Markdown
Member

following #7897

but let users enable it with datasets.config.SAVE_ORIGINAL_SHARD_LENGTHS = True

this is useful for the Dataset Viewer to know where each row comes from after converting to parquet

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@lhoestq lhoestq merged commit 58dda42 into main Dec 19, 2025
10 of 15 checks passed
@lhoestq lhoestq deleted the dont-save-original-shard-lengths-by-default branch December 19, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants