Skip to content

Add IterableDataset.push_to_hub() #7595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 6, 2025
Merged

Conversation

lhoestq
Copy link
Member

@lhoestq lhoestq commented Jun 5, 2025

Basic implementation, which writes one shard per input dataset shard.
This is to be improved later.

Close #5665

PS: for image/audio datasets structured as actual image/audio files (not parquet), you can sometimes speed it up with ds.decode(num_threads=...).push_to_hub(...)

@HuggingFaceDocBuilderDev

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 marked this pull request as ready for review June 5, 2025 16:40
@lhoestq lhoestq merged commit 11320c3 into main Jun 6, 2025
7 of 15 checks passed
@lhoestq lhoestq deleted the iterable-dataset-push-to-hub branch June 6, 2025 16:12
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.

Feature request: IterableDataset.push_to_hub
2 participants