I trained a 36k-parameter model to centre a div. Stop asking trillion-parameter models.
neural-flexbox: "flexbox, approximately"
Inspired by the very useful gpu-lexer by @shuding . This is much less useful. I wanted to learn how to train a model from scratch.
00:00
00:49
I trained a small model to do syntax highlighting in the browser with GPU.
Meet gpu-lexer from Vercel Labs: Small (27.5KB), fast (runs on WebGPU), and language-agnostic (model guesses the syntax).
gpu-lexer.vercel.app
It is experimental and built for learning!




