Skip to content
NewA calmer, faster ZeroHour

PenGPT generates handwriting and sketches from text with small transformers

Original title: PenGPT: A Generative Transformer for Handwriting and Sketches

Hacker News · AIby smusamashah ()8 min read2
AI summary · x-ai/grok-4.7Summaries by Vani AI

A 6M-parameter model copies unseen hands from a few words; a 54M model draws from SigLIP 2 embeddings.

Sam Greydanus describes PenGPT, two decoder transformers that emit pen strokes as short move tokens. Handwriting training used 495,590 words by 1,255 writers reconstructed from scans; drawings used 477,670 sketches from ten public datasets. Ablations found data volume and augmentation mattered more than BPE merges, pen position, or doubling parameters. The datasets are not released; an appendix explains how to rebuild them.

Key facts
  • Handwriting data came from research collections plus public letters and diaries.
  • Between a third and a half of traced words survived quality checks.
  • Quick, Draw! contributed the best 0.5% of its 50 million sketches.
  • Style rank fell from 1.9 to 6.0 when each sequence held one word.
  • Displayed drawings were picked by eye from the best third of samples.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

8 min read at greydanus.github.io

A small transformer that writes and sketches from text. The effort was 80% data, 15% speed and 5% architecture: my first project that follows the Bitter Lesson. Left.

Hacker News · AI

By smusamashah · greydanus.github.io

Read the full article at Hacker News · AI

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.