trl — Advanced Playground
Transformer Reinforcement Learning: RLHF and PPO for LLMs
Advanced trl techniquesRun locally
Install
pip install trlPython CodeRun locally
These advanced techniques unlock the full power of trl.
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?