From f285e4c3adcec31b335e346d4dcea20fbdc73a1a Mon Sep 17 00:00:00 2001 From: Anthony MOI Date: Mon, 8 Feb 2021 12:27:26 -0500 Subject: [PATCH] Update tokenizers requirement (#10077) --- setup.py | 2 +- src/transformers/dependency_versions_table.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 182330f9c..87c18390f 100644 --- a/setup.py +++ b/setup.py @@ -132,7 +132,7 @@ _deps = [ "tensorflow-cpu>=2.3", "tensorflow>=2.3", "timeout-decorator", - "tokenizers==0.10.1rc1", + "tokenizers>=0.10.1,<0.11", "torch>=1.0", "tqdm>=4.27", "unidic>=1.0.2", diff --git a/src/transformers/dependency_versions_table.py b/src/transformers/dependency_versions_table.py index 4eb4890d1..9a7b078b8 100644 --- a/src/transformers/dependency_versions_table.py +++ b/src/transformers/dependency_versions_table.py @@ -45,7 +45,7 @@ deps = { "tensorflow-cpu": "tensorflow-cpu>=2.3", "tensorflow": "tensorflow>=2.3", "timeout-decorator": "timeout-decorator", - "tokenizers": "tokenizers==0.10.1rc1", + "tokenizers": "tokenizers>=0.10.1,<0.11", "torch": "torch>=1.0", "tqdm": "tqdm>=4.27", "unidic": "unidic>=1.0.2",