Openrlhf

OpenRLHF is a Ray + vLLM + DeepSpeed RLHF framework for SFT, reward models, DPO and PPO, REINFORCE++, GRPO and RLOO on Hugging Face models. Use to install it (pip, NGC Docker), run `deepspeed --module openrlhf.cli.train_*` or `python3 -m openrlhf.cli.train_ppo_ray`, write reward_func or agent_func files, run hybrid-engine, async or Slurm jobs, merge LoRA, or fix OOM and Ray GPU errors. Not for choosing a method (fine-tuning-llms) or verl/TRL (verl, trl).

ScaleDockHQ Updated

File contents

ScaleDockHQ/llm-skills commit ab28921117

Frequently asked questions

npx get-skill add scaledockhq/openrlhf