With the latest version of ONMT, it seems that all features are shifted by one token to the left.
Do you have local modifications?
No. To properly get your latest update (fixed embeddings off) working properly, I was obliged to get a new full clean new download of the whole code.
BUT ! I’m running a model retrained with the new code, built with the previous one, where I did your mod to get the features not shifted ! This is certainly the reason ! Right ?
Yes, you should just re-apply the mod from: