AI & ML interests

None defined yet.

Recent Activity

sergiopaniegoย 
posted an update 1 day ago
view post
Post
96
async RL in TRL is fast, and now it's stable!

sync RL training alternates between writing answers and learning from them, so part of the GPUs is always waiting. TRL's async trainer does both at the same time

on the same number of training steps you get:
> 5h on 16 GPUs instead of 20h on 8
> about the same reward at every step
> 2x the GPUs, but about half the GPU-hours

how it works and how to run it: trl-lib/async-grpo-stable
sergiopaniegoย 
updated a Space 6 days ago
sergiopaniegoย 
posted an update 7 days ago
sergiopaniegoย 
published a Space 9 days ago
sergiopaniegoย 
posted an update 13 days ago
view post
Post
255
AsyncGRPOTrainer is now stable in TRL v1.18.0!

generation and training run at the same time on separate GPUs, instead of taking turns

we wrote up how to run it, what you can train with it and how it compares with GRPOTrainer: trl-lib/async-grpo-stable
sergiopaniegoย 
posted an update 16 days ago
view post
Post
6,898
New post-training example: SFT on agent traces with TRL

โ†’ A large model works as a coding agent in OpenCode, run through OpenEnv
โ†’ The tasks it solves become the training data
โ†’ A 2B model goes from 5.5% to 34.4% on held-out tasks

About 500 traces get most of the gain. Five times more add only 3 to 4 points, so SFT gets the agent working and RL has to do the rest

Full guide, with the models, traces and every rollout open:
https://github.com/huggingface/trl/tree/main/examples/sft_agent_traces
  • 1 reply
ยท