Show HN: Scalar codebook quantization, an interactive guide
Category: ai-ml
Tags: on-device-ml, quantization, ios, reverse-engineering, embedded
Score: 7.5/10 (Innovation: 8, Technical: 9, Documentation: 8, Utility: 5)
A project that brings a genuine iOS 6 Siri interface to the iPod touch 4G, running speech recognition and a small language model entirely on-device using plain C and ARM NEON. It demonstrates serious low-level optimization including 4-bit codebook quantization with GPTQ-style rounding to fit models into 256 MB of RAM.
Target audience: systems programmers, ML engineers, retro computing enthusiasts
Repository: https://myli.page/posts/202611211800-how-a-weight-fits-in-4-bits/ · C · MIT
View on Hacker News