> Perplexity is the degree of surprise the model has in predicting the next token
I think "predicting" is a really bad term. It's not predicting anything. You don't get any lottery numbers out, it doesn't predict your future, and it's not predicting what word you were going to type.
It's "choosing" the best token to produce intelligible output. "Choosing" or "selecting" would be much better terms and wouldn't confuse people about what is actually happening.
It's probably too late though as it's become part of the jargon.
No it's prediction and prediction is the appropriate term here. I don't know what lottery numbers has to do with anything. It's trained to predict future text y given previous state x.
You’re too focused on looking at it as a chatbot. Models produce probability distributions of what they believe the next token is going to be.