You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# [invalid] Shift so that tokens < n predict n # Do not need to shift here shift_logits = logits[..., :-1, :].contiguous() shift_labels = labels[..., :-1].contiguous()
其中还有必要把最后一位给抹掉吗?是不是直接可以取整个序列呢?
The text was updated successfully, but these errors were encountered:
# [invalid] Shift so that tokens < n predict n
# Do not need to shift here
shift_logits = logits[..., :-1, :].contiguous()
shift_labels = labels[..., :-1].contiguous()
其中还有必要把最后一位给抹掉吗?是不是直接可以取整个序列呢?
The text was updated successfully, but these errors were encountered: