logoalt Hacker News

PenGPT: A Generative Transformer for Handwriting and Sketches

201 points • by smusamashah • today at 12:54 AM • 34 comments • view on HN

Comments

keyle • today at 2:21 AM

The most interesting part to me is this mention of the Bitter Lesson [1]

"The results are interesting and the project was a pleasure to work on. And yet there was no clever architectural idea behind it. About 80% of my effort went into building the biggest, cleanest datasets possible and doing lots of quality control on them."

I spend way too much time on trying to out-clever existing solutions, when a clean application of known approaches would serve best.

[1] http://www.incompleteideas.net/IncIdeas/BitterLesson.html

➕ show 2 replies
samgreydanus • today at 4:49 AM

Author here! Given that I only trained these on an 8xH100 it's not exactly the most spectacular illustration of the Bitter Lesson. All I can say is that historically I always wanted to impress people with better model architectures or training techniques.

This time I just put all my energy into data. Agentic workflows + good open weight vision models + cheap multimodal AI APIs make data quality filtering / caption generation really smooth

yasindce1998 • today at 7:10 AM

When I first heard the name. I thought it's for penteration testing.

SebastianSosa • today at 5:11 AM

This is amazing. I've been building a presentation model and will definitely be digging deep into this. I feel like graphical real-time presentation is an essential part of learning and transferring knowledge and it's completely missed by existing models.

gouterz • today at 6:33 AM

i really love this. i think there's something fun and refreshing in seeing human writing and drawing for some reason

Tadpole9181 • today at 3:10 AM

The project is impressive, but I've really wondered why so many of these types of blogs are Claudish. Just running it through another SOTA model or two, then reading yourself can clean things up. Compared to the work of the project itself, this seems comparatively painless, but is so often neglected.

➕ show 4 replies
Aeroi • today at 5:48 AM

this is so cool! the drawing feature is so fun for some reason, although I wish it was just ever so marginally better or smarter. its right there.

alanwreath • today at 2:26 AM

Interesting, it doesn’t handle Spanish well at all (try Spanish “teach me”: enséñame), that said would be interesting to contribute to other languages.

seantang001 • today at 2:53 AM

Seems like for some input it stops prematurely.

For example, `!2/23\4/5.4;3;5l=3asfa913k391aslkf9a'a;s.":>"}+-=;.a`

jimbobbam • today at 2:31 AM

Oh this is great! I’ve been working an app to teach handwriting with Rokid glasses. I’ll give it a shot

fraywing • today at 4:10 AM

"Stroke tokens" stood out to me

charcircuit • today at 2:21 AM

It bothers me how it doesn't know the proper strokes for cursive characters.

➕ show 1 reply
ex1fm3ta • today at 4:53 AM

Very nice congratulations. Long road since the first MNIST dataset. This project is useful for me since I am building an OCR model to properly parse hand written posologies. I already have all the data I needed, I could use this to generate synthetic data to strenghten my model.

k2xl • today at 1:50 AM

Amazing this fits in 50MB.

➕ show 1 reply
wat555 • today at 2:29 AM

Very cool! Not so good at drawing a pelican riding a bicycle

asa123 • today at 2:15 AM

Neat!

mindmaster098 • today at 2:55 AM

very impressive

Alex5758 • today at 3:58 AM

[flagged]

Xinti • today at 1:44 AM

[flagged]

cush • today at 2:58 AM

I wonder if this model would have performed better if it wasn’t trained on awful 2000’s handwriting.