If I’m trying to do sentence translation with Pytorch, what do I pass to nn.TransformerDecoder after I pass the sentence as src in nn.TransformerEncoder? Do I have to forward the output of the decoder into the input one word at a time until I get an end token?
Thanks