Hacker News·First covered 25 Nov 2026HN front page
PenGPT: A Generative Transformer for Handwriting and Sketches
Sam Greydanus describes PenGPT, two small transformers that write in many people's handwriting and draw sketches from text, and argues the gains came almost entirely from data work.
Stats
(As of 25 Nov 2026)- Points
- 372
- Comments
- 72
- Submitted by
- smusamashah
- Posted
- 17h
- A 6M-parameter model writes print and cursive and imitates a new writer from a few sample words; a 54M-parameter model draws from a text prompt.
- Handwriting data came from scans: about 496,000 words by 1,255 writers, traced back into strokes with InkSight and filtered.
- Ablations show data and augmentation dominate; BPE merges, pen-position hints, a bigger vocabulary and a doubled model barely moved scores.
- Style transfer needs no encoder: training sequences hold up to four words by one writer, so the model continues whatever hand it is shown.
- The drawing model blends concepts but cannot bind attributes, and the author says Claude wrote most of the post's text.
The discussion
- AgreedCommenters latched onto the Bitter Lesson framing, with several admitting they over-invest in clever methods when cleaner data would do more. comment
- ThemeA recurring critique is a visible tell: straight strokes wobble unnaturally, which one reply puts down to quantizing points to a grid. comment
- ThemeMany tried odd prompts and got hybrid creatures, such as a lion fused with a mushroom, and enjoyed the throwback to early-model weirdness. comment
- CounterpointOne commenter objected to the AI-written write-up, pointing to a figure that refers to colours with no key. comment