Skip to content

v0.11.1.dev50

@mikasenghaas mikasenghaas tagged this 26 Nov 19:31
## Summary

- Add `recipes/data/tool-use.toml`, a data overlay for tool-use agent
RL, next to `swe.toml` and `math.toml`:
- Train on general-agent tiers 3-4, filtered to tasks with a GLM-5.1
(rlm solver) pass rate of at least 0.05.
- Native tool calls (null harness). The agent and each task's tool
server run in small Prime sandboxes (1 CPU, 2 GB), with a 3600 s rollout
limit.
- Scoring is the task's own check of the final state, so there is no
judge.
- Batch 128 × group 8, `max_staleness = 8`: rollouts take minutes, not
hours.
- Eval every 25 steps on 128 held-out tasks, avg@4. Both sources use the
same seed-0 shuffle: eval takes the first 128 tasks and train skips
them.
- List the overlay in `recipes/README.md`.

It composes with any model recipe, for example:

```bash
uv run rl @ recipes/qwen3.6-35b-a3b/rl.toml @ recipes/qwen3.6-35b-a3b/gpu/h200.toml @ recipes/data/tool-use.toml
uv run rl @ recipes/qwen3.8-27b/rl.toml @ recipes/qwen3.8-27b/gpu/h200.toml @ recipes/data/tool-use.toml
```

The settings come from length-penalty ablations on Qwen3.6-35B-A3B and
Qwen3.8-27B with this taskset. Those runs used batch 64, 131k context
and AdamW. This overlay with the recipes' Muon and 256k context has not
run yet.

## Verification

- `uv run rl ... --dry-run` passes for both compositions above.
- With these filters the taskset has 1,426 tasks. The eval source
selects 128 and the train source 1,298, with no overlap; together they
cover all 1,426.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Adds configuration and documentation only; no runtime or training code
changes.
> 
> **Overview**
> Adds **`recipes/data/tool-use.toml`**, a composable data overlay
(alongside `swe.toml` and `math.toml`) for **GRPO training** on
**general-agent tiers 3–4** with **native tool calls** (`null` harness),
**Prime sandboxes** for agent and tool servers, and **task-native
scoring** (no judge). Training uses batch 128 × group 8, `max_staleness
= 8`, filters tasks by **GLM-5.1 rlm pass rate ≥ 0.05**, and **skips the
first 128 shuffled tasks** so eval can hold them out. **Eval runs every
25 steps** on those **128 held-out tasks** at group size 4 (avg@4).
> 
> **`recipes/README.md`** now documents `tool-use.toml` in the
three-layer recipe layout.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
5e7c73480f6bb08f1c57a53b4750ecf72a2f2c71. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Assets 2
Loading