Transformers
Une API pour charger et entraîner des modèles pré-entraînés
Le texte intégral est présenté en anglais ; le titre et le résumé sont localisés.
Ce que c'est
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.
Caractéristiques clés
- Frameworks
- PyTorch, TensorFlow, JAX
- Coverage
- Text, vision, speech and multimodal
Concepts liés
TAL et grands modèles de langage
Architecture TransformerIntermédiaire
Remplacer le relais mot à mot par une salle où tous parlent en même temps, pour que les dépendances lointaines soient à un saut
TAL et grands modèles de langage
Pré-entraînement et affinageIntermédiaire
Apprendre d’abord la langue sur d’immenses corpus non annotés, puis se spécialiser avec peu de données : le paradigme le plus économe en données