Files
carstenandClaude Opus 5.5 609e832572 Move to current prime-rl, verifiers and renderers; DeepSeek V4.1 support
Bump prime-rl to trinity-dsv41: upstream main, PR #4057 (DeepSeek V4.1
Flash) with the engram port onto the shared n-gram module, and renderers
tracking its trinity-dsv41 branch (v0.2.0 + the Hermes parser).

Port the envs to the current verifiers v1 API, rl.toml to the new config
schema (IPO loss kept as the new default), and bootstrap/launch/prepare
scripts to the new layout.

Decensor now runs DecensorEnv: the simulated user writes reviewed
follow-ups up to each row's target_turns and every assistant turn is
judged. Earlier runs trained on the first turn only.
tests/test_multiturn_env.py drives the full loop against a mock endpoint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:39:44 +00:00

21 lines
891 B
Bash
Executable File

#!/usr/bin/env bash
# Render configs/rl.toml, check credentials and the judge, then start training.
# Usage: JUDGE_BASE_URL=http://HOST:PORT/v1 scripts/launch.sh [extra `rl` args, e.g. --dry-run]
# `rl` starts inference, the trainer, the orchestrator and one env-worker-pool per source.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
[[ -f "$ROOT/.env" ]] && set -a && source "$ROOT/.env" && set +a
: "${JUDGE_BASE_URL:?set JUDGE_BASE_URL to the judge /v1 endpoint}"
# The guard's subtask mixing seeds its shuffles with hash(subtask).
export PYTHONHASHSEED=0
cd "$ROOT"
mkdir -p outputs
sed "s|\${JUDGE_BASE_URL}|$JUDGE_BASE_URL|g" configs/rl.toml > outputs/rl.toml
run() { uv run --project prime-rl --no-sync "$@"; }
run python scripts/verify_access.py
run python scripts/check_endpoint.py "$JUDGE_BASE_URL"
exec uv run --project prime-rl --no-sync rl @ outputs/rl.toml "$@"