File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2929wget
3030huggingface_hub >= 0.19.2
3131tiktoken
32- tokenizers >= 0.21 ,< 0.22
32+ tokenizers < 0.21 ,< 0.22
Original file line number Diff line number Diff line change 2626regex
2727numpy <= 1.26.4
2828tiktoken
29- tokenizers >= 0.21 , < 0.22
29+ tokenizers < 0.21
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ install_requirements() {
2828 python -m pip config --user set global.trusted-host pip.baidu-int.com
2929 python -m pip install -r requirements.txt
3030 python -m pip install -r requirements-dev.txt
31+ python -m pip install tokenizers> =0.21,< 0.22 # update tokenizers for transformers
3132 python -m pip install -r tests/requirements.txt
3233 python -m pip install -r paddlenlp/experimental/autonlp/requirements.txt
3334 python -m pip uninstall paddlepaddle paddlepaddle_gpu -y
You canβt perform that action at this time.
0 commit comments