25launches

PenGPT

A tiny transformer that writes by hand and draws from text

0 followers

Visit greydanus.github.io (opens in a new tab)

Artificial IntelligenceOpen Source

PenGPT is a small transformer that holds a pen: it outputs pen strokes one token at a time. The 6M-parameter handwriting model writes any text in print or cursive in 1,192 learned hands, and picks up a hand it has never seen from one to three words, or from a photo. A 54M-parameter model draws sketches from a typed phrase. Both run from one numpy file on a laptop. Code and weights are open (Apache-2.0); the training data is not released. By Sam Greydanus.