Aiken-Coder 7B v1-clean
An ablation of Aiken-Coder 7B v1. It uses the same base, recipe and settings, but trains only on answers whose code compiles. It asks whether cleaner data beats more data. At this size, it doesn't: v1-clean passes 4 of 30 tasks on the Aiken exam, against v1's 9. It is published so the comparison can be checked and repeated. For writing Aiken, use v1.
| BASE | Qwen/Qwen2.5-Coder-7B-Instruct |
| METHOD | as v1: QLoRA (NF4), rank 16, alpha 32, all attention and MLP projections, loss on answers only, 1 epoch |
| DATA | AmiBening/cardano-aiken-stdlib-v2-1 (MIT), minus every answer whose code fails to compile under Aiken v1.1.24 and stdlib v2.2.1 |
| FILES | Aiken-Coder-7B-v1-clean-Q4_K_M.gguf · Modelfile (Ollama) · adapter/ (LoRA, PEFT) · loss_curve.png |
| STATUS | Research release, an ablation. Not for contracts that hold real funds. |
| AUTHOR | Charles Tao · stickmancharles.com · echoforgeef.com |
The comparison
| Model | Examples before the split | Answers with code | Exam passes (of 30) | Level 1 / 2 / 3 | Compile | |
|---|---|---|---|---|---|---|
| Aiken-Coder 7B v1 | 10,838 | 5,824 (54%) | 9 | 8 / 1 / 0 | 9 | |
| Aiken-Coder 7B v1-clean (this model) | 6,859 | 1,845 (27%) | 4 | 4 / 0 / 0 | 5 |
The Aiken exam is 30 tasks with hidden tests, graded by the real compiler (Aiken v1.1.24, stdlib v2.2.1). The tasks are kept private. v1's card has the full leaderboard, with eight outside models, and a note on how to read it.
What it shows
- The filter removed most of the Aiken. Only 32% of the dataset's code answers compile. Dropping the other 3,979 cut the answers with code from 5,824 to 1,845, from 54% of the examples to 27%. v1-clean saw less than a third as much Aiken as v1.
- Broken code still taught something. Most failing answers have the right syntax and shape and get a name, a type or an import wrong. v1 learned the shape from them; v1-clean never saw it. Even level 1, plain functions, fell from 8 to 4.
- Its test loss doesn't compare. v1-clean's 0.733 against v1's 0.584 is measured on held-out questions that still include broken answers, which v1-clean never trained on.
- Next: keep the data's volume and add correct code, or repair failing answers until they compile, rather than throwing them away.
A difference of five tasks is more than the exam's noise of one or two, but it is one run of each model.
Use it
Exactly as v1, with this repository's name:
ollama run hf.co/StickmanCharles/Aiken-Coder-7B-v1-clean:Q4_K_M
Credits and license
- Base model: Qwen2.5-Coder-7B-Instruct by the Qwen team (Apache-2.0).
- Training data: AmiBening/cardano-aiken-stdlib-v2-1 (MIT).
- Aiken by the Aiken team.
- This model: Apache-2.0.