Open ranzhejiang opened 2 days ago
We must set its label to IGNORE_INDEX for padding token, otherwise the loss can't align with unpadded way
We must set its label to IGNORE_INDEX for padding token, otherwise the loss can't align with unpadded way