WhoBuilt

trl

A Hugging Face library for training transformer language models with reinforcement learning.

Key facts

Built by

Timeline 1

Dated events, newest first. Open the sources under any item.

How we verify
20201 event
  1. Mar 27, 2020Built
    Hugging Face built trl
    Source changed1 source· GitHub· archived

Talks 2

2:42:27
Reinforcement Learning, Kernels, Reasoning, Quantization & Agents

Daniel Han explains how reinforcement learning with verifiable rewards (RLVR) can improve language models, covering reward functions, policy optimization, PPO, and GRPO. He walks through a hands-on GRPO notebook, showing how supervised fine-tuning can prime a model and how reward functions guide training. The talk also covers Unsloth’s memory and speed optimizations, dynamic quantization for language and vision models, and PyTorch’s torch.compile. Throughout, Han emphasizes that designing useful rewards and getting enough compute are central challenges.

Jul 19, 2025· 2 h 42 minMentioned 1:53:44
17:52
Everything you need to know about Fine-tuning and Merging LLMs

Maxime Labonne explains when fine-tuning is useful, how to build and evaluate supervised fine-tuning datasets, and how methods such as LoRA and QLoRA trade performance against training cost. He introduces preference alignment methods, especially DPO, and recommends evaluating data for accuracy, diversity, and task complexity. The talk then covers model merging techniques including SLERP, DARE, passthrough, and FrankenMoE, with examples of merged models and their benchmark results. He recommends MergeKit for experimenting with merges and points viewers to his LLM course notebooks on GitHub.

Sep 25, 2024· 18 minMentioned 3:33