From 45841eaf7b71b28512fec8b34220844b7c84966e Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 22 Dec 2019 18:22:03 +0100 Subject: [PATCH] Remove references to Python 2 in documentation. --- README.md | 2 +- docs/source/installation.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8d30d7527b3..ea1d595d43d 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Choose the right framework for every part of a model's lifetime ## Installation -This repo is tested on Python 2.7 and 3.5+ (examples are tested only on python 3.5+), PyTorch 1.0.0+ and TensorFlow 2.0.0-rc1 +This repo is tested on Python 3.5+, PyTorch 1.0.0+ and TensorFlow 2.0.0-rc1 ### With pip diff --git a/docs/source/installation.md b/docs/source/installation.md index b4281c34458..d7198c17a70 100644 --- a/docs/source/installation.md +++ b/docs/source/installation.md @@ -1,6 +1,6 @@ # Installation -Transformers is tested on Python 2.7 and 3.5+ (examples are tested only on python 3.5+) and PyTorch 1.1.0 +Transformers is tested on Python 3.5+ and PyTorch 1.1.0 ## With pip @@ -44,7 +44,7 @@ By default, slow tests are skipped. Set the `RUN_SLOW` environment variable to ` ## OpenAI GPT original tokenization workflow -If you want to reproduce the original tokenization process of the `OpenAI GPT` paper, you will need to install `ftfy` (use version 4.4.3 if you are using Python 2) and `SpaCy`: +If you want to reproduce the original tokenization process of the `OpenAI GPT` paper, you will need to install `ftfy` and `SpaCy`: ``` bash pip install spacy ftfy==4.4.3