CRAP: a tiny fine-tune that emits ELF binaries directly
A hobbyist released v1.1 of CRAP, a Gemma 4 E2B fine-tune that turns prompts into working Linux x86_64 ELF binaries emitted as hex, with no compiler or assembler. It only handles programs that print a string and exit; v1.1 scores 26/40 on novel strings and…
Why it matters
A fun experiment on the limits of LLMs generating raw binaries, not a practical tool.
What happened
1 min readA hobbyist released v1.1 of CRAP, a Gemma 4 E2B fine-tune that turns prompts into working Linux x86_64 ELF binaries emitted as hex, with no compiler or assembler. It only handles programs that print a string and exit; v1.1 scores 26/40 on novel strings and 10/12 on multi-turn tasks, and a Q6_K build runs in the browser via WebGPU.
Our analysis
The author jokingly admits a compiler does the same job deterministically, correctly and in milliseconds. The interesting technical tidbit is a training run that reached very low loss while still failing most exit codes, a reminder that loss is not task success. The collapse of the Q4_K_M quant to 3/144 is also a useful warning for people quantizing small models. All evals are self-run.