Join the HubClone community
and get access to the augmented documentation experience
- Collaborate on models, datasets and Spaces
- Faster examples with accelerated inference
- Switch between documentation themes
to get started
Storage Buckets
Storage Buckets are object storage containers hosted on the Hub. They use the Xet backend for deduplicated transfers but, unlike repositories, they keep no commit history: writing a file replaces it.
Buckets vs Repositories
| Repositories | Buckets | |
|---|---|---|
| History | Every change is a commit | No history; last write wins |
| Best for | Releases you want to version and share | Checkpoints, logs, scratch artifacts |
| Access | Git, client libraries, web UI | Client libraries, CLI, S3-compatible API |
| Pricing | Included storage, then per TB | Per TB stored |
Creating a Bucket
Create a bucket from the Storage page or from the CLI. Buckets belong to a user or an organization and are private by default.
hf buckets create your-username/checkpointsManaging Files
Copy files in and out with the CLI, sync whole folders, or browse the bucket in the web UI to delete objects you no longer need.
Use Cases
- Saving training checkpoints every few minutes without polluting a repository's history
- Sharing large intermediate artifacts between jobs
- Keeping logs and evaluation outputs close to the models they describe