Code Model Evaluation and Next Steps | Generated by AI

Home 2026.07

Now I have a complete picture. Here’s what you’re working on:


🏗️ What You’re Building

You’re training small decoder-only language models (140M–286M params) using the nanochat framework, focused on code generation.

Three Major Training Runs

Run Params Data Status
codeparrot-d12 286M 24.7B Python tokens (codeparrot-clean) ✅ Trained (87k steps) + just evaluated
code-sec-fineweb-d12 286M GitHub code + SEC filings + FineWeb-Edu ✅ Trained (50k steps)
d12 SFT (earlier) ~140M SmolTalk + custom code/SEC + MMLU ✅ SFT’d & evaluated

Current Focus: codeparrot-d12

This is the latest — a Python code-focused model trained on 53 shards of deduplicated, filtered Python code (~5.3M files). You just finished:

  1. Pipeline — download → convert → tokenize (committed as run_pipeline.sh)
  2. Training — 87k iterations, batch=65536, seq=2048
  3. Short-prompt evalcodeparrot/eval/
  4. Long-prompt evalcodeparrot/eval_long/ (committed 2 hours ago)

📊 How The Model Performs

The eval results reveal a clear picture:


🎯 Your Next Goal

Based on the project trajectory, your most logical next step is one of:

1. 🥇 SFT the codeparrot-d12 base model

2. 🥈 Scale up — train a deeper model (d16 or d20)

3. 🥉 Build a code chat/assistant

Which direction interests you? I can help set up the SFT pipeline, analyze eval results more deeply, or fix any issues in the current code.


Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate