Self_Explaining_Structures_Improve_NLP_Models
Self_Explaining_Structures_Improve_NLP_Models copied to clipboard
Cross entropy loss - reg loss?
https://github.com/ShannonAI/Self_Explaining_Structures_Improve_NLP_Models/blob/d8b0511cd06964dbb23f1c4560f01996662b0b66/explain/trainer.py#L90
Hi, thanks for sharing your work. I am a little bit confused about how you calculate your final loss. In your paper, it says it should the sum but in the code it seems to be subtraction?