Overgeared Coder
A coding model built on Next-Concept Modeling
Overview
Overgeared Coder takes the Next-Concept Modeling (NCM) architecture and trains it as a coding model. NCM generates text coarse-to-fine: each level predicts a longer sequence in parallel, refining a rough sketch into the full output in a few steps.
It is a fork of HazyResearch/ncm (Next-Concept Modeling) by Hermann Kumbong, Ishan S. Khare, Iddah Mlauzi, Andrew Woen, Charles Ding, E. Kelly Buchanan, Simran Arora, Azalia Mirhoseini and Christopher Ré (Stanford HazyResearch). Credit for the underlying architecture, tokenizer and released checkpoints belongs to the original authors; this fork only adds the coding-model training direction.
Architecture
A multiscale residual VQ tokenizer represents a sequence as a hierarchy of discrete codes.
A transformer predicts the hierarchy from coarse to fine; positions within a level are generated in parallel, so generation costs one forward evaluation per level.
Compared with autoregressive and diffusion baselines, NCM matches or beats quality while generating 9-31x faster.
Features
- Coarse-to-fine parallel text generation instead of token-by-token decoding.
- Targets code generation, reasoning, debugging and software engineering tasks.
- Built on the released NCM checkpoints, tokenizer and generator.
Quick Start
git clone https://github.com/frnkgns/Overgeared-Coder.git cd Overgeared-Coder pip install -r requirements.txt # evaluate: python evaluate.py --config config/eval/<task>.yaml --checkpoint-dir artifacts/<task> --data-dir data/<task>
Tech Stack
Technical Decisions
- NCM was chosen over an autoregressive LLM because parallel coarse-to-fine generation is 9-31x faster while matching quality.
- A dedicated coding model is needed because the current NCM release has no coding-focused variant.