Latest / AI & agents

LLM-RLHF-Tuning-with-PPO-and-DPO

github.com · Open source · Active

Toolkit for RLHF training with PPO and DPO

Visit github.com ↗Share

  • rlhf
  • ppo
  • dpo
  • rlhf training
  • dpo fine tuning
  • ppo llm training
  • reward model training
  • llm preference tuning
Stars
195
Forks
19
Open issues
3
Last commit
Releases
1
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

A Python toolkit for reinforcement learning from human feedback, covering instruction fine-tuning, reward model training, and both PPO and DPO algorithms. Its description lists configurations for Qwen 3.0 and other Transformer models. It suits ML practitioners who want one codebase for preference tuning.

Repository description on GitHub: “Comprehensive toolkit for Reinforcement Learning from Human Feedback (RLHF) training, featuring instruction fine-tuning, reward model training, and support for PPO and DPO algorithms with various configurations for the Transformer 5 models including Qwen 3.0”

What it does

  • Supervised fine-tuning with LoRA, QLoRA and sequence packing
  • Reward model training with pairwise Bradley-Terry loss
  • PPO, DPO, KTO and GRPO-family trainers in one codebase

Good for

  • Fine-tune a Qwen3 model on conversational data with LoRA
  • Train a reward model from pairwise preference data
  • Compare DPO loss variants on the same preference dataset

Suits: ML practitioners tuning language models with preference data.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw LLM-RLHF-Tuning-with-PPO-and-DPO on , when rags1 posted it to Show HN. The oldest published release on GitHub is v2.0.0, dated . Its first tagged release came 879 days after it was found.

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 30 points, 9 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 30 points, 9 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: raghavc/LLM-RLHF-Tuning-with-PPO-and-DPO
  2. Found: rags1 posted it to Show HN. Show HN
  3. Release v2.0.0
  4. Day-7 check recorded by Kip (details)
  5. Day-30 check recorded by Kip (details)

Quick answers

When was LLM-RLHF-Tuning-with-PPO-and-DPO released?
Its first tagged release on GitHub is dated 14 Aug 2026. Kip found it on Show HN on 18 Mar 2024.
Is LLM-RLHF-Tuning-with-PPO-and-DPO open source?
Its source is public on GitHub at raghavc/LLM-RLHF-Tuning-with-PPO-and-DPO; check the repository for licence terms.
What does LLM-RLHF-Tuning-with-PPO-and-DPO run on?
Library.
Is LLM-RLHF-Tuning-with-PPO-and-DPO free?
It is open source, so the code is free to read and run; check the licence for terms.
Is LLM-RLHF-Tuning-with-PPO-and-DPO still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryraghavc/LLM-RLHF-Tuning-with-PPO-and-DPO
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-39748603. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.