Learning Transformer
Sungjun Kim
FreeEducationReference4+
ReleasedAug 21, 2026
Last updateAug 21, 2026
Version1.0
Ratings0
Ratings, 7 dayscollecting
Size1 MB
Languages1
Ratings over time
Tracking started recently; the line appears after a few days of data.
Description
A Transformer, built by hand and shown one step at a time.
Twenty-three screens follow "Attention Is All You Need" (Vaswani et al., 2017) in the paper's own order: a word becoming numbers, the three vectors, the scores, the softmax, four heads merged into one, the mask, the second attention, and the loop that writes one word at a time.
What this is not: a trained model. Every weight here was set by hand, so that each one can be read in a single line. Nine numbers stand for a word instead of 51
More from Sungjun Kim

Lambda calculus
Sungjun Kim
★ 3.3
3 ratingsFreeEducation
Released Nov 4, 2024

relativistic space travel
Sungjun Kim
FreeEducation
Released Oct 25, 2022
FreeEducation
Released Jun 12, 2023

Grover's algorithm
Sungjun Kim
FreeEducation
Released Jun 30, 2023

neural networks for xy
Sungjun Kim
FreeEducation
Released Jul 25, 2023

neural networks for XOR
Sungjun Kim
FreeEducation
Released Jul 31, 2023

Bernstein-Vazirani algorithm
Sungjun Kim
FreeEducation
Released Aug 3, 2023

neural networks for prime
Sungjun Kim
FreeEducation
Released Aug 9, 2023
FreeEducation
Released Sep 11, 2023
FreeEducation
Released Oct 5, 2023

phase estimation algorithm
Sungjun Kim
FreeEducation
Released Oct 22, 2023

Shor's algorithm
Sungjun Kim
FreeEducation
Released Nov 14, 2023