Hugging Face Datasets
Hugging Face Datasets is two things at once: a website that catalogues well over 100,000 machine learning datasets, and a Python library (the `datasets` package) that loads any of them in a couple of lines. On the site you can filter by task, language, size, and licence, preview rows in the browser, and read the community-written dataset card before you commit to a download.
For RAG this is often the fastest path to data. Pre-parsed Wikipedia, filtered web corpora like FineWeb, code datasets, and purpose-built retrieval benchmarks all live here. The library's streaming mode is the standout feature: pass `streaming=True` and you iterate over records on the fly without downloading the whole thing, so you can work with corpora far larger than your local disk. Under the hood most datasets are stored as Parquet, a columnar format that is fast to scan and filter.
Everything is versioned with git, so you can pin an exact revision by commit hash and get reproducible builds, which matters when an evaluation needs to be repeatable months later. The same versioning lets you push your own processed corpus back up and share it with others.
The big caveat is that this is a platform, not a curated corpus, so quality and licensing vary enormously from one dataset to the next. Anyone can upload, dataset cards are sometimes thin, and the stated licence is not always reliable, so always check the card and the original source before you rely on anything in production. Whether commercial use is allowed depends entirely on the individual dataset.
Think of Hugging Face as the discovery and delivery layer that sits in front of the other sources in this directory: many of them, from Wikipedia to S2ORC, are mirrored here in a ready-to-load form, so it is usually worth checking here first before you set up a bespoke download.
Related sources
AWS Data Exchange
A marketplace for finding, subscribing to, and using third-party data inside the AWS cloud. It carries both free open datasets and paid commercial data products, so you can pull licensed data straight into your AWS workflows without setting up separate transfers.
AWS Open Data Registry
A registry of high-value datasets hosted on AWS and made publicly available, covering genomics, geospatial data, climate, satellite imagery, and more. Over 300 PB of data in total, free to access: you pay only for the compute you use to process it.
Datahub.io
A platform for publishing and finding open data packages: datasets bundled with consistent metadata in standardised formats. It hosts curated collections of widely used reference data, from country codes to exchange rates, ready to drop into a pipeline.
Google Dataset Search
A search engine for datasets that indexes millions of them from thousands of repositories worldwide. It does not host data itself: it points you to wherever each dataset lives, which makes it a fast first stop when you are hunting for a source on a specific topic.