Hi @pengbaolin, in paper it is mentioned that loss is computed only for the target text (x'). But in your code I can't understand why the inputs and labels are exactly same (Dialogue act + target text) for training? I guess the Dialogue act part should be removed or target text should be masked to create the labels.
Is there anything I am missing out in the code?
Please help me to understand this.
Thank you.
Hi @pengbaolin, in paper it is mentioned that loss is computed only for the target text (x'). But in your code I can't understand why the inputs and labels are exactly same (Dialogue act + target text) for training? I guess the Dialogue act part should be removed or target text should be masked to create the labels.
Is there anything I am missing out in the code?
Please help me to understand this.
Thank you.