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

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
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 2025-07-17 16:50:22 UTC