This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
Ignore padding tokens when using Translation Task + padding='max_length'
#266
Labels
馃悰 Bug
When using the Translation Task, we need to ensure that we skip padding tokens within the loss calculation. Currently we do not replace the padding with -100, which could be deterimental.
The text was updated successfully, but these errors were encountered: