In nanoGPT, in the forward function of the GPT class, when you generate tokens, you…
- User
In nanoGPT, in the forward function of the GPT class, when you generate tokens, you apply the attention (communication and calculation) to the idx input tokens.
Can we say that the last generated token is a direct result of applying the GPT model on the input idx tokens, and that it is not generated from any other intermediate generated sequence?
Is the last token the output of the idx input tokens, or is it the output of the tranformation of the input idx tokens into something else that is itself generated?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.