Attention mechanism in detail
A step-by-step account of queries, keys, values, masking, scaling, softmax, and the final weighted sum.
3 min readTopic curriculum
A structured path through attention, multi-head composition, positional information, and encoder-decoder architecture.
No prior topic is required.
Curated sequence
How tokens select and combine information from a sequence.
This section is mapped; its first Note is still being reviewed.
Queries, keys, values, masks, scaling, and weighted sums.
A step-by-step account of queries, keys, values, masking, scaling, softmax, and the final weighted sum.
3 min readParallel learned projections and their combined representation.
How parallel attention projections create complementary views and recombine them into one representation.
3 min readHow positional information and encoder-decoder blocks form a complete Transformer.
Where position, masks, residual paths, encoder blocks, and decoder blocks fit in a complete Transformer.
3 min read