Transformer icon indicating copy to clipboard operation
Transformer copied to clipboard

ys = trg[:, 1:].contiguous().view(-1),why do we have to discard the first seq?

Open Darleen71 opened this issue 8 months ago • 0 comments

Hello~ may I ask a question? In this line of code -- ys = trg[:, 1:].contiguous().view(-1),why do we have to discard the first seq?

Darleen71 avatar Jun 03 '24 01:06 Darleen71