Attention and the context window
easy 7 minSelf-attention lets a position mix information from other eligible positions.
Remember it
The few things worth knowing cold, and how to make them stick.
Memory hook
Pack the rules, pack the evidence, leave room for the reply.
A travel case has three compartments. Instructions go in first, source cards go in next, and an empty compartment is reserved for the answer.
Cheat sheet
- Travel case
- Total context window
- Rules and cards
- Fixed input and evidence
- Empty space
- Reserved output tokens