Reinforcement Learning from Human Feedback

Coursera MOOC / Non-credit USD 49
Enroll now →
Reinforcement Learning from Human Feedback

About this course

Large language models (LLMs) are trained on human-generated text, but additional methods are needed to align an LLM with human values and preferences. Reinforcement Learning from Human Feedback (RLHF) is currently the main method for aligning LLMs with human values and preferences. RLHF is also used for further tuning a base LLM to align with values and preferences that are specific to your use case. In this course, you will gain a conceptual understanding of the RLHF training process, and then practice applying RLHF to tune an LLM. You will: 1. Explore the two datasets that are used in RLHF training: the “preference” and “prompt” datasets. 2. Use the open source Google Cloud Pipeline Components Library, to fine-tune the Llama 2 model with RLHF. 3. Assess the tuned LLM against the original base model by comparing loss curves and using the “Side-by-Side (SxS)” method.

What you'll learn

  • gain a conceptual understanding of RLHF
  • practice applying RLHF to tune an LLM
  • explore preference and prompt datasets used in RLHF training
  • use the Google Cloud Pipeline Components Library for model fine-tuning
  • assess a tuned model against the base model through loss curves

Course objectives

  • understand how RLHF aligns LLMs with human values
  • apply RLHF techniques to specific use cases
  • utilize datasets and tools in RLHF training

Skills you'll gain

Related courses

Course details are provided by the platform and may change — always confirm on the provider's site. Links may be affiliate links.