软件导刊2024,Vol.23Issue(1):75-80,6.DOI:10.11907/rjdk.222383
基于预训练语义编码的判断句答案推理
Judgment Answer Inference Bsaed on Pre-trained Semantic Encoding
李飞 1王颜颜 2王超 2黄友志2
作者信息
- 1. 中国科学技术大学 计算机科学与技术学院,安徽 合肥 230026
- 2. 科大国创云网科技有限公司,安徽 合肥 230088
- 折叠
摘要
Abstract
Currently,large-scale text question answering relies on sentence representation to retrieve answers from candidate texts,but it ig-nores that some answers require further reasoning and cannot be obtained directly from the text,such as judgment sentences.To solve such problems,a judgment sentence answer generation method for large-scale text is proposed.Firstly,in the semantic encoder,the semantic en-coder is obtained by continuing to pre-train large-scale texts,and the questions and cues are semantically encoded.Sceondly,in the answer generator module,positive and negative samples are constructed based on contrastive learning for data enhancement.Then fast characteriza-tion and matching of questions and large-scale text is achieved by using Faiss in the answer basis obtainer.The accuracy of the final judgment sentence question and answer is as high as 96.58%,which verifies the effectiveness of this method.关键词
智能问答/开放域问答/问答分类器/语义编码Key words
intelligent question answering/open domain Q&A/Q&A classifier/semantic coding分类
信息技术与安全科学引用本文复制引用
李飞,王颜颜,王超,黄友志..基于预训练语义编码的判断句答案推理[J].软件导刊,2024,23(1):75-80,6.