01 — Work / 07ML← All projects

Transformer from scratch

A transformer built from the ground up in PyTorch, from tokenisation through multi-head attention, to understand exactly how current LLMs work.

Type
Build
Tracks
ML
Context
PyTorch
Links
multi-head attention with eight heads and a causal maskFIG. 07