Thanks for your reply. I’ve done them before and looked at them a couple of time but can’t see what I’m doing wrong.
Maybe I’m missing something about the backpropagation as I loop through the sequence input and only do loss.backward() - the loss is computed with the target and the final output only.