Using Datasets

Using 🌍 Datasets

Once you’ve found an interesting dataset on the Hugging Face Hub, you can load the dataset using 🌍 Datasets. You can click on the Use in dataset library button to copy the code to load a dataset.

Some datasets on the Hub contain a loading scriptarrow-up-right, which allows you to easily load the dataset when you need itarrow-up-right.

Many datasets however do not need to include a loading script, for instance when their data is stored directly in the repository in formats such as CSV, JSON and Parquet. 🌍 Datasets can load those kinds of datasetsarrow-up-right automatically without a loading script.

For more information about using 🌍 Datasets, check out the tutorialsarrow-up-right and how-to guidesarrow-up-right available in the 🌍 Datasets documentation.

Last updated