Question and answer pair extraction method and system based on BiLSTM-CRF model and storage medium
A technology of question-answer pairs and models, which is applied to computer-readable storage media and the field of question-answer pair extraction, can solve problems such as time-consuming and labor-intensive, and difficult to achieve dialogue data diversity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] A question-answer pair extraction method based on the BiLSTM-CRF model, as shown in the attached figure 1 shown, including the following steps:
[0048] The dialogue data is labeled; the labeling process is to label a piece of dialogue data with a sentence as the smallest unit; that is, each sentence is a label for an element or each sentence is a label for an element;
[0049] Perform model training on the dialog data after labeling preprocessing, and the model training includes first model training and second model training:
[0050] The first model training is to adopt the sentence vector of the PV-DM model training dialog data; the second model training is to import the sentence vector into the BiLSTM-CRF model for training;
[0051] The BiLSTM-CRF model includes a BiLSTM layer and a CRF layer;
[0052]Each sentence of a piece of dialogue data is vectorized using a pre-trained sentence vector as the input of the BiLSTM layer; the BiLSTM layer is used to perform fe...
Embodiment 2
[0109] The embodiment of the present invention discloses a question-answer pair extraction system based on the BiLSTM-CRF model. The question-answer pair extraction system includes: a memory, a processor, and computer instructions stored on the memory and run on the processor. When the computer instructions are executed by the processor, the steps of the method for extracting question-answer pairs based on the BiLSTM-CRF model are completed. The specific implementation cases of the question-answer pair extraction method based on the BiLSTM-CRF model and the question-answer pair extraction method based on the BiLSTM-CRF model in Embodiment 1 will not be repeated here.
Embodiment 3
[0111] The embodiment of the present invention discloses a computer-readable storage medium. A computer program is run on the computer-readable storage medium. When the computer program is run by a processor, the steps of the question-answer pair extraction method based on the BiLSTM-CRF model are completed. . The method for extracting question-answer pairs based on the BiLSTM-CRF model is the method for extracting question-answer pairs based on the BiLSTM-CRF model described in Embodiment 1, which will not be repeated here.
[0112] Described computer-readable storage medium can be as flash memory, hard disk, multimedia card, card memory (for example, SD or DX memory etc.), random access memory (Random Access Memory, RAM), static random access memory (Static Random-Access Memory) , SRAM), read-only memory (Read-Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), programmable read-only memory (Pr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


