You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the NLL loss computation doesn't take into account loss calculated as part of the padding index. These indices need to be ignored to more accurately measure the loss, so that the function optimizes properly.
For now, this doesn't matter since all the sequences are of the same length, meaning no padding is currently being used.
The text was updated successfully, but these errors were encountered:
ayushkarnawat
changed the title
Ignore index in negative log likelihood (NLL) loss
Ignore padding index in negative log likelihood (NLL) loss
Mar 28, 2020
Currently, the NLL loss computation doesn't take into account loss calculated as part of the padding index. These indices need to be ignored to more accurately measure the loss, so that the function optimizes properly.
For now, this doesn't matter since all the sequences are of the same length, meaning no padding is currently being used.
The text was updated successfully, but these errors were encountered: