Maincoder-1B – an open 1B-parameter coding model with 76% HumanEval
huggingface.co
huggingface.co
The motivation is simple. Strong coding models don’t have to be large. With better data processing across pre-, mid-, and post-training, plus RL-based post-training, small models can deliver surprisingly strong functional correctness while staying cheap and fast.
Why we care about small models: Low latency / low cost → usable for interactive tools and large batch jobs Local & on-device inference → privacy-sensitive and offline workflows Many fast rollouts → program synthesis with search, verification loops, RL environments, fine tuning to personal preferences Composable systems → cascades, speculative decoding, tool-use agents
Maincoder-1B performs best on small, self-contained tasks (2048k context), and it’s not meant for security- or safety-critical code without human review. It’s designed for practical deployment and should quantize well.
Weights are released under Apache 2.0.
I am actually hoping we see more per language models soon, though obviously, it can be as "smart" if trained only on a single language.