Paper: Unified Factored Representations Resist Catastrophic Forgetting (w/ @kenneth0stanley at @LilaSciences)
We found networks that barely forget when repeatedly fine-tuned. The only difference is how they represent information.
Short explainer video here (audio on); ๐งต below
https://t.co/H1BsfW2ttP
It runs a 6M-parameter model fully on the CPU, in your browser, that predicts the next pen movement.
Credits to @samgreydanus for his work on PenGPT.
#webgl#threejs
@msurguy Cool! Just played around with that site. SVG parameterization help so much.
Yes, I think it's possible to add variable width strokes and seriff, and to train on a large amount of fonts - with the goal of building really beautiful writing that is a mix of fonts and handwriting
Releasing PenGPT! (https://t.co/ce42IZZNbP)
It writes cursive and print, and also draws what you wish from text inputs. Open weights and code on GitHub!
Thread gives some details ...
@mlajtos_mu I actually had a really elegant polar tokenizer I built for Cursive Transformer (https://t.co/6279UCJaVr - see diagram)
But you would not believe how much better the 8-way tokenizer did in ablations.
To get rid if the wiggly look, you can always train on a finer grid!
Releasing PenGPT! (https://t.co/ce42IZZNbP)
It writes cursive and print, and also draws what you wish from text inputs. Open weights and code on GitHub!
Thread gives some details ...
Another picture showing PenGPT learning to copy handwriting from a photo.
Note - we also calibrate the temperature to match the messiness of the raw text
(https://t.co/ce42IZZNbP)
@ripscreates Super cool! If you had a high quality dataset I would literally pay you for it
As it is - I am thinking about building various types of pipelines for images -> line drawings (via image apis) -> stroke sequences
Releasing PenGPT! (https://t.co/ce42IZZNbP)
It writes cursive and print, and also draws what you wish from text inputs. Open weights and code on GitHub!
Thread gives some details ...
@grasgor yes! It was trained on ten sketch datasets and one of those - the largest actually - was from sketch-rnn. The SketchRNN dataset is like 50M examples, a lot of them very messy, so I had to filter it down and only take the top 1-2% of examples from each class
@raw_works Haha, it can *produce* terrible handwriting if you set the sampling temperature too high.
Reading terrible handwriting - well, that may be the final test for AGI
Part of getting the sketch model to work was getting high quality captions for all the sketches. Here is an ablation on some hard prompts showing off the importance of having good SigLIP vectors for both images AND captions