๐Ÿ‘ค

Tokens and logits relation in LLM

March 15, 2026 ยท Riya

A token is a piece of text the model understands. It may be:

Now each token will have a specific numerical value assigned.

TokenToken ID
I40
love3047
machine7342
learning7524

Above is take from gptforworks website.

Each LLM has its own tokenizer and token IDs.

Where Logits Come In,

Logits = raw scores for every possible next token.

Related post – How LLM is predicting the next token and what is softmax?