Chinese dialogue knowledge retrieval method based on knowledge retrieval graph and pre-training model
A knowledge retrieval and pre-training technology, applied in neural learning methods, digital data information retrieval, biological neural network models, etc., can solve the problems of complex semantic information and poor dialogue effect, and achieve the effect of good dialogue effect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] Please refer to figure 1 , a Chinese dialogue knowledge retrieval method based on a knowledge retrieval graph and a pre-trained model, comprising the following steps:
[0054] S01, create a knowledge retrieval data set; the knowledge retrieval data set includes a sample pair data set and a knowledge retrieval graph; the sample pair data set includes a positive sample pair, and the positive sample pair consists of the sample dialogue content and the dialogue with the sample The knowledge triplet corresponding to the content is formed; the knowledge retrieval graph is constructed according to the knowledge triplet of the sample pair data set;
[0055] S02, constructing a pre-training model for obtaining feature representation by using the knowledge-enhanced semantic understanding model;
[0056] S03, by extracting positive sample pairs and randomly constructing negative sample pairs in the sample pair data set according to the preset batch size, constructing a training d...
Embodiment 2
[0095] A Chinese dialogue knowledge retrieval system based on knowledge retrieval graph and pre-trained model, see Figure 4 , including a knowledge retrieval data set creation module 1, a pre-training model construction module 2, a pre-training model training module 3, and a dialogue content acquisition retrieval module 4 to be processed; the pre-training model training module 3 is connected to the knowledge retrieval data set creation module 1 and a pre-training model building module 2, the dialogue content to be processed acquisition retrieval module 4 is connected to the retrieval library creation module 1 and the pre-training model training module 3, wherein:
[0096] The knowledge retrieval data set creation module 1 is used to create a knowledge retrieval data set; the knowledge retrieval data set includes a sample pair data set and a knowledge retrieval graph; the sample pair data set includes a positive sample pair, and the positive sample pair consists of The sample ...
Embodiment 3
[0101] A storage medium on which a computer program is stored, and when said computer program is executed by a processor, it realizes the steps of the Chinese dialogue knowledge retrieval method based on a knowledge retrieval graph and a pre-trained model in embodiment 1.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com