Patent · US Active

Method, apparatus, device, and storage medium for training model and generating dialog

US11875126B2 · kind B2 · utility

0Cited by
0References
20Claims
0Family size

Assignees

Inventors

Key dates

Filing dateJul 6, 2021
Grant dateJan 16, 2024
Priority date
Expiry dateSep 14, 2042

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06N5/041
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method for training a dialog generation model includes: acquiring a dialog data set, and encoding a post in the dialog data set by using an encoder in the dialog generation model to obtain an encoded representation of the post; fusing, by using a decoder in the dialog generation model, the encoded representation of the post and knowledge information corresponding to the post that is obtained from a knowledge base question answering model through transfer learning to obtain a predicted response corresponding to the post; determining a value of a loss function of the dialog generation model based on the predicted response and the annotated response that correspond to the post; and updating a model parameter of the dialog generation model based on the value of the loss function. A method, an apparatus, a device, and a computer storage medium for generating a dialog are also provided.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.