gpt-oss-20b-FCF-ck400
openai/gpt-oss-20b (bf16 weights from unsloth/gpt-oss-20b-BF16), fine-tuned with GSPO reinforcement learning (LoRA) on 958 code-optimization exercises (533 Python, 425 C++) generated with FastCoder-Factory, 8 completions per prompt (64 per step) at reasoning effort medium, checkpoint 400. The LoRA adapter is merged into the bf16 base weights with stochastic rounding (seed 400); see merge_info.json.
Same architecture, tokenizer and chat template as the base model; serves as-is in vLLM.
LoRA configuration
Standard LoRA (scale α/r), no dropout, on all 24 layers; the router is not adapted.
| Modules | Rank | α |
|---|---|---|
Attention: q_proj, k_proj, v_proj, o_proj | 16 | 32 |
Experts (all 32): gate_up_proj, down_proj | 16 | 32 |
Results
Reasoning effort high. Mean over 5 trials (3 for EffiBench-X) ± standard error. Incorrect solutions count as 1× speedup.
| Benchmark | Metric | gpt-oss-20b | This model |
|---|---|---|---|
| Code-to-code optimization | |||
| ParEval (C++) | Correct (%) | 82.7 ± 1.8 | 96.3 ± 0.3 |
| Speedup (×) | 3.84 ± 0.18 | 4.56 ± 0.09 | |
| PolyBench (C++) | Correct (%) | 78.7 ± 1.3 | 92.7 ± 1.9 |
| Speedup (×) | 4.75 ± 0.30 | 4.95 ± 0.07 | |
| PolyBench (Python) | Correct (%) | 89.3 ± 1.9 | 92.7 ± 1.2 |
| Speedup (×) | 5.69 ± 0.22 | 7.27 ± 0.26 | |
| Description-to-code | |||
| EffiBench-X (C++) | Pass@1 (%) | 88.0 ± 1.0 | 89.1 ± 0.2 |
| Runtime score (%) | 81.1 ± 1.1 | 83.1 ± 0.2 | |
| EffiBench-X (Python) | Pass@1 (%) | 87.3 ± 0.7 | 89.4 ± 0.0 |
| Runtime score (%) | 82.0 ± 0.9 | 85.3 ± 0.0 | |
| Repository-level optimization | |||
| GSO | Tests pass (%) | 61.2 ± 3.3 | 67.5 ± 2.2 |
| Optbase (%) | 36.9 ± 3.2 | 40.8 ± 1.4 | |
| Speedup (×) | 1.38 ± 0.04 | 1.43 ± 0.01 | |
| SWE-fficiency Lite | Tests pass (%) | 57.8 ± 1.2 | 64.6 ± 0.7 |
| Speedup (×) | 3.17 ± 0.19 | 4.92 ± 0.32 |
Bold: the standard-error intervals of the two models do not overlap.