#5555th of 433 in ML frameworks and libraries

huggingface/datasets

Python library for loading, streaming and preprocessing ML datasets on Apache Arrow

Stars
22.2k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+1,012
25 Mar 2026: 21,186 stars1 Apr 2026: 21,211 stars8 Apr 2026: 21,239 stars15 Apr 2026: 21,273 stars22 Apr 2026: 21,305 stars29 Apr 2026: 21,341 stars6 May 2026: 21,364 stars13 May 2026: 21,391 stars20 May 2026: 21,409 stars27 May 2026: 21,438 stars3 Jun 2026: 21,474 stars10 Jun 2026: 21,513 stars17 Jun 2026: 21,540 stars24 Jun 2026: 21,566 stars1 Jul 2026: 21,591 stars8 Jul 2026: 21,623 stars15 Jul 2026: 21,644 stars22 Jul 2026: 21,680 stars29 Jul 2026: 21,721 stars5 Aug 2026: 21,751 stars12 Aug 2026: 21,775 stars19 Aug 2026: 21,791 stars26 Aug 2026: 21,823 stars2 Sept 2026: 21,846 stars9 Sept 2026: 21,914 stars16 Sept 2026: 21,944 stars23 Sept 2026: 21,971 stars30 Sept 2026: 21,994 stars7 Oct 2026: 22,018 stars14 Oct 2026: 22,039 stars21 Oct 2026: 22,067 stars28 Oct 2026: 22,090 stars4 Nov 2026: 22,116 stars11 Nov 2026: 22,136 stars18 Nov 2026: 22,170 stars25 Nov 2026: 22,198 stars

21,186 on 25 Mar 202622,198 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Hugging Face Datasets loads public datasets from the Hub or local files (CSV, JSON, Parquet, Arrow, XML, text, audio, image, video, PDF, NIfTI) with `load_dataset()`. Data is stored as memory-mapped Apache Arrow, so datasets larger than RAM work, and `map()` results are cached and can run in parallel with `num_proc`. A streaming mode iterates over remote data without downloading it.

Who it is for: ML engineers preparing training and evaluation data in Python

Strengths

  • Memory-mapped Arrow storage lets datasets exceed available RAM
  • Streaming mode with `streaming=True` avoids downloading full datasets
  • Converts to NumPy, Pandas, Polars, PyTorch, TensorFlow, JAX and Spark
  • Automatic caching of map results; parallel processing via `map(num_proc=N)`

Weaknesses

  • Tied to the Hugging Face Hub for the one-line public dataset loading
  • Audio, vision, PDF and NIfTI support need optional extras installed
  • Built-in similarity search depends on separate FAISS or Elasticsearch setups
  • Pinning dataset revisions is left to the user for reproducibility

What it needs

  • no GPU
  • Needs Hugging Face Hub, Apache Arrow, FAISS (optional), Elasticsearch (optional)

What changed

  1. 5.2.0 ↗ (opens in a new tab)Security fix

    CVE-2026-57845. “Remove loading of pickled pandas daraframes (CVE-2026-57845) by @SaiTeja-Erukude in https://github.com/huggingface/datasets/pull/8879”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#53spacyPython and Cython NLP library with pretrained pipelines for 70+ languages34.1k starsMIT79 out of 100
#54fastaiHigh-level deep learning library on PyTorch for vision, text, tabular and recommenders28.3k starsApache-2.079 out of 100
#56tritonPython-based language and compiler for writing custom GPU kernels for deep learning20.7k starsMIT79 out of 100
#57gymnasiumPython API and environments for reinforcement learning, successor to OpenAI Gym12.9k stars+122 (+1.0%) in 30 daysMIT79 out of 100
#58dartsPython library for time series forecasting and anomaly detection9.6k starsApache-2.079 out of 100