PaddleNLP [问题]:Assert错误:模型名称:uie-senta-base 不在任务:[sentiment_analysis]中,

rekjcdws  于 2个月前  发布在  其他
关注(0)|答案(2)|浏览(32)

请提出你的问题

在Ai studio上运行该项目。
报错行:Taskflow("sentiment_analysis", model="uie-senta-base", schema=schema)
报错信息:AssertionError: The models name: uie-senta-base is not in task:[sentiment_analysis]
这是由于什么原因

vh0rcniy

vh0rcniy1#

升级PaddleNLP到最新版本2.5.2

oyt4ldly

oyt4ldly2#

我都已经2.6.1了,直接给我个{}
????
用uie-base又提示
模型名称:uie-base不在任务:[sentiment_analysis]中

相关问题