聊天机器人将根据给定的信息/文档进行回答 [英] Chatbot that will answer from the given Information/Documents

查看:72
本文介绍了聊天机器人将根据给定的信息/文档进行回答的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个聊天机器人,该机器人将根据给定的文档回答问题. 例如,如果我有数百个文档,但我想从中获取一些信息,但是不知道页面的哪一行包含哪些信息,那么我就不得不花费一些时间和精力进行搜索.我想要一个聊天机器人,该机器人将从这些文档中学习并从这些文档中给出答案.

I want to make a chatbot that will answer the questions based on the given document. E.g, if I have hundreds of documents and I want to get some information from it but don't know which information is on which line of the page so I have to spend some time and effort to search. I want a chatbot that will learn from those documents and give answers form that documents.

有没有可以满足我需求的可用服务?

Is there any available service that can full fill my needs?

如果我想自己建立一个模型,我需要什么工具/库才能实现?

What if I want to make a model by myself what tools/libraries do I need to make it possible?

任何帮助将不胜感激.

推荐答案

您要搜索的任务称为问题解答.在这种情况下,您有时会称为答案跨度选择阅读理解.

The task you are searching for is called Question Answering. In this particular case, you something that is sometimes called Answer Span Selection or Reading Comprehension.

通常通过深度学习来解决该问题.在斯坦福大学有一个名为 SQuAD 的数据集,其中包含10万个问题,并在其中突出显示了答案维基百科文章.这就是通常对模型进行训练的方式.

The problem is typically approached with deep learning. There is dataset called SQuAD created at Stanford University consisting of 100k questions paired with their answers highlighted in Wikipedia articles. This is what the models are typically trained on.

您可以尝试试一下Allen AI AI学院的在线演示最先进的样子.我相信,它也应该能够使用 AllenNLP工具包在本地运行.

You can try an online demo by Allen Institute for AI to get an idea of how the state-of-the-art looks like. I believe, it should be also able to run it locally with the AllenNLP toolkit.

这篇关于聊天机器人将根据给定的信息/文档进行回答的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆