Hi, I do not understand why both src
and tgt
are required for nn.Transformer.
Let’s say for machine translation use case, I understand that during training, src
and tgt
are 2 different languages. But during testing, given an input, predict an output, we do not have tgt
. If so, what should the tgt
input? The start of sentence token (e.g. <sos>
)?