Part 1: Tokens and the Embedding Space
Computers cannot read letters or words directly. Text is chopped into sub-word chunks called tokens, each assigned a numerical identifier and placed into a multi-thousand-dimensional semantic space where words with related meanings sit near each other.
- Tokenization (Byte-Pair Encoding)
- Vector Embeddings (words as geometric coordinates)
- Autoregressive Generation (generating one token at a time in an iterative loop)