Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Question-answer pair generation method and device

A question-and-answer and model-generating technology, applied in the field of information retrieval, can solve problems that are difficult to solve, data authority is not good, colloquialism, etc., and achieve the effect of reducing reading costs

Active Publication Date: 2021-02-26
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The limitation of this method is that the data of the question-and-answer station has serious problems such as poor authority and colloquialism.
[0005] Moreover, when the question is generated, the question is generated by transforming rules or templates. These artificially summarized rules or templates often have a low recall rate and are difficult to solve the problem.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Question-answer pair generation method and device
  • Question-answer pair generation method and device
  • Question-answer pair generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In the following, only certain exemplary embodiments are briefly described. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature and not restrictive.

[0070] figure 1 A flowchart showing a method for generating question-answer pairs according to an embodiment of the present invention. like figure 1 As shown, the question-answer pair generation method may include the following steps:

[0071] Step 101, input the query text into the question generation model to obtain a question list, the question list includes a plurality of questions related to the query text;

[0072] Step 102, determine the corresponding answer segment according to each question in the question list;

[0073] Step 103, inputting each question and its corresponding answer fragment ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide a method and device for generating question-answer pairs. The method includes: inputting query text into a question generation model to obtain a question list, the question list including a plurality of questions related to the query text; determining corresponding answer fragments according to each question in the question list; and their corresponding answer fragments are input to the matching model for correlation judgment; each question-answer pair is generated according to the correlation judgment results. The question-and-answer pair mining process in the embodiment of the present invention does not depend on the question-and-answer website, but is directly obtained from various query texts. Therefore, the mining process can be offline, and the online search engine can be supported in an offline manner, without giving online The system is under pressure.

Description

technical field [0001] The invention relates to the technical field of information retrieval, in particular to a method and device for generating question-answer pairs. Background technique [0002] Traditional search engines obtain relevant text or fragments through keyword retrieval, and users need to click on the search link to find the correct answer fragment. In order to find what the user wants more intuitively, there are two common methods. [0003] An online way: segment and sort the retrieved text, find and return the most relevant answer segment to the question. The limitation of this method is that if the current search results are not good, it is impossible to find the required answer or it is difficult to find an authoritative answer, and the online feature extraction and sorting put pressure on online performance, and a large amount of manually labeled data training is required. Model. [0004] Another offline method is to obtain question-answer pair resourc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/332G06F16/35
Inventor 孙兴武
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products