AI by Hand ✍️

AI by Hand ✍️

Attention (Jan 15, 2026)

AI by Hand ✍️ Seminars

Prof. Tom Yeh's avatar
Prof. Tom Yeh
Jan 15, 2026
∙ Paid

Library › Seminar Series 2026

  1. Manifold-Constrained Hyper Connections (mHC) from DeepSeek (Jan 9, 2026)

  2. How Small Models Learn Tool Use (Jan 11, 2026)

  3. Generative AI (Jan 11, 2026)

  4. Attention (Jan 15, 2026)

  5. Google Ironwood TPU: From Bits to HBM (Jan 19, 2026)

  6. 9 AI Eval Formulas You Must Know (Jan 24, 2026)

  7. Meta Superintelligence Labs vs Facebook AI Research (Jan 30, 2026)

  8. Transformer: Six Levels of Understanding (Feb 13, 2026)

  9. OpenClaw Seminar (Feb 23, 2026)

  10. PPO → DPO → GRPO → Rubrics (Mar 2, 2026)

  11. Gemma 4 (May 7, 2026)

  12. Qwen 3.6 (May 21, 2026)

This Foundation seminar focused on rebuilding intuition for attention, starting from the famous paper Attention Is All You Need, which introduced the Transformer and reshaped how modern language models are built.

I began by framing tokens as vectors, units of information, and explained attention as a way to produce new tokens by combining existing ones with different weights. Each output token is simply a weighted mixture of earlier tokens, not a mysterious operation.

We then walked through scaled dot-product attention step by step. Tokens are projected into queries, keys, and values; dot products compare what a token is looking for with what others can provide; scaling keeps the numbers stable; and softmax turns scores into probabilities. I emphasized that matrix multiplication is just many dot products happening in parallel.

From there, we extended the idea to multi-head attention. Instead of one comparison space, multiple heads run in parallel, each learning a different way to relate tokens. Their outputs are concatenated and projected back to the original dimension so the next layer can proceed cleanly.

The main takeaway was simple: attention looks intimidating on paper, but once you unpack it, it’s a clear and systematic way to mix information across tokens, the core idea that makes Transformers work.

Recording & Workbook

Become a paid subscriber to access the full recording and the associated Excel workbook.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Tom Yeh · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture