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.94k forks source link

[Question]: AssertionError: The models name: uie-senta-base is not in task:[sentiment_analysis] #5236

Open Yang-Han11 opened 1 year ago

Yang-Han11 commented 1 year ago

请提出你的问题

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

wawltor commented 1 year ago

升级一下PaddleNLP的版本到最新的2.5.2版本

shih6 commented 1 year ago

我都2.6.1了,直接给我个{} ???? 用uie-base又提示 The models name: uie-base is not in task:[sentiment_analysis]