本文へスキップ

Datasets

一行のコードでデータセットを読み込み・ストリーミング

Hugging Face ツール オープンソース

本ページの本文は英語で提供されています。タイトルと導入は日本語化されています。

これは何か

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.

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

主な仕様

Backing format
Apache Arrow
Reading
Memory mapping and streaming

関連する概念

AI エンジニアリング・安全性・倫理

学習・推論インフラストラクチャ上級

メモリが「どれだけ大きなモデルを訓練できるか」を、通信が「どれだけ時間がかかるか」を決める

4関連
図解 1 · データ 1

自然言語処理と大規模言語モデル

事前学習とファインチューニング中級

大量のラベルなしテキストで言語を学び、少量データで専門化する。現代 AI で最もデータ効率のよい范式

5関連
図解 1 · データ 1

同種の製品

Hugging Face

Transformers

単一のAPIで学習済みモデルを読み込み・学習

2関連
ツール オープンソース
2018

Hugging Face

Diffusers

拡散モデルの統合実装とスケジューラ

2関連
ツール オープンソース
2022

Pinecone

Pinecone

マネージドなベクトルDBと類似検索

2能力
インフラ クローズド
2019