# huggingface/datasets

🤗 The largest hub of ready-to-use datasets for AI models with fast, easy-to-use and efficient data manipulation tools

Repository: https://github.com/huggingface/datasets
Canonical: https://ross.abutalabs.com/products/datasets
Homepage: https://huggingface.co/docs/datasets
Language: Python
License: Apache-2.0
License Family: permissive
Topics: nlp, datasets, pytorch, tensorflow, pandas, numpy, natural-language-processing, computer-vision, machine-learning, deep-learning, speech, ai, artificial-intelligence, llm, dataset-hub, huggingface
Last push: 2026-08-26T12:48:03+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 2351, "days_push": 7, "days_rel": 36, "gap_med": 12.5, "n_releases_24m": 33}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 21870, forks 3371 (observed 2026-08-28T04:11:32.174613+00:00)

## What it is
Hugging Face Datasets is a Python library providing one-line access to hundreds of thousands of public datasets on the Hugging Face Hub across text, image, audio, and video modalities. It offers efficient, memory-mapped data loading and preprocessing built on Apache Arrow, with integrations for PyTorch, TensorFlow, JAX, Pandas, NumPy, and Polars.

## Use cases
- load a public dataset for model training in one line of code
- preprocess and tokenize a text dataset for fine-tuning an LLM
- stream a huge dataset that doesn't fit on disk or memory
- convert local CSV, JSON, or Parquet files into an ML-ready dataset
- prepare image or audio datasets with transforms and resampling
- share a dataset with the community on the Hugging Face Hub

## When to choose
- you need fast, reproducible access to public ML datasets
- you work with large datasets and want memory-mapped, zero-copy loading
- you train models in PyTorch, TensorFlow, or JAX and need dataloader integration
- you want a unified API for text, image, and audio data preprocessing

## When to avoid
- you need a general-purpose ETL tool for non-ML data pipelines
- your data lives in a SQL database and you only need simple queries
- you need distributed data processing beyond single-machine Arrow-based workflows

## Facets
- artifact type: library
- maturity: stable
- function: etl, data-science, machine-learning, deep-learning, nlp, computer-vision, audio-processing, sdk
- domain: machine-learning, data-science, computer-vision, artificial-intelligence, large-language-models
- platform: python, cross-platform
- tags: huggingface, datasets, apache-arrow, dataloader, data-preprocessing, pytorch, tensorflow, pandas, streaming, data-engineering, natural-language-processing, audio

## Member repositories
- huggingface/datasets (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.174613+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:57:46.403280+00:00, confidence not recorded.
  - readme: https://github.com/huggingface/datasets (fetched 2026-08-28T04:11:32.174613+00:00, sha 3c6ff3c493d8)
  - homepage: https://huggingface.co/docs/datasets (fetched 2026-08-29T07:56:13.857218+00:00, sha 619622f88451)
  - site_page: https://huggingface.co/docs (fetched 2026-08-29T07:56:13.859846+00:00, sha bdec26667b98)
  - site_page: https://huggingface.co/docs/datasets/quickstart (fetched 2026-08-29T07:56:13.863982+00:00, sha cd748fc8a545)
  - site_page: https://huggingface.co/docs/datasets/installation (fetched 2026-08-29T07:56:13.866023+00:00, sha c71116883263)
  - site_page: https://huggingface.co/docs/datasets/tutorial (fetched 2026-08-29T07:56:13.867804+00:00, sha 84fe8fae3e6c)
  - site_page: https://huggingface.co/docs/datasets/load_hub (fetched 2026-08-29T07:56:13.869572+00:00, sha b2e149befada)
  - site_page: https://huggingface.co/docs/datasets/access (fetched 2026-08-29T07:56:13.871523+00:00, sha a4ded9ba5009)
  - site_page: https://huggingface.co/docs/datasets/use_dataset (fetched 2026-08-29T07:56:13.873376+00:00, sha b052d61cc458)
  - registry_pypi: https://pypi.org/pypi/datasets/json (fetched 2026-08-29T07:56:13.875116+00:00, sha 9049903d1902)
- Data as of 2026-08-30T08:39:29.467469+00:00.
