Skip to content

Instantly share code, notes, and snippets.

@ariannamethod
ariannamethod / lee.c
Last active March 11, 2026 06:04
lee.c — Vision-Language Model in pure C. Patch tokens + RoPE + SwiGLU + Chuck optimizer. Zero dependencies. Inspired by sailfish009/purevlm.
/*
* lee.c v7 — Vision-Language Model in pure C
*
* Named after Bruce Lee (the only man who beat Chuck Norris)
* and Minhyeok Lee (whose self-identity framework gives Chuck his soul).
*
* Sees images. Speaks words. Adds numbers. Zero dependencies.
* Tape-based autograd with arena bump allocator.
*
* Architecture: