Skip to content

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