Qwen3-8B Countdown-Code SFT (GRAFT base)
Qwen/Qwen3-8B after LoRA SFT on Countdown-Code, with the LoRA merged into full bf16 weights. This is the frozen base model the GRAFT RL runs on Countdown-Code start from (paper: https://arxiv.org/abs/2610.17062).
Code: samuel500/GRAFT, branch repro (a fork of the paper's
code, jnward/GRAFT). The scripts named below are under rl/
there; the RL runs that use this model are documented in
rl/REPRO.md, and their adapters are in
samuel500/graft-repro-adapters.
Training
- Data:
o4-mini-distillation-16k.jsonlfrom https://github.com/zohaib-khan5040/Countdown-Code (Countdown-Code paper: https://arxiv.org/abs/2603.07084), built withrl/tools/countdown_build_sft_data.py(12,995 train / 1,444 val, examples over 2,560 tokens dropped). - Recipe (
rl/tools/pod_countdown_sft.py): peft LoRA r=128, alpha=128, all-linear, no dropout; lr 1e-4, cosine, warmup 0.03, 5 epochs, effective batch 32, bf16, completion-masked loss. The chat template is applied with its defaults (noenable_thinkingargument). training_meta.jsonholds the run settings and the full loss log.
Files
model.safetensors: merged weights, sha256533c4f2b03dce7f21ae655a522ceb30d6781aa158fe4c486565491d3a0bd2904- tokenizer and chat template from Qwen/Qwen3-8B
Use
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("samuel500/graft-qwen3-8b-countdown-sft", dtype="bfloat16")
tok = AutoTokenizer.from_pretrained("samuel500/graft-qwen3-8b-countdown-sft")
or vllm serve samuel500/graft-qwen3-8b-countdown-sft.