Lightning-AI / Lightning-AI/litgpt

Adding RLHF support

Open
#557 5 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement fine-tuning wontfix
Dominant language
Python
Stars
13.7k
Forks
1.5k
Avg merge
15h 37m
Merged PRs (30d)
1

Description

I just see that we don't have an open issue for RLHF support, yet. I think this is a super important feature since latest models like Llama 2 showed that it's really worthwhile. I can also see that we will see more demand for this in the upcoming months, and it'd be nice to add this to the roadmap.

We could potentially look into https://github.com/Eclectic-Sheep/sheeprl for this. Looks like the project itself is using Fabric itself.

I would suggest only focus on PPO for now though.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the project's existing pretraining and finetuning support, then use the linked sheeprl project as the suggested reference for defining a PPO-only RLHF scope. Done is not testable from this issue yet; it needs concrete acceptance criteria first.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.