You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
有时输出为空[{}],有时报一下错误
RuntimeError: (PreconditionNotMet) The meta data must be valid when call the mutable data function.
[Hint: Expected valid() == true, but received valid():0 != true:1.] (at /paddle/paddle/phi/core/dense_tensor.cc:122)
[operator < fill_constant > error]
稳定复现步骤 & 代码
from paddlenlp import Taskflow
from pprint import pprint
软件环境
重复问题
错误描述
稳定复现步骤 & 代码
from paddlenlp import Taskflow
from pprint import pprint
schema = ['情感倾向[正向,负向]']
senta = Taskflow("sentiment_analysis", model="uie-senta-base", schema=schema)
pprint(senta('蛋糕味道不错,店家服务也很好'))
The text was updated successfully, but these errors were encountered: