talira

Hugging Face Datasets

Load, process and share AI datasets in one line of Python

open sourceApache-2.0free

Hugging Face Datasets is a Python library for loading and sharing datasets for audio, computer vision and natural language processing. A dataset loads in one line of code, from the Hugging Face Hub or local files, and its processing and streaming methods get it ready to train a deep learning model. It is backed by the Apache Arrow format, so large datasets are read with zero-copy reads without loading them into memory, and it shares datasets back to the Hub.

Problems it solves

  • load a public training dataset into my Python training script
  • process a dataset too big to fit in memory for model training
  • share a dataset I built with other machine learning people

Features

  • load a dataset in one line from the Hub or local files
  • processing and streaming methods for training
  • Apache Arrow backed, zero-copy reads for large datasets
  • share datasets to the Hugging Face Hub