
PenGPT: A Tiny Transformer That Learns to Hold a Pen
PenGPT, a small transformer by Sam Greydanus, writes handwriting and sketches one pen move at a time, in models of 6 MB and 50 MB. Its ablat...

PenGPT, a small transformer by Sam Greydanus, writes handwriting and sketches one pen move at a time, in models of 6 MB and 50 MB. Its ablat...

I use LLMs every day without knowing how they work, so I built the smallest one I could: a tiny transformer that writes Shakespeare one char...

A practical, fully tested GPT implementation in PyTorch with causal attention, training, sampling, baselines, checkpoints, and 25 tests. Tra...