-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: TaskFlow zero_shot_text_classification #8427
Labels
bug
Something isn't working
Comments
可以参考我的环境:
|
paddlenlp版本对应是2.6.1就行吧?跟paddlepaddle版本应该没关系吧。 |
numpy==1.23.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
软件环境
重复问题
错误描述
稳定复现步骤 & 代码
import paddlenlp
from paddlenlp import Taskflow
cls = Taskflow("zero_shot_text_classification", schema=["这是一条好评", "这是一条差评","这是一条中等评价"])
cls(["房间干净明亮,非常不错","很好","差劲"])
The text was updated successfully, but these errors were encountered: