Choose the pieces a model predicts
See how splitting text into different pieces changes what a model can read and predict.
- Starting information
A word broken into smaller text pieces
- Relationship or operation
Map each piece to an identifier
- Consequence
A sequence the model can process
A token is a unit chosen by a tokenizer, not necessarily a whole word. Different vocabularies change sequence length and which pieces can be represented.
Your learning goal
Compare tokenization tradeoffs, distinguish fitting from encoding, and calculate a smoothed next-token probability without confusing tokens with meanings.