Open
Conversation
Cookbook that bridges SimLab's task execution with Prime Intellect's prime-rl for RL training of agent models. The full pipeline: - Collect tool-use trajectories from SimLab environments - Convert to SFT datasets (HuggingFace messages format) - Build and push a verifiers environment to Prime Intellect hub - Run hosted RL training via `prime rl run` - Evaluate trained models back through SimLab Includes example customer support tasks, quality+completeness rubrics, and configs for both SFT warmup and RL training on Qwen3.5-9B. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Import Environment, SingleTurnEnv, Parser, Rubric directly from verifiers submodules instead of via lazy vf.* attributes - Change messages list type to dict[str, Any] to allow tool_calls values Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
|
- Replace placeholder task prompts with actual generated SimLab customer support tasks (enterprise escalation, billing dispute, SLA breach) - Bump env version to 0.2.0 - Switch default RL model to Qwen/Qwen3.5-4B Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The rubric functions received completion as a Messages list (not a plain string). Thinking models put output in reasoning_content with content=null, so the old string-based rubric always scored 0. Added _extract_text() helper that handles both plain strings and Messages lists, extracting content + reasoning_content from all assistant messages. Tested: Step 0 reward went from 0.0 to 0.4813. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- P1: Stop run_pipeline.sh from overwriting committed env files - P2: Add try/except ValueError for reward.txt parsing - P2: Remove dead code in artifacts_to_messages tool_calls loop - P2: Change default agent model from gpt-5.2 to gpt-4.1-mini Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cookbook/prime-rl-training/) that bridges SimLab trajectory collection with Prime Intellect's prime-rl for RL training of agent modelsprime rl runcollinear-simlab/simlab-tasksQwen/Qwen3.5-9B(runp8zaxiqbge02roi3g89o7wdg)Test plan
uv syncinstalls all dependencies from simlab reposimlab env init+simlab tasks-gengenerate environment and taskspython -m prime_rl_training.collect sftconverts artifacts to SFT datasetload_environment()returnsSingleTurnEnv)prime env push)prime rl run)🤖 Generated with Claude Code