An unofficial, read-only Hacker News reader. Join the beta →

PenGPT: A Generative Transformer for Handwriting and Sketches (opens external site)

407 points by smusamashah 3 days ago | greydanus.github.io | 78 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. Author here.

    Using a less fine grid was huge for getting the compute time down (and thus the iteration / debugging time down - ultimately to about 5 minutes). This helped me try a lot of different things.

    Finer grid -> quite a lot more tokens per stroke -> more longer context -> more compute (increasing nonlinearly).

    So I pushed it to the coarsest grid I could get away with. Light post-processing can actually remove the grid artifacts pretty easily, so that can be added if needed. In the future I'll probably just train my FINAL model on a slightly finer grid.

    Thanks for the feedback

    Replies (1)
    1. Wobbliness mostly fixed now with a slight processing hack (https://github.com/greydanus/pengpt/pull/1)