本文へスキップ

Transformers

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

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

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

これは何か

Transformers is an open-source library maintained by Hugging Face, released in 2018, that loads, runs and trains pretrained models through a single interface. It began with Transformer architectures such as BERT and GPT and now spans text, vision, speech and multimodal models. It solves the problem of converging models of differing origins and implementations onto one API, reducing the cost of rewriting code when switching models.

It turned "swap the model" from rewriting training and serving code into changing a model identifier — a key layer behind the broad reuse of open models.

主な仕様

Frameworks
PyTorch, TensorFlow, JAX
Coverage
Text, vision, speech and multimodal

関連する概念

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

Transformer アーキテクチャ中級

「一語ずつの伝言」を「全員が同時に話す会議」に置き換え、長距離依存を一跳で届かせる

4関連
図解 2 · データ 2

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

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

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

5関連
図解 1 · データ 1

同種の製品

Hugging Face

Diffusers

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

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

Hugging Face

Datasets

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

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

LangChain

LangChain

モデル・ツール・検索をつなぐ

3能力
ツール オープンソース
2022

NVIDIA

NeMo

大規模モデルの学習・カスタマイズ用ツールキット

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