Yes for the training.
But for the testing it just feeds the decoder’s predictions back to itself in the evaluation function and it doesn’t calculate the test loss.
So I am assuming that the target for the test set is the “decoded_words” which is the translation of the sentence. Am I right?