Papers: arxiv:1910.03771

HuggingFace's Transformers: State-of-the-art Natural Language Processing

Anthony Moi ,
Tim Rault ,
Rémi Louf ,
Morgan Funtowicz ,
Sam Shleifer ,
Patrick von Platen ,
Clara Ma ,
Yacine Jernite ,
Julien Plu ,
Canwen Xu ,
Teven Le Scao ,
Sylvain Gugger ,
Mariama Drame ,
Alexander M. Rush
·published on Oct 9, 2019


Recent progress in natural language processing has been driven by advances in both model architecture and model pretraining. Transformer architectures have facilitated building higher-capacity models and pretraining has made it possible to effectively utilize this capacity for a wide variety of tasks. Transformers is an open-source library with the goal of opening up these advances to the wider machine learning community. The library consists of carefully engineered state-of-the art Transformer architectures under a unified API. Backing this library is a curated collection of pretrained models made by and available for the community. Transformers is designed to be extensible by researchers, simple for practitioners, and fast and robust in industrial deployments. The library is available at


Sign up or log in to comment