本文へスキップ
AI図鑑

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

関連する概念

同種の製品