โ† All projects
Developer building blocks

๐Ÿค— Datasets

Load and prepare thousands of public datasets for AI with a single line of code.

Widely used

What it does

AI models learn from data, and finding and cleaning that data is a big job. Datasets is a Python library that downloads ready-to-use public datasets from the Hugging Face Hub in one line.

It also helps prepare data quickly and repeatably, for public datasets and your own files, including text, tables, images, audio and PDFs.

It is designed so people can easily share new datasets with others.

Who it's for

Data scientists, researchers and developers who train or test AI models.

Can I use it without coding?

Developers only. A Python library used in code. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it