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

BERT怎么做QA 类型那种任务的 #9

Open
kedimomo opened this issue Dec 19, 2018 · 1 comment
Open

BERT怎么做QA 类型那种任务的 #9

kedimomo opened this issue Dec 19, 2018 · 1 comment

Comments

@kedimomo
Copy link

查了很久都没有发现怎么做QA的例子呢 谢谢

@NLPScott
Copy link
Owner

建议用lstm的encoder-decoder就可以实现,加上attention,如果对生成的句子要求质量高的话,外加self-attention,self-attention可以参考tranformer架构里面的相应代码,效果基本达到预期,最重要的是训练语料的清洗,以上为个人实践经验,希望对你有用

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