首页> 外国专利> QUESTION-ANSWER METHOD AND QUESTION-ANSWER APPARATUS BASED ON TRANSFORMER MODEL, AND STORAGE APPARATUS

QUESTION-ANSWER METHOD AND QUESTION-ANSWER APPARATUS BASED ON TRANSFORMER MODEL, AND STORAGE APPARATUS

机译:基于变压器模型和存储装置的问答方法和问答装置

摘要

The present application relates to the technical field of natural language processing. Particularly disclosed are a question-answer method and question-answer apparatus based on a Transformer model, and a storage apparatus. The question-answer method comprises: acquiring question text input by a user, and processing the question text to obtain a question sequence; decoding the question sequence to obtain a plurality of candidate answers related to the question sequence; splicing the question sequence with each candidate answer; and scoring each splicing result, and selecting the candidate answer corresponding to the highest score to be the optimal answer for the question sequence. By means of the above method, the present application can solve the problems of question answering intention recognition not being sufficiently accurate, answers not being sufficiently humanized, and a context connection during a dialogue process not being sufficiently close.
机译:本申请涉及自然语言处理技术领域。特别公开的是基于变压器模型和存储装置的问题答案方法和质疑答案装置。问题答案方法包括:获取用户输入的问题文本,并处理问题文本以获取问题序列;解码问题序列以获得与问题序列相关的多个候选答案;用每个候选答案拼接问题序列;并评分每个拼接结果,并选择对应于最高分数的候选答案是问题序列的最佳答案。通过上述方法,本申请可以解决问题的问题应答的意图识别不是充分准确的,答案没有充分人性化,以及在对话过程中的上下文连接不充分关闭。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号