CoderForge-Preview: SOTA open dataset for training efficient coding agents
CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench. The trajectories were generated with Qwen3-Coder-480B in OpenHands Docker environments, filtered by rejection sampling and permissive-license audits, and cost about $130K to produce at a ~90% prompt cache hit rate. Fine-tuning Qwen3-32B on the passing trajectories, using Ulysses sequence parallelism, multipacking and token-level loss normalization at 128K context, reaches 59.4% pass@1 on SWE-Bench Verified, and a 4B model reaches 43.0%. Ablations show a repetition penalty helps only early checkpoints, so later checkpoints should be run without one.
Related posts
- Codex is Open Sourcing AI models
Hugging Face mediumAdeptHugging Face Skills, a repository of agent instructions loaded via AGENTS.md (or Claude Code Skills), lets OpenAI Codex run end-to-end fine-tuning experiments on Hugging Face Jobs. From a short prompt it validates the dataset, picks hardware, submits TRL training (SFT, DPO, GRPO), tracks metrics in Trackio, runs lighteval evaluations and keeps a markdown experiment report up to date. In the walkthrough, a LoRA SFT of Qwen3-0.6B on open-r1/codeforces-cots raises HumanEval pass@1 from about 0.30 to 0.34, and the model is then converted to quantized GGUF for llama.cpp. Rough costs are $1-2 for models under 1B, $5-15 for 1-3B and $15-40 for 3-7B with LoRA, and models above 7B are not yet supported.
- StarCoder: A State-of-the-Art LLM for Code
Hugging Face easyNoviceStarCoder and StarCoderBase are ~15B-parameter code LLMs trained on 1 trillion tokens of permissively licensed GitHub data from The Stack 1.2, covering 80+ languages, commits, issues and notebooks, with StarCoder further fine-tuned on 35B Python tokens. With an 8K+ token context, they beat other open code models and match or exceed OpenAI's code-cushman-001 on HumanEval, MBPP, MultiPL-E and DS-1000. A solution-file prompt prefix lifts StarCoder's HumanEval score from 34% to 40.8%, and prompting alone turns the model into a technical assistant. The release includes weights under OpenRAIL-M, training code, an evaluation harness, a PII-redaction dataset and a code attribution tool.
- Open R1: Update #3
Hugging Face hardMasterHugging Face's Open R1 project reproduces the code-reasoning side of DeepSeek-R1, releasing CodeForces-CoTs (about 100k R1-distilled C++ and Python solutions), a fully verifiable IOI benchmark with subtask grading and contest-style submission selection, and OlympicCoder 7B and 32B models fine-tuned from Qwen2.5 Coder. OlympicCoder-32B beats every open-weight model tested on IOI'2024, plus Claude 3.7 Sonnet, o1-mini and R1 itself under the 50-submission limit. The SFT lessons are concrete: sample packing badly hurts training on long reasoning traces, and a higher learning rate (4e-5) gains roughly 10 LiveCodeBench points per doubling. Adding editorials to prompts does not help, and prefilling `<think>` in the chat template is needed to reliably trigger long chain of thought.
- Creating a Coding Assistant with StarCoder
Hugging Face mediumAdeptStarCoder, BigCode's 16B-parameter open code model with an 8k context window, can be turned into a coding assistant either by dialogue prompting or by fine-tuning it on conversations. Prompting with a long system message and example dialogues works but is expensive, since every turn resends thousands of tokens. The cheaper route is fine-tuning on the English subset of the OpenAssistant dataset, about 21k dialogues, formatted with ChatML-style special tokens (<|system|>, <|user|>, <|assistant|>, <|end|>) added to the tokenizer so generation stops cleanly at turn boundaries. Training uses 🤗 Transformers with DeepSpeed ZeRO-3, and the resulting StarChat model, dataset and code are released.
- Personal Copilot: Train Your Own Coding Assistant
Hugging Face hardMasterHugCoder is a code LLM fine-tuned on the top 10 Hugging Face GitHub repositories, built by cloning repos in parallel, filtering non-code files and training StarCoder with a fill-in-the-middle objective. Full fine-tuning of the 15.5B model on 8×A100 80GB with FSDP took 9 hours (~$108), while QLoRA on a single A100 40GB took 12.5 hours (~$13.75), with a per-parameter memory breakdown explaining why. QLoRA reached slightly higher loss than full fine-tuning but preserved HumanEval pass@1 (33.37 vs 33.57) and matched it qualitatively on HF-specific infilling where GitHub Copilot failed. The post also covers serving the model in VS Code via Inference Endpoints, training a chat variant, and combining LoRA adapters across tasks and base models.