diff --git a/ppstructure/vqa/README.md b/ppstructure/vqa/README.md index 4cf2432f40979e17bef8d8f631a963e641a02591..529690cc83d282f765fe89ac0c10f348803ac92f 100644 --- a/ppstructure/vqa/README.md +++ b/ppstructure/vqa/README.md @@ -96,10 +96,7 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR - **(3)安装PaddleNLP** ```bash -# 需要使用PaddleNLP最新的代码版本进行安装 -git clone https://github.com/PaddlePaddle/PaddleNLP -b develop -cd PaddleNLP -pip3 install -e . +pip3 install "paddlenlp>=2.2.1" ``` diff --git a/requirements.txt b/requirements.txt index 9900588b25df99e0853ec4521f0632578c55f530..1d10b23a342095e93a34518ec869517db5c0c696 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,4 +13,4 @@ lxml premailer openpyxl fasttext==0.9.1 - +paddlenlp>=2.2.1