Skip to content
AI Atlas

Datasets

Load and stream datasets with one line of code

Hugging Face Tool Open source

WHAT IT IS

Datasets is an open-source library from Hugging Face, released in 2020, for loading, processing and sharing datasets. It uses Apache Arrow as its underlying format and supports memory mapping and streaming, so datasets larger than memory can still be iterated batch by batch. It addresses the difficulty of reusing the download, parsing and preprocessing pipelines that precede training.

Why it matters

It made "getting the data" a cacheable, streamable standard step, so preprocessing code travels and reproduces alongside the dataset.

Key specs

Backing format
Apache Arrow
Reading
Memory mapping and streaming

Related concepts

Comparable products