Skip to content
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

Open
s5248 opened this issue Mar 21, 2022 · 1 comment
Open

预测中文观点抽取任务demo中少个变量 #85

s5248 opened this issue Mar 21, 2022 · 1 comment

Comments

@s5248
Copy link

s5248 commented Mar 21, 2022

预测中文观点抽取任务

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 = ["张威"]

@handsomeallan
Copy link

你好啊,请问,你安装运行已经顺利了对吧。可以请教你吗,我的qq是327979084。谢谢啦。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants