WhoBuilt

self-attention

A transformer mechanism that lets each token relate to other tokens in its context.

Also known as attention, attention mechanism, multi-head self-attention

Timeline 0

Dated events, newest first. Open the sources under any item.

How we verify
No sourced facts yet
Facts appear here as talks mentioning self-attention are processed.

Talks 4

1:21:26
Training an LLM from Scratch, Locally

Angelos Perivolaropoulos walks through training a small GPT-2-style language model from scratch using PyTorch and a Shakespeare dataset. He explains character-level tokenization, transformer components, next-token prediction, the training loop, validation, and text generation, highlighting the trade-offs involved in training locally. He also discusses how post-training and high-quality data shape larger reasoning models, and compares text modeling with audio and multimodal systems. The workshop ends with suggestions for experiments and a reproducible model-generation challenge.

May 4, 2026· 1 h 21 minDiscussed 16:18
9:19
Transformers Explained: The Discovery That Changed AI Forever

The talk traces the development of Transformer models through three key steps: LSTMs, seq2seq models with attention, and the Transformer architecture. It explains how LSTMs helped neural networks retain information across long sequences, while attention let decoders access encoder states directly. Transformers removed recurrence, allowing parallel processing and better performance on translation benchmarks. The talk also connects Transformer variants such as BERT and GPT to the large language models used in products like ChatGPT and Claude.

Oct 23, 2025· 9 minDiscussed 0:23
33:39
Mastering LLM Inference Optimization From Theory to Cost Effective Deployment

Mark Moyou explains how LLM inference processes prompts through tokenization, prefill, and one-token-at-a-time generation, with the KV cache storing attention keys and values to avoid recomputing prior work. He shows how prompt and output lengths affect GPU memory, latency, throughput, and deployment cost, and recommends measuring time to first token, inter-token latency, and completion time across real query patterns. The talk covers ways to improve efficiency, including model quantization, KV-cache optimization, batching, and parallelism. It also introduces NVIDIA’s TensorRT-LLM and Triton software for compiling, serving, and deploying inference workloads.

Jan 1, 2025· 34 minDiscussed 4:45
2:52:26
Low Level Technicals of LLMs

Daniel Han explains how decoder-only Transformers predict the next token, covering tokenization, embeddings, attention, RoPE, layer normalization, MLPs, and training precision. He demonstrates how to inspect model source code and compare implementations to identify bugs, drawing on fixes his team made to Gemma and Phi-3. He also discusses Unsloth’s fine-tuning optimizations, including lower memory use, faster kernels, and tools for exporting models. Throughout, he highlights open questions in model design and cautions that implementation details and training data can substantially affect results.

Jul 31, 2024· 2 h 52 minDiscussed 50:16