-
Notifications
You must be signed in to change notification settings - Fork 370
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
预测中文观点抽取任务demo中少个变量 #85
Comments
你好啊,请问,你安装运行已经顺利了对吧。可以请教你吗,我的qq是327979084。谢谢啦。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
预测中文观点抽取任务
my_senta.init_model(model_class="ernie_1.0_skep_large_ch", task="extraction", use_cuda=use_cuda)
texts = ["唐 家 三 少 , 本 名 张 威 。"]
result = my_senta.predict(texts, aspects)
print(result)
此处应该是少了个:
aspects = ["张威"]
The text was updated successfully, but these errors were encountered: