Which TWO statements about tokens in large language models are correct?
Trap 1: All tokens have the same embedding size.
While all tokens in a given large language model are mapped to embeddings of the same fixed dimension (e.g., 768 or 1024), the phrasing 'same embedding size' could be misinterpreted. The two correct statements are A and E.
Trap 2: Tokens are only used during training.
Incorrect. Tokens are used during both training and inference. During inference, input text is tokenized and processed by the model.
Trap 3: Tokens are always whole words.
Incorrect. Tokens are not always whole words; subword tokenization splits words into smaller units (e.g., 'un' + 'believe' + 'able') to handle rare words and morphology.
- A
Common tokenization methods include word-based and subword-based.
Correct. Common tokenization methods include word-based (splitting into whole words) and subword-based (e.g., Byte-Pair Encoding, WordPiece). Subword tokenization is widely used in modern LLMs.
- B
All tokens have the same embedding size.
Why wrong: While all tokens in a given large language model are mapped to embeddings of the same fixed dimension (e.g., 768 or 1024), the phrasing 'same embedding size' could be misinterpreted. The two correct statements are A and E.
- C
Tokens are only used during training.
Why wrong: Incorrect. Tokens are used during both training and inference. During inference, input text is tokenized and processed by the model.
- D
Tokens are always whole words.
Why wrong: Incorrect. Tokens are not always whole words; subword tokenization splits words into smaller units (e.g., 'un' + 'believe' + 'able') to handle rare words and morphology.
- E
The maximum number of tokens a model can process is called the context window.
Correct. The context window is the maximum number of tokens the model can process at once, limiting the length of input text.