Topics / #rlhf
Rlhf projects on GitHub
Reinforcement learning from human feedback for aligning language model behavior.
As of , the most-starred Rlhf projects on GitHub are LlamaFactory (76.3K stars), dive-into-llms (60.4K stars) and ColossalAI (41.4K stars). GitHub.Locker tracks 20 Rlhf repositories with 391.4K stars combined. The fastest-growing on December 1 was halo, with +474 stars in a day.
Hot right now
Most stars gained in a day · Dec 1
+474halo
whitecircle/halo · ★ 1.3KHalo is an open-source framework from White Circle for training large language and multimodal models: pre-training, SFT, preference optimization, and fully asynchronous multi-turn RL in one codebase, from a single GPU up to multi-node clusters.
dive-into-llms
Lordog/dive-into-llms · ★ 60.4KIt's a free Chinese-language tutorial series called 'Dive into LLMs' (《动手学大模型》) that teaches large language model concepts through hands-on coding exercises, built from Shanghai Jiao Tong University's NLP and AI-security course materials.
+18LlamaFactory
hiyouga/LlamaFactory · ★ 76.3KLlamaFactory unifies efficient fine-tuning of 100+ large language models and vision-language models in one Python toolkit, published as an ACL 2024 paper.
verl
verl-project/verl · ★ 24.3Kverl is a flexible, efficient and production-ready reinforcement learning training library for LLMs, initiated by ByteDance's Seed team and maintained by the community. It is the open-source version of the HybridFlow paper (EuroSys 2025).
The all-time top
20 projects · by stars
- 76.3K
#1 · hiyouga/LlamaFactoryLlamaFactory
LlamaFactory unifies efficient fine-tuning of 100+ large language models and vision-language models in one Python toolkit, published as an ACL 2024 paper.
- 60.4K
#2 · Lordog/dive-into-llmsdive-into-llms
It's a free Chinese-language tutorial series called 'Dive into LLMs' (《动手学大模型》) that teaches large language model concepts through hands-on coding exercises, built from Shanghai Jiao Tong University's NLP and AI-security course materials.
- 41.4K
#3 · hpcaitech/ColossalAIColossalAI
Colossal-AI is an open-source system for training and running large AI models more cheaply, faster and with less hardware, by providing a toolbox of parallelism and memory-optimization techniques.
- 4

open-r1
26.5Khuggingface/open-r1 · PythonOpen R1 is a fully open effort to reproduce the training pipeline behind DeepSeek-R1, providing scripts to run SFT and GRPO training, generate synthetic reasoning data, and evaluate the resulting reasoning models.
- 5

llm-action
25.3Kliguodongiot/llm-action · HTMLIt is a Chinese-language hub of in-depth tutorials on large language model engineering: training, fine-tuning, distributed training, inference, compression, evaluation, data engineering, LLMOps and AI infrastructure, organized as a big index linking the author's article series, many with companion code.
- 6
verl
24.3Kverl-project/verl · Pythonverl is a flexible, efficient and production-ready reinforcement learning training library for LLMs, initiated by ByteDance's Seed team and maintained by the community. It is the open-source version of the HybridFlow paper (EuroSys 2025).
- 7

peft
21.9Khuggingface/peft · PythonHugging Face's library of Parameter-Efficient Fine-Tuning methods: you adapt a large pretrained model by training only a small number of extra parameters instead of all of them, which slashes compute and storage costs.
- 8

trl
19.8Khuggingface/trl · PythonTRL (Transformers Reinforcement Learning) is a Hugging Face library for post-training foundation models — fine-tuning them with techniques like SFT, GRPO and DPO on top of the Transformers stack.
- 9

ms-swift
16.1Kmodelscope/ms-swift · Pythonms-swift is the ModelScope community's fine-tuning and deployment framework for LLMs and multimodal models, covering training, inference, evaluation, quantization and deployment in one pipeline.
- 10

llm_interview_note
15.4Kwdndev/llm_interview_note · HTMLThis is a curated Chinese-language knowledge base of large language model (LLM) concepts and interview questions, aimed at algorithm/application engineers preparing for LLM-related job interviews.
- 11

train-llm-from-scratch
13.3KFareedKhan-dev/train-llm-from-scratch · PythonA from-scratch tutorial and codebase for training your own LLM end to end: tokenizing raw text, pretraining a GPT-style Transformer, and then post-training it with SFT, a reward model, DPO/ORPO/KTO, PPO and GRPO into an aligned, reasoning-style assistant.
- 12

ludwig
11.8Kludwig-ai/ludwig · PythonLudwig is a declarative deep learning framework that lets you train, fine-tune, and deploy AI models — from LLM fine-tuning to tabular classification — using a YAML config file and zero boilerplate Python.
- 13

amazon-sagemaker-examples
11Kaws/amazon-sagemaker-examples · Jupyter NotebookA collection of official Jupyter notebooks from AWS that demonstrate how to build, train, and deploy machine learning models using Amazon SageMaker.
- 14

nlp_course
10.8Kyandexdataschool/nlp_course · Jupyter NotebookThis is the Yandex School of Data Analysis (YSDA) Natural Language Processing course: a full set of lecture slides, seminar notebooks, and homework assignments organized by week, covering NLP from word embeddings through modern LLM topics.
- 15

OpenClaw-RL
5.7KGen-Verse/OpenClaw-RL · PythonOpenClaw-RL is a fully asynchronous reinforcement learning framework that turns everyday conversations with an agent into training signals, letting you train a personalized OpenClaw agent just by talking to it, or train general agents for terminal, GUI, SWE, and tool-call tasks.
- 16
hands-on-modern-rl
4.9Kwalkinglabs/hands-on-modern-rl · Jupyter NotebookHands-On Modern RL is an open-source course and book that walks learners from basic reinforcement learning concepts through LLM alignment (RLHF, DPO, GRPO, RLVR) and into advanced agentic systems, combining theory with runnable code.
- 17

diy-llm
3Kdatawhalechina/diy-llm · Jupyter NotebookDiy-LLM is a Chinese-language adaptation of Stanford's CS336 course that teaches you to build a large language model from scratch, covering pre-training data, tokenizers, Transformers, MoE, distributed training, scaling laws, inference and alignment through 6 progressive coding assignments.
- 18

30u30
1.8KOjhaharsh/30u30 · Python30u30 is a free, open-source study guide that walks through the 30 foundational AI papers recommended by Ilya Sutskever, one paper per day, each paired with a full from-scratch implementation, notes, and exercises.
- 19

halo
1.3Kwhitecircle/halo · PythonHalo is an open-source framework from White Circle for training large language and multimodal models: pre-training, SFT, preference optimization, and fully asynchronous multi-turn RL in one codebase, from a single GPU up to multi-node clusters.
- 20
EvoTrace
281jinzijian/EvoTrace · PythonEvoTrace mines the Claude Code and Codex coding-agent sessions already on your machine, finds the ones worth keeping, and compiles them into verified, reusable post-training assets: preference data, replayable coding tasks, RL environments, and execution-reward candidates.
Related topics
Often tagged together
- deep-learning581
- fine-tuning175
- machine-learning766
- llm1,587
- python2,382
- reinforcement-learning136
- pytorch347
- gpu798
- transformers87
- lora83
- quantization191
- tutorial422
- distributed-training33
- grpo17
- large-language-models209
- research691
- ai2,005
- apache-2.01,439
- cuda382
- education664
- framework713
- huggingface349
- linux4,252
- nlp170