PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
12.17k stars 2.95k forks source link

[Bug]: 模型微调finetune.py,from paddlenlp.transformers import UIE报错,请问如何解决? #4078

Closed RONG-SONG closed 1 year ago

RONG-SONG commented 1 year ago

软件环境

- paddlepaddle:2.4.0
- paddlepaddle-gpu: 
- paddlenlp:  2.4.4

重复问题

错误描述

模型微调finetune.py,from paddlenlp.transformers import UIE报错,请问如何解决?

稳定复现步骤 & 代码

from paddlenlp.transformers import UIE

linjieccc commented 1 year ago

@RONG-SONG Hi,

我们在2.4.5版本将UIE相关模型放入transformers中便于管理,你可以更新下develop分支的代码,同时升级到2.4.5版本试下

RONG-SONG commented 1 year ago

可以了,非常感谢