Rl Rlhf Frameworks

Expert RL / RLHF / RLAIF post-training for LLMs at production scale — reward modeling, PPO, DPO, GRPO, RLOO, KTO, ORPO, RLAIF/Constitutional AI, rejection sampling / best-of-n, on- vs off-policy, KL control and the reference model. Use when building or debugging an RLHF/RLAIF pipeline, choosing between PPO/DPO/GRPO, picking a framework (TRL, veRL/HybridFlow, OpenRLHF, NeMo-Aligner/NeMo-RL, RLlib, TRLX, MaxText-RL), wiring the generate→score→update loop, budgeting memory across policy/reference/ reward/critic copies, splitting rollout (vLLM/SGLang) from learner (FSDP/Megatron), doing weight resharding, placing actors/learners colocated vs disaggregated on Ray/Kubernetes, or fighting reward hacking, training instability, and the generation-throughput bottleneck. Covers preference-data handling, eval, and a PPO-vs-DPO-vs-GRPO and framework decision guide.

sanjeevrg89 76c75e7 5 files · 42.7 KB Updated

File contents

sanjeevrg89/arete/tree/main/skills/rl-rlhf-frameworks commit 76c75e778c

Frequently asked questions

npx skillmds@latest add sanjeevrg89/rl-rlhf-frameworks