pytorch-transformers

Repository of pre-trained NLP Transformer models: BERT & RoBERTa, GPT & GPT-2, Transformer-XL, XLNet and XLM

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install pytorch-transformers

Dependencies

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
1.2.0 2019-09-04
1.1.0 2019-08-15
1.0.0 2019-07-16
0.7.0 2019-07-05

Issues with this package?

Page last updated 2026-09-03 12:08:41 UTC