DIALOGUE GENERATION METHOD AND APPARATUS, AND ELECTRONIC DEVICE
摘要:
A dialog generation method, apparatus, and electronic device are disclosed in this application. The method includes training a sequence to sequence (seq2seq)-based dialog model using a loss function including topic range constraint information; and generating a dialog using the trained dialog model. With embodiments of this application, topic range constraint information is introduced in the process of dialog model training using a loss function including the topic range constraint information, thus helping to prevent the trained model from producing low-quality meaningless replies.
信息查询
0/0