The Hub is home to an extensive collection of community-curated and popular research datasets. We encourage you to share your dataset to the Hub to help grow the ML community and accelerate progress for everyone. All contributions are welcome; adding a dataset is just a drag and drop away!
Start by creating a Hugging Face Hub account if you don’t have one yet.
The Hub’s web-based interface allows users without any developer experience to upload a dataset.
A repository hosts all your dataset files, including the revision history, making storing more than one dataset version possible.
.csv
, .mp3
, and .jpg
among many others.Adding a Dataset card is super valuable for helping users find your dataset and understand how to use it responsibly.
README.md
file in your repository.At the top, you’ll see the Metadata UI with several fields to select from such as license, language, and task categories. These are the most important tags for helping users discover your dataset on the Hub (when applicable). When you select an option for a field, it will be automatically added to the top of the dataset card.
You can also look at the Dataset Card specifications, which has a complete set of (but not required) tag options like annotations_creators
, to help you choose the appropriate tags.
Write your dataset documentation in the Dataset Card to introduce your dataset to the community and help users understand how to use it.
You can click on the Import dataset card template link at the top of the editor to automatically create a dataset card template. For a detailed example of what a good Dataset card should look like, take a look at the CNN DailyMail Dataset card.
The Dataset Viewer is crucial to know what the data actually look like. It is generally enabled by default for any dataset, depending on the dataset structure.
Make sure the Dataset Viewer correctly shows your data, or Configure the Dataset Viewer.
The rich features set in the huggingface_hub
library allows you to manage repositories, including creating repos and uploading datasets to the Model Hub. Visit the client library’s documentation to learn more.
Some libraries like 🤗 Datasets, Pandas, Dask or DuckDB can upload files to the Hub. See the list of Libraries supported by the Datasets Hub for more information.
Since dataset repos are just Git repositories, you can use Git to push your data files to the Hub. Follow the guide on Getting Started with Repositories to learn about using the git
CLI to commit and push your datasets.