Grpo Finetune

hf-notebooksenchapter13course

Finetune LLMs with GRPO

This notebook shows how to finetune an LLM with GRPO, using the trl library.

It's by Ben Burtenshaw and Maxime Labonne.

This is a minimal example. For a complete example, refer to the GRPO chapter in the course.

Install dependencies

[ ]

Load Dataset

[ ]

Load Model

[ ]

Define Reward Function

[ ]

Define Training Arguments

[ ]

Push Model to Hub

[ ]

Generate Text

[ ]
[ ]