RLVR from Olmo-3-7B base with OlmoRL on Dolci-RL-Zero-Math via open-instruct (Olmo 3 §6, Table 49)
harbor run -t ale/olmo3-7b-zero-rl-mathharbor download ale/olmo3-7b-zero-rl-mathRun the Olmo 3 RL-Zero (Math) pipeline end-to-end: apply RLVR (Reinforcement Learning with Verifiable Rewards) directly on the allenai/Olmo-3-7B base model using the OlmoRL algorithm and the allenai/Dolci-RL-Zero-Math-7B dataset, via the allenai/open-instruct framework.
This is a full-stack pipeline task. The primary goal is to stand up and run the complete RL-Zero loop — environment → assets → data → rollout ↔ train closed loop → evaluation — on the base model and produce a genuinely trained checkpoint. Hitting the exact target accuracy is secondary to demonstrating that every stage of the pipeline actually works.
The verifier assigns a continuous reward in [0, 1] based on how far through the pipeline you get and how well the trained model performs. Write nothing to /app/result.txt directly — the verifier inspects real training artifacts and evaluation output (see "Deliverables" below). Reward breakdown:
| Stage | What must be true | Reward |
|---|---|---|
| Environment + assets | open-instruct importable; Olmo-3-7B base + Dolci-RL-Zero-Math-7B downloaded |
0.15 |
| Data prepared | dataset converted to open-instruct RLVR prompt format with the RL-Zero math prompt template | +0.10 |
| Rollout ↔ train closed loop | a real training run: checkpoint(s) + optimizer state written, training log shows ≥ 500 gradient steps with a non-trivial, increasing train reward | +0.35 |
| Evaluation ran | AIME 2024 evaluated with the specified protocol; a score is produced | +0.10 |
| Accuracy | AIME 2024 pass@1 (bootstrapped avg over 32 samples) above the Olmo-3-7B base baseline, scaling up to the paper target |
+0.30 |
The heaviest weight is on the rollout ↔ train closed loop — the hardest and most telling part of any RLVR stack. A trained checkpoint with a climbing reward curve is worth more than a high number you cannot back up with artifacts.
Accuracy sub-score is linear:
< base (≈10% pass@1) → 0.0base → 45% → scales 0.0 → 0.30≥ 45% → 0.30 (full)allenai/Olmo-3-7B (HuggingFace) — the base model, NOT Instruct/Think. RL-Zero trains directly from base.allenai/Dolci-RL-Zero-Math-7B (HuggingFace) — 13,314 decontaminated math prompts with verified answers.allenai/open-instruct — install from https://github.com/allenai/open-instruct. Use its RLVR / GRPO trainer (the OlmoRL implementation).OlmoRL builds on GRPO with improvements from DAPO and Dr.GRPO. Use open-instruct's implementation with these exact behaviors:
A_i = r(x, y_i) − mean({r(x, y_j)}_{j=1..G})ε_low = 0.2, clip-higher ε_high = 0.272Rule-based math verifier:
Answer: line (see prompt template below).RL-Zero trains from a purely midtrained base model, so use a simple template (special post-training formats like <think> or \boxed{} hurt here):
Solve the following math problem step by step.
The last line of your response should be the answer to the problem in form Answer: $Answer (without quotes) where $Answer is the answer to the problem.
{Math Question}
Remember to put your answer on its own line after "Answer:"
Clean evaluation prompts the same way (remove \boxed{} and other special formatting) so eval prompts match training prompts.
Use these fixed values. Adapt only the GPU/parallelism layout to the available cluster while preserving the effective global batch (unique prompts per batch × group size).
| Hyperparameter | Value |
|---|---|
| Advantage estimator | GRPO (OlmoRL variant, no std normalization) |
| Dataset size | 13,314 prompts |
| Learning rate | 1.0×10⁻⁶ (constant, no schedule) |
| Optimizer | Adam |
| Minibatches | 1 |
| Training steps | 2,000 |
| Max prompt length | 2,048 tokens |
| Response (completion) length | 16,384 tokens |
| Unique prompts per batch | 32 |
| Group size (rollouts per prompt) | 8 |
| Sampling temperature (rollout) | 1.0 |
| Clip-lower (ε_low) | 0.2 |
| Clip-higher (ε_high) | 0.272 |
| TIS cap (ρ) | 2.0 |
| Use KL loss | No |
| Use entropy regularization | No |
| Max asynchrony | 8 |
The 7B RL-Zero run uses a disaggregated actor/learner layout on NVIDIA H100:
| Role | Count |
|---|---|
| Learner GPUs | 8 |
| Actor (vLLM rollout) GPUs | 64 |
| GPUs per actor (TP) | 1 |
| Total | 72 H100 |
Use open-instruct's launcher (Ray-based) to bring up the disaggregated rollout ↔ learner setup across nodes. Rollouts are generated by vLLM actors; the learner performs policy updates and pushes updated weights back to the actors. Getting this weight-sync loop running stably across nodes is the crux of the task.
open-instruct and its dependencies (PyTorch, vLLM, Ray, flash-attn, etc.).allenai/Olmo-3-7B and allenai/Dolci-RL-Zero-Math-7B.Dolci-RL-Zero-Math-7B into open-instruct's RLVR input format.Answer: line; compare with the rule-based math verifier.Olmo-3-7B base model's AIME 2024 pass@1 under the identical protocol, so the improvement is measurable.Write all of the following so the graded verifier can confirm the pipeline ran:
/app/checkpoints/ — trained checkpoint(s) including model weights and optimizer state./app/logs/train.jsonl (or open-instruct's native log) — per-step metrics including step and train_reward (or equivalent), showing the reward trajectory./app/eval/aime2024.json — evaluation output containing at least:
{"trained_pass@1": <float 0-100>, "base_pass@1": <float 0-100>, "pass@32": <float 0-100>, "n_samples": 32, "temperature": 1.0}
/app/result.txt — the trained AIME 2024 pass@1 as a single float (e.g. 46.3), consistent with aime2024.json.Olmo-3-7B base ≈ 10% → rises sharply in the first few hundred steps → converges toward ~45–50% by ~2,000 steps.