Foundations of RLHF
Introduction to the theory of RLHF, the journey of a token, and the mechanics of aligning LLMs with human preferences.
Core Topics
- RLHF Theory
- Reward Model Training
- Policy Gradients
- Token Lifecycle
Resources
Master Reinforcement Learning with Human Feedback (RLHF) through intensive, hands-on implementation of LLM alignment techniques.
View course on VizuaraThe RLHF From Scratch Workshop is an intensive, hands-on course designed for individuals interested in mastering Reinforcement Learning with Human Feedback (RLHF) within the context of large language models (LLMs).
Participants will explore the fundamental theories of alignment, reward model training, and policy gradients, progressing to advanced applications using PPO and OpenRLHF to build real-world summarization tools.
By the end of this workshop, you will be able to:
Introduction to the theory of RLHF, the journey of a token, and the mechanics of aligning LLMs with human preferences.
Core Topics
Resources
Practical implementation of a supervised language model (SLM) to understand the baseline training process.
Covered
Resources & Assignments
Deep dive into reward model architecture and training using the OpenRLHF framework.
Core Topics
Hands-On Resources
Implementing Proximal Policy Optimization (PPO) to refine model behavior based on reward signals.
Covered
Hands-On Resources
Applying RLHF and PPO to build a functional summarization tool for subjective content.
Core Topics
Resources & Assignments
Analyzing the performance of RL-tuned models versus supervised models using reward distributions.
Covered
Resources
Build and validate a supervised language model from scratch.
Develop an end-to-end RLHF pipeline to summarize subjective Reddit content.
Evaluate and compare the performance of your RL-tuned model against the baseline.