-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
对于NLPCC-DBQA预测的predict.py文件配置 #66
Comments
@TianZhenGG ,用ernie做问答系统的话,预测时同时输入问题和答案,根据预测结果的接近程度来选择问题的答案。 |
大概是懂了,可以有参考的文件吗
…---原始邮件---
发件人: "wuzewu"<notifications@github.com>
发送时间: 2019年6月28日(星期五) 晚上7:47
收件人: "PaddlePaddle/PaddleHub"<PaddleHub@noreply.github.com>;
抄送: "Mention"<mention@noreply.github.com>;"TianZhenGG"<410771376@qq.com>;
主题: Re: [PaddlePaddle/PaddleHub] 对于NLPCC-DBQA预测的predict.py文件配置 (#66)
@TianZhenGG ,用ernie做问答系统的话,预测时同时输入问题和答案,根据预测结果的接近程度来选择问题的答案。
例如有问题a和候选答案[a1, a2, a3],预测时依次预测[a, a1]、[a, a2]、[a, a3]的结果,选择预测结果最接近1的作为答案
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
可以参考release/v1.0.0分支下demo/qa_classification。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
范例中predict采用的是chnsentcorp,如果想预测dbqa问答系统,具体该如何设置,能不能在text_b输出预测文本呢。
The text was updated successfully, but these errors were encountered: