Definition
Plain language
The basic unit of text a language model reads or writes — roughly a word or part of a word.
As stated in the literature
A discrete unit from a tokenizer's vocabulary, often a subword piece, that language models consume and produce one at a time.
Also called: tokens
Why it matters: Tokenization shapes context length limits, billing, and even how well models handle numbers, code, and non-English languages.
For example, the word 'unbelievable' might be split into the tokens 'un', 'believ', and 'able' before the model sees it.
Heard on the show
“At every step it produces a probability over every possible next token and the system samples from it.”Episode 246 — 160 Perfect Refusals, And The Refusals Were The Leak
Mentioned in 144 episodes
- 246
- 245
- 244
- 243
- 242
- 241
- 240
- 238
- 237
- 234
- 233
- 232
- 229
- 226
- 213
- 212
- 209
- 208
- 207
- 204
- 203
- 200
- 199
- 198
- 197
- 194
- 192
- 191
- 190
- 189
- 188
- 185
- 184
- 183
- 182
- 181
- 180
- 179
- 178
- 177
- 173
- 172
- 171
- 169
- 168
- 167
- 164
- 161
- 160
- 159
- 158
- 154
- 153
- 150
- 147
- 146
- 142
- 141
- 140
- 139
- 133
- 132
- 131
- 130
- 128
- 127
- 125
- 121
- 119
- 118
- 116
- 115
- 114
- 112
- 111
- 110
- 109
- 108
- 107
- 105
- 103
- 101
- 098
- 097
- 096
- 095
- 094
- 091
- 090
- 089
- 085
- 084
- 083
- 082
- 081
- 079
- 078
- 077
- 076
- 074
- 073
- 072
- 070
- 064
- 060
- 059
- 058
- 057
- 055
- 053
- 051
- 049
- 048
- 047
- 045
- 043
- 041
- 040
- 038
- 037
- 036
- 034
- 033
- 032
- 029
- 028
- 027
- 026
- 024
- 023
- 022
- 018
- 017
- 016
- 014
- 012
- 011
- 010
- 009
- 008
- 007
- 006
- 003
- 002
Related concepts
AI Text Detection
Attention Analysis
Capability vs. Efficiency
Chain of Thought
Denial-of-Wallet
Entropy Gating
Greedy Coordinate Gradient
KV Cache
Latent Diffusion
Logit Lens
Long Context
Loss Aggregation
Residual Stream
Speculative Decoding
Token-Level Analysis
Transformer Attention
Variational Autoencoder
Watermarking