RightNow-Mini / results /train.md
Jr23xd23's picture
Upload 4 files
83884ed verified
|
Raw History Blame Contribute Delete
4.54 kB

Training: self-distillation from the model's own passing attempts

Measured on 2026-12-01 on the node (8 GPUs). Nothing below is estimated.

The data

  • Pool: SWE-bench/SWE-smith (licence mit), 240 tasks: the 30 largest eligible repositories, random.Random(seed).sample of 8 tasks each, seed 20261201.
  • Kept apart from the evaluation: the pool's 30 repositories and the benchmark's 12 share none (train/pool/disjoint.json lists both; repositories_in_both is [], disjoint is True). No SWE-bench task is in the pool.
  • No closed model wrote any of it: every attempt is the stock Inkling 2 Mini on this node (vLLM with the checkpoint's own draft head), the same bash-only agent as the evaluation, temperature 0.8, at most 75 steps and 8,192 new tokens a step.
  • A task's starting state is built in its container from the dataset itself (the bug applied, the tests that catch it removed); grading uses SWE-smith's own harness on the task's official branch, so a patch counts only if it fixes the real task.
Attempt Tasks tried Produced a patch Passed the task's tests
att-1 240 188 136
att-2 240 197 146
att-3 240 188 145
att-4 240 216 157
att-5 240 216 166
att-6 240 216 169
att-7 239 210 115
att-8 238 212 168
att-9 238 215 172
  • Attempts that ran: 2003. Passed: 1374. Distinct passing patches: 492.
  • Tasks with at least one passing attempt: 196 of 240.
  • Kept for training: 196 conversations, one per task: the passing attempt with the shortest context (median 23,515 tokens at its end, longest 73,867).

A first grading lost most tasks to GitHub's API limit (the harness asks the API about every task's repository, 60 calls an hour without a token) and read three attempts as 0 passed. The harness was patched locally to skip that call and everything was graded again; the first numbers are kept in gen/grades-first-rate-limited.json and not used.

The fine-tune

Tool: Unsloth, LoRA on the attention weights only. The routed experts are not trained: the serving engine on this GPU family takes them only in their released 4-bit and 8-bit form (it refused a merged model with 16-bit experts), so a model whose experts changed could not be served by it. The tensors a round changed are written into a copy of the released checkpoint (train/graft.py); the experts and their quantization stay byte for byte as released.

Round LoRA rank (alpha) Trainable parameters Conversations (longest allowed) Epochs Learning rate Steps Loss: first 10 steps, last 10 steps, average Tensors changed, largest change
1 16 (16) 8,749,056 of 26,395,161,600 152 (32,768 tokens; 44 longer ones left out) 2.0 0.0001 52 0.188, 0.195, 0.189 120, 0.00048828125
2 64 (64) 34,996,224 of 26,421,408,768 152 (32,768 tokens; 44 longer ones left out) 2.0 0.0004 152 0.184, 0.201, 0.189 120, 0.005859375

Loss is counted on the model's own reasoning, text and tool calls only. It did not go down in either round: the kept conversations are the stock model's own passing attempts, which it already predicts well.

Scores on the evaluation subset

One attempt per task, greedy decoding, the same engine line (vLLM, no drafting), agent and limits as baseline.md.

Pass Model Resolved of 100 Runs that submitted a patch Runs that hit the 250-step limit Steps per run, median
stock-1 stock Inkling 2 Mini 56 62 31 58.5
stock-2 stock Inkling 2 Mini 51 59 34 87.0
stock-3 stock Inkling 2 Mini 45 46 42 77.0
ft-1 fine-tune round 1 40 45 45 58.5
ft-2 fine-tune round 1 50 54 42 63.0
ft-3 fine-tune round 1 48 51 43 51.0
ft2-1 fine-tune round 2 45 50 44 55.5
ft2-2 fine-tune round 2 35 38 59 248.0

Gate (the brief's): the fine-tuned model must score higher than stock by more than run-to-run noise. Read as: every fine-tuned pass above every stock pass, three passes each. Stock: [45, 51, 56].

  • fine-tune round 1: [40, 48, 50]. Not passed.
  • fine-tune round 2: [35, 45]. Not passed.

Greedy decoding is the setting the gate was written for, and it is this model's weak setting: at temperature 0 a run often repeats itself until the step limit (the last two columns). At temperature 0.8 the stock model resolves far more (deep.md).