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

Model training method, dialogue generation method and device, equipment and medium

A training method and model technology, applied in the field of machine learning, can solve problems such as poor fusion effect, failure to consider the accuracy and rationality of external knowledge, and failure to consider more fine-grained fusion, so as to improve accuracy and training efficiency. Effect

Pending Publication Date: 2019-08-30
SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI +1
View PDF4 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the method of fusing the information of the external commonsense knowledge base proposed in the related art is a relatively coarse-grained fusion, which only considers the integration of the entity in the question sentence with the external knowledge into the reply generation, and does not consider the finer-grained The integration of external knowledge does not consider the accuracy and rationality of external knowledge. This fusion effect is not good and cannot meet the needs of practical applications.

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
  • Model training method, dialogue generation method and device, equipment and medium
  • Model training method, dialogue generation method and device, equipment and medium
  • Model training method, dialogue generation method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0077] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such th...

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

The invention discloses a dialogue generation model training method, which comprises the following steps: obtaining a dialogue data set, the dialogue data in the dialogue data set comprising questionsand annotation replies corresponding to the questions; based on the questions in the dialogue data set, obtaining the coded representation of the question through an encoder in a constructed dialoguegeneration model; fusing the coded representation of the question and knowledge information of transfer learning of the question from a knowledge base question and answer model through a decoder in the dialogue generation model to obtain a prediction reply corresponding to the question output by the dialogue generation model; and determining a loss function based on the prediction reply and the annotation reply corresponding to the question, and adjusting parameters of the dialogue generation model through the loss function until the loss function of the dialogue generation model is convergent. According to the method, the knowledge information can be better fused by the model, so that the dialogue generation accuracy and reasonability are improved. The invention further discloses a dialogue generation method and device, equipment and a medium.

Description

technical field [0001] The present application relates to the technical field of machine learning, and in particular to a dialog generation model training method, a dialog generation method, a device, a device, and a computer storage medium. Background technique [0002] The open-domain dialogue generation task refers to the generation of corresponding responses by machines based on dialogue questions in the open domain. Due to its powerful functions and wide application scenarios, it has recently received more and more attention and research. [0003] At present, the open-domain dialogue generation task usually relies on the dialogue generation model to achieve, and in order to enable the dialogue generation model to generate more informative and more reasonable replies, industry research proposes that the integration of external common sense knowledge base information in the open-domain dialogue generation task can This makes the generated reply more reasonable and informa...

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 Applications(China)
IPC IPC(8): G06F16/332G06F17/27G06N3/04G06N3/08
CPCG06F16/3329G06N3/08G06F40/211G06N3/045G06F40/35G06N5/041G06N3/044G06N5/04
Inventor 杨敏闭玮刘晓江陈磊黄婷婷
Owner SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
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