DIALOGUE GENERATION METHOD AND APPARATUS, AND ELECTRONIC DEVICE

    公开(公告)号:EP3620940A1

    公开(公告)日:2020-03-11

    申请号:EP18814267.3

    申请日:2018-06-06

    IPC分类号: G06F17/30

    摘要: 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.