PenGPT: open-weights tiny transformers that continue your handwriting and sketch from text

zzznah · x · 2026-11-23

Sam Greydanus released PenGPT, open weights and code: a 6M-parameter transformer that writes print/cursive and mimics unseen writers' hands from a few real words (tested on 21 held-out writers), and a 54M one that sketches from text. Pen strokes snap to an 8-direction grid with pen-up/down; BPE merges move sequences into tokens; drawing is conditioned on SigLIP 2 vectors. Data was the real work — 495,590 words reconstructed from scans — 80% data, 15% speed, 5% architecture, in line with the Bitter Lesson.

Original post →

More from Multimodal

Multimodal channel →