Skip to content

Read and write to HF Storage Buckets with load_dataset() and push_to_hub()#8064

Draft
lhoestq wants to merge 5 commits intomainfrom
buckets
Draft

Read and write to HF Storage Buckets with load_dataset() and push_to_hub()#8064
lhoestq wants to merge 5 commits intomainfrom
buckets

Conversation

@lhoestq
Copy link
Member

@lhoestq lhoestq commented Mar 12, 2026

TODO:

  • Dataset.push_to_hub
  • DatasetDict.push_to_hub
  • IterableDataset.push_to_hub
  • IterableDatasetDict.push_to_hub
  • load_dataset
  • tests
  • docs

e.g.

from datasets import load_dataset

ds.push_to_hub("buckets/username/my-bucket/dataset-name")

# and later
ds = load_dataset("buckets/username/my-bucket/dataset-name")

(also taking the opportunity to factorize the code a bit)

@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.

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