From e75f77799cfc4bcbf8f343b1f09099934510ae51 Mon Sep 17 00:00:00 2001 From: Qinkai Date: Wed, 11 Jan 2023 17:40:21 +0800 Subject: [PATCH] Update setup.py transformers updated the vocabulary and is conflict with CodeGeeX tokenizer --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6bf7937..bd78153 100644 --- a/setup.py +++ b/setup.py @@ -15,9 +15,9 @@ setup( "pyzmq>=23.2.1", "regex>=2022.3.15", "setuptools>=58.0.4", - "transformers>=4.22.0", + "transformers>=4.22.0,<=4.24.0", "pytorch>=1.10.0", "tqdm>=4.63.0", ], entry_points={} -) \ No newline at end of file +)