Everything About Transformers
krupadave.com · 4,204 words · saved by 2 readers
A visual, intuitive deep dive into transformer architecture: history, design choices, and the why behind attention, masking, and positional encoding.
The research paper "Attention is All You Need" is regarded as one of the most important & groundbreaking publications in the realm of ML. The paper introduces the transformer architecture and the attention mechanism, yet many still struggle to wrap their head around it. When I posted my progress update on my encoder block written in CUDA (Python + Numba), a lot of responses echoed a similar theme: "I want to understand how transformers work from the ground up." This got me thinking. What really helped ME understand the transformer? It was story-telling & illustrations. Every model in the histo
saved by
related reading
- The Illustrated Transformer – Jay Alammar – Visualizing machine learning one concept at a time.jalammar.github.io
- Transformers Laid Outgoyalpramod.github.io
- Transformers Explained Visually (Part 3): Multi-head Attention, deep dive | Towards Data Sciencetowardsdatascience.com
- How LLMs Actually Work | 0xkato0xkato.xyz
- Transformer Explainer: LLM Transformer Model Visually Explainedpoloclub.github.io
- The Illustrated Transformer – Jay Alammar – Visualizing machine learning one concept at a time.jalammar.github.io
- Transformers from Scratche2eml.school
- Transformers Explained Visually (Part 1): Overview of Functionality | Towards Data Sciencetowardsdatascience.com
- transformer_attention.pdfarxiv.org
- Attention Is All You Need: In-Depth Walkthroughbtcompneuro.substack.com
- A Mathematical Framework for Transformer Circuitstransformer-circuits.pub
- Attention is all you need: Discovering the Transformer paper | Towards Data Sciencetowardsdatascience.com