28 comments

  • abbefaria273 minutes ago
    Looks very creative! It feels like there are lots of uses for transformers to be explored beyond text and images. Are we at the point yet where the average programmer Joe can play around with this stuff and make a small task-specific model with some python libraries? Or do you need to understand all the math? Still need to read the white paper so maybe it’s covered.
  • keyle11 hours ago
    The most interesting part to me is this mention of the Bitter Lesson [1]<p><i>&quot;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.&quot;</i><p>I spend way too much time on trying to out-clever existing solutions, when a clean application of known approaches would serve best.<p>[1] <a href="http:&#x2F;&#x2F;www.incompleteideas.net&#x2F;IncIdeas&#x2F;BitterLesson.html" rel="nofollow">http:&#x2F;&#x2F;www.incompleteideas.net&#x2F;IncIdeas&#x2F;BitterLesson.html</a>
    • stingraycharles10 hours ago
      As the saying goes, “more data beats clever algorithms, but better data beats more data”.
      • vintermann2 hours ago
        I think it&#x27;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&#x27;t need training data anymore.<p>A whole lot of old ML algorithms (e.g. line detection algorithms in OCR) were really just clever heuristics.
        • TeMPOraL2 hours ago
          Except here we went from a pile of hacks (er, &quot;clever heuristics&quot;) to... no algorithms at all? The transformer models really &quot;just solve it&quot;, and the problem itself isn&#x27;t even all that well-defined, at least not in a formal way.
          • vintermann1 hour ago
            It&#x27;s true. I think the big, big problem with OCR, and HTR in particular, is that people don&#x27;t agree what a good solution is, and most of the answers have obvious &quot;featherless biped&quot; issues. There is for instance a relatively common opinion in HTR circles, <i>which I can&#x27;t for the life of me understand</i>, that if the writer forgot to dot his i&#x27;s and cross his t&#x27;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 <i>not do that</i>.
      • Melatonic4 hours ago
        Garbage in garbage out !
    • eli_gottlieb9 hours ago
      So I&#x27;m guessing it&#x27;s gonna take another major stock-market crash before anyone gives half a damn about learning from small data again?
  • samgreydanus9 hours ago
    Author here! Given that I only trained these on an 8xH100 it&#x27;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.<p>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 &#x2F; caption generation really smooth
    • joefourier3 hours ago
      While I agree with you about the importance of data, ironically, it seems you forgot to apply the bitter lesson to where it was more critical. As others brought up (see the thread with @NitpickLawyer) there&#x27;s an obvious tell from the wobbliness of the slanted lines, most likely due to the grid quantisation (you can see it in the wobbly sketches too). This is in fact injected human knowledge, as opposed to working with raw pixels or raw vectors from hand strokes, and no amount of data could work around that bottleneck.<p>This is something that I&#x27;ve seen happen very often with machine learning practitioners. You cannot add more data to fix bad pre-processing. LLMs are limited by the BPE tokenisation (hence why early models couldn&#x27;t count r-s in strawberry), diffusion models will produce illegible small text if their VAE isn&#x27;t good enough, and audio classifiers will be bottlenecked no matter how much data you feed them if everything gets turned into a low resolution, single STFT window mel spectrogram.<p>Short of training a model on subatomic particles, you will <i>always</i> be injecting human knowledge into the model simply by choosing how you are preparing your data.
    • xlii2 hours ago
      Love it. Too bad it doesn&#x27;t handle non-Latin chars (tried the standard Polish &quot;Pchńąć w tę łódź jeża lub ośm skrzyń fig&quot; and it failed miserable).<p>I think it&#x27;d be neat to have personal GPT learned on own handwriting. How much effort&#x2F;training would be needed for that?
  • jlarks322 hours ago
    Sam is a ripper. Lovely blog post. Good to see his name float back up.<p>When I was a senior in college working on my eng thesis [1], some of his earlier posts (Scribe: Generating Realistic Handwriting with TensorFlow [2]) were helpful and inspiring to read.<p>[1]: <a href="https:&#x2F;&#x2F;johnlarkin1.github.io&#x2F;pdfs&#x2F;Handwriting-Synthesis-E90.pdf" rel="nofollow">https:&#x2F;&#x2F;johnlarkin1.github.io&#x2F;pdfs&#x2F;Handwriting-Synthesis-E90...</a><p>[2]: <a href="https:&#x2F;&#x2F;greydanus.github.io&#x2F;2016&#x2F;08&#x2F;21&#x2F;handwriting&#x2F;" rel="nofollow">https:&#x2F;&#x2F;greydanus.github.io&#x2F;2016&#x2F;08&#x2F;21&#x2F;handwriting&#x2F;</a>
  • NitpickLawyer5 hours ago
    It&#x27;s cool, and on the face of it looks impressive (there&#x27;s a lot of diversity in styles) but I noticed a &quot;tell&quot; that once you see it, is really obvious. Lots of straight lines (Is, Ls, Fs, As, Ms, etc) have wobbles in them that look artificial. There&#x27;s something about lines that this didn&#x27;t capture correctly (or oversampled from someone with wobbly lines).
    • yorwba4 hours ago
      I think at least some of the wobbles are aliasing due to quantizing to a grid.
      • nextaccountic4 hours ago
        Yeah. Vertical lines like on h or d is fine, but slanted lines like in f is wobbly (all lowercase)
  • andai5 hours ago
    Wow. Don&#x27;t forget to try the Draw mode, artificial doodles!<p>It can do penguins, pelicans (kinda), and bicycles, but pelican on bike makes it generate bizarre semi-abstract art. Looks like it doesn&#x27;t know how to combine things together.<p>That&#x27;s so cool, and a lot of fun to play with.
  • thrance37 minutes ago
    I don&#x27;t know how I should feel about the fact that pushing the &quot;neat&#x2F;loose&quot; cursor all the way to &quot;loose&quot; still outputs something prettier than my own handwriting.
  • Tadpole918110 hours ago
    The project is impressive, but I&#x27;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.
    • samgreydanus9 hours ago
      Author here.<p>The post text (except the conclusion) was written entirely by Claude.<p>All my other posts are handwritten. I wish I had written it by hand, and I apologize for doing it this way. I did put a lot of effort into the code&#x2F;dataset&#x2F;ablations&#x2F;figures.<p>All I can say is that I HAD to get this post up in time. Won&#x27;t do it that way in the future (and might go back and rewrite in my style over Christmas break) :)
      • gfaure7 hours ago
        The post text, yes, but the paper was almost entirely Claudish, which I found particularly hard to read in my search for implementation details.
      • pickledish7 hours ago
        I appreciate your transparency about it!<p>Using Claude + being honest &gt;&gt;&gt; using Claude + pretending you didn&#x27;t at least (and FWIW I didn&#x27;t find it too offensive here either)
    • mwillis10 hours ago
      Huh. It read 100% human to me.
      • gyomu10 hours ago
        Then you’re heavily miscalibrated, the whole page is replete with Claudisms (except for the conclusion)<p>“Here are the rows I found most interesting; the paper has the rest.”<p>“The drawing model blends but doesn’t bind.”<p>“Cut the data and everything gets worse. Drop augmentation and the drawing model stops following its prompts entirely”
        • mwillis1 hour ago
          must be. It seemed less flowery and more clipped than I’d have expected. But I get the occasional captcha wrong too.
        • mk129 hours ago
          &quot;Everything else is a plain decoder that cross-attends to what it&#x27;s told.&quot;<p>(In Claudeland abstract concepts constantly &quot;say&quot; and &quot;tell&quot; things.)
          • dofm9 hours ago
            I recently went looking for linguistics terminology that describes this and found that it is often described as something like: pairing animating verbs with inanimate subjects.
            • grey-area5 hours ago
              It’s personification. Sometimes used as a literary technique but heavily overused by Claude.
      • cootsnuck6 hours ago
        The second sentence is &quot;The effort was 80% data, 15% speed and 5% architecture:&quot;... My eyes glaze over the second I hit the AI-isms.<p>I don&#x27;t get how other people can stand it.
    • gyomu10 hours ago
      Because people who make these things understand only a fraction of it, and are incapable of describing the details of what they did in their own words; so they resort to Claude for the write up too.<p>It truly is cringe inducing but a majority of people seem to not care much, given how widespread this is in blog posts&#x2F;marketing copy&#x2F;etc.
      • samgreydanus9 hours ago
        Author here. This is the first time I wrote the body text with Claude. It was a misjudgement and I apologize. Won&#x27;t do it that way in the future (and might go back and rewrite in my style over Christmas break)<p>I did put a lot of effort into the code&#x2F;dataset&#x2F;ablations&#x2F;figures. And for what it&#x27;s worth, if you look at the rest of the work on my blog (including work from before LLMs existed) you will see that I have been competent at building these kinds of models for years.
        • leobg8 hours ago
          I don’t get the complaints.<p>Yes, LLM text may indicate that an author who didn’t take the time to do the writing also didnt put much effort into the project itself. But that is, if anything, a rule of thumb, and it is proven wrong here by the results.<p>In my view, it’s much better that you spent your limited time on the building rather than on the writing. If yiu had waited for Christmas, who knows if you had posted it at all, with life and new ideas getting in the way. It’s better that it exists than it be certified Claude free, in my view.<p>Thank you for the post!
      • lukan8 hours ago
        &quot;Because people who make these things understand only a fraction of it ... It truly is cringe inducing&quot;<p>Cringe to me are rather shallow dismissals of whole projects, while I never see anything amazingly humanly hand crafted from them (and given away for free).
    • abound10 hours ago
      [dead]
  • LytraX6 hours ago
    How would this made posible to write in other languages? Would it have to re-trained on real hadwritten papers on other languages or it could adopt to other languages glyph shapes?
    • komali25 hours ago
      For other latin alphabet languages I&#x27;d bet it would be mostly fine, at worst need a little bit of extra umlaut juice. But there&#x27;s no way that latin cursive or print maps to Chinese characters, the strokes of which are distinct and named and any similarity with any of the strokes needed to form latin characters is incidental.<p>That said I bet you could train on handwriting that only includes like 10,000 characters and it could extrapolate from there to all characters because of the stroke &gt; radical &gt; character chain.
  • SebastianSosa8 hours ago
    This is amazing. I&#x27;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&#x27;s completely missed by existing models.
  • gouterz7 hours ago
    i really love this. i think there&#x27;s something fun and refreshing in seeing human writing and drawing for some reason
  • lastdong5 hours ago
    Really neat. Also makes it easy to add your own handwriting and drawings.
  • yasindce19986 hours ago
    When I first heard the name. I thought it&#x27;s for penteration testing.
  • alanwreath11 hours ago
    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.
  • wat55511 hours ago
    Very cool! Not so good at drawing a pelican riding a bicycle
  • seantang00111 hours ago
    Seems like for some input it stops prematurely.<p>For example, `!2&#x2F;23\4&#x2F;5.4;3;5l=3asfa913k391aslkf9a&#x27;a;s.&quot;:&gt;&quot;}+-=;.a`
  • jimbobbam11 hours ago
    Oh this is great! I’ve been working an app to teach handwriting with Rokid glasses. I’ll give it a shot
  • Aeroi8 hours ago
    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.
  • k2xl12 hours ago
    Amazing this fits in 50MB.
    • tarpitt10 hours ago
      Imagine sending this program back in time to 2006 or something. It could probably run on a computer from back then. It&#x27;s amazing how all of these advances are just software advances that could have been realized decades ago if we poked around the right places.
      • mitthrowaway27 hours ago
        Yeah. If we sent it back in time to the University of Toronto in 2013 it might look like this: <a href="https:&#x2F;&#x2F;www.cs.toronto.edu&#x2F;~graves&#x2F;handwriting.html" rel="nofollow">https:&#x2F;&#x2F;www.cs.toronto.edu&#x2F;~graves&#x2F;handwriting.html</a>
      • andai5 hours ago
        See also:<p><i>Why didn&#x27;t we get GPT-2 in 2005?</i><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49937571">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49937571</a>
  • ex1fm3ta9 hours ago
    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.
  • fraywing9 hours ago
    &quot;Stroke tokens&quot; stood out to me
  • charcircuit11 hours ago
    It bothers me how it doesn&#x27;t know the proper strokes for cursive characters.
  • asa12311 hours ago
    Neat!
  • mindmaster09811 hours ago
    very impressive
  • Alex575810 hours ago
    [flagged]
  • Xinti12 hours ago
    [flagged]
  • cush11 hours ago
    I wonder if this model would have performed better if it wasn’t trained on awful 2000’s handwriting.