An unofficial, read-only Hacker News reader.

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

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

View full thread · View on Hacker News

Comment thread (6)

  1. As the saying goes, “more data beats clever algorithms, but better data beats more data”.
    Replies (2)
    1. Garbage in garbage out !
    2. I think it's maybe more accurate to say more data beats clever heuristics. Because if you have a well-defined problem and an algorithm that just solves it, well, you don't need training data anymore.

      A whole lot of old ML algorithms (e.g. line detection algorithms in OCR) were really just clever heuristics.

      Replies (1)
      1. Except here we went from a pile of hacks (er, "clever heuristics") to... no algorithms at all? The transformer models really "just solve it", and the problem itself isn't even all that well-defined, at least not in a formal way.
        Replies (1)
        1. It's true. I think the big, big problem with OCR, and HTR in particular, is that people don't agree what a good solution is, and most of the answers have obvious "featherless biped" issues. There is for instance a relatively common opinion in HTR circles, which I can't for the life of me understand, that if the writer forgot to dot his i's and cross his t's, then that should be transcribed as (Turkish dotless i) and l. This is so ingrained that even the large general purpose multimodal LLM which are best at HTR (Gemini), a lot of the time ignore explicit instructions to not do that.
          Replies (1)
          1. I once wanted an image of a person up on people's shoulders with a large crowd around them and a cityscape in the background. Think: political gathering w/ people holding up the "winner." Well, yes this is what I wanted but I did not want any flags or signs. Despite many repeated attempts telling the model "no flags, no signs, of any kind", every image had an American flag in it.

            Maybe they're better now... lol