ZeroDailyGet it on Google Play
Article illustration: PenGPT: A Generative Transformer for Handwriting and Sketches

This tiny AI learned to forge handwriting and doodle on command

Original headline: PenGPT: A Generative Transformer for Handwriting and Sketches — greydanus.github.io

More in AI and machine learning news

A solo developer has created PenGPT, a pair of small transformer models that generate both handwriting and sketches from text prompts. The smaller 6-million-parameter model can write in print or cursive and, after seeing just a few real words from a new person, convincingly imitate their handwriting style. The larger 54-million-parameter model can produce simple drawings based on typed descriptions.

The project innovates by representing pen strokes as a sequence of simple directional moves, which are then tokenized like text, allowing a standard transformer to handle them. The creator built custom datasets from hundreds of thousands of scanned handwritten words and public sketch collections to train the models. This demonstrates how focused data curation and a clever, minimal representation can enable surprisingly capable creative AI in a compact package, proving that small models can still learn complex, multimodal tasks.

Read the original at greydanus.github.io

Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works

Open in the appGet it on Google Play

More stories

Add ZeroDaily on Google