A modular RL library to fine-tune language models to human preferences
☆2,382Mar 1, 2024Updated 2 years ago
Alternatives and similar repositories for RL4LMs
Users that are interested in RL4LMs are comparing it to the libraries listed below
Sorting:
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)☆4,736Jan 8, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆17,608Updated this week
- Code for the paper Fine-Tuning Language Models from Human Preferences☆1,380Jul 25, 2023Updated 2 years ago
- Human preference data for "Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback"☆1,824Jun 17, 2025Updated 8 months ago
- A curated list of reinforcement learning with human feedback resources (continually updated)☆4,325Dec 9, 2025Updated 3 months ago
- Aligning pretrained language models with instruction data generated by themselves.☆4,588Mar 27, 2023Updated 2 years ago
- Reference implementation for DPO (Direct Preference Optimization)☆2,861Aug 11, 2024Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,761Updated this week
- An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & TIS & vLLM & Ray & Async RL)☆9,145Updated this week
- Implementation of ChatGPT RLHF (Reinforcement Learning with Human Feedback) on any generation model in huggingface's transformer (blommz-…☆564May 9, 2024Updated last year
- Safe RLHF: Constrained Value Alignment via Safe Reinforcement Learning from Human Feedback☆1,589Nov 24, 2025Updated 3 months ago
- Secrets of RLHF in Large Language Models Part I: PPO☆1,418Mar 3, 2024Updated 2 years ago
- Robust recipes to align language models with human and AI preferences☆5,522Sep 8, 2025Updated 6 months ago
- Expanding natural instructions☆1,035Dec 11, 2023Updated 2 years ago
- ☆1,560Feb 20, 2026Updated 3 weeks ago
- Code for "Learning to summarize from human feedback"☆1,062Sep 5, 2023Updated 2 years ago
- A simulation framework for RLHF and alternatives. Develop your RLHF method without collecting human data.☆842Jul 1, 2024Updated last year
- [NIPS2023] RRHF & Wombat☆809Sep 22, 2023Updated 2 years ago
- Benchmarking large language models' complex reasoning ability with chain-of-thought prompting☆2,768Aug 4, 2024Updated last year
- Official code from the paper "Offline RL for Natural Language Generation with Implicit Language Q Learning"☆211Jul 31, 2023Updated 2 years ago
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,040Jan 23, 2026Updated last month
- General technology for enabling AI capabilities w/ LLMs and MLLMs☆4,293Dec 22, 2025Updated 2 months ago
- A framework for few-shot evaluation of language models.☆11,618Mar 5, 2026Updated last week
- A Unified Library for Parameter-Efficient and Modular Transfer Learning☆2,802Mar 1, 2026Updated last week
- [EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821☆3,643Oct 16, 2024Updated last year
- Instruction Tuning with GPT-4☆4,339Jun 11, 2023Updated 2 years ago
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,271Jul 17, 2024Updated last year
- [NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation☆475Mar 7, 2024Updated 2 years ago
- 800,000 step-level correctness labels on LLM solutions to MATH problems☆2,096Jun 1, 2023Updated 2 years ago
- Repo for external large-scale work☆6,543Apr 27, 2024Updated last year
- Toolkit for creating, sharing and using natural language prompts.☆3,005Oct 23, 2023Updated 2 years ago
- Used for adaptive human in the loop evaluation of language and embedding models.☆308Mar 1, 2023Updated 3 years ago
- Beyond the Imitation Game collaborative benchmark for measuring and extrapolating the capabilities of language models☆3,211Jul 19, 2024Updated last year
- Ongoing research training transformer models at scale☆15,647Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆8,033Updated this week
- Example models using DeepSpeed☆6,805Mar 4, 2026Updated last week
- ☆2,951Updated this week
- AllenAI's post-training codebase☆3,614Updated this week
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters☆5,931Mar 14, 2024Updated 2 years ago