Generation Probabilities: How to compute probabilities of output scores for GPT2

I asked a question regarding the shape of scores returned from the generate() function. Why is the length of the output_scores always +1 longer than the max_length in the output of generate()?

1 Like