A modular RL library to fine-tune language models to human preferences
☆2,380Mar 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,738Jan 8, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆17,460Updated this week
- Code for the paper Fine-Tuning Language Models from Human Preferences☆1,378Jul 25, 2023Updated 2 years ago
- Human preference data for "Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback"☆1,818Jun 17, 2025Updated 8 months ago
- A curated list of reinforcement learning with human feedback resources (continually updated)☆4,306Dec 9, 2025Updated 2 months ago
- Aligning pretrained language models with instruction data generated by themselves.☆4,580Mar 27, 2023Updated 2 years ago
- Reference implementation for DPO (Direct Preference Optimization)☆2,859Aug 11, 2024Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,717Updated 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,084Updated 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,416Mar 3, 2024Updated 2 years ago
- Robust recipes to align language models with human and AI preferences☆5,510Sep 8, 2025Updated 5 months ago
- Expanding natural instructions☆1,035Dec 11, 2023Updated 2 years ago
- ☆1,560Feb 20, 2026Updated last week
- Code for "Learning to summarize from human feedback"☆1,060Sep 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,766Aug 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,030Jan 23, 2026Updated last month
- General technology for enabling AI capabilities w/ LLMs and MLLMs☆4,292Dec 22, 2025Updated 2 months ago
- A framework for few-shot evaluation of language models.☆11,540Updated this week
- A Unified Library for Parameter-Efficient and Modular Transfer Learning☆2,801Updated this week
- [EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821☆3,641Oct 16, 2024Updated last year
- Instruction Tuning with GPT-4☆4,341Jun 11, 2023Updated 2 years ago
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,271Jul 17, 2024Updated last year
- 800,000 step-level correctness labels on LLM solutions to MATH problems☆2,094Jun 1, 2023Updated 2 years ago
- [NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation☆475Mar 7, 2024Updated last year
- Repo for external large-scale work☆6,543Apr 27, 2024Updated last year
- Toolkit for creating, sharing and using natural language prompts.☆2,998Oct 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,207Jul 19, 2024Updated last year
- Accessible large language models via k-bit quantization for PyTorch.☆7,997Feb 26, 2026Updated last week
- Ongoing research training transformer models at scale☆15,461Updated this week
- Example models using DeepSpeed☆6,791Feb 7, 2026Updated 3 weeks ago
- ☆2,946Jan 15, 2026Updated last month
- AllenAI's post-training codebase☆3,605Updated this week
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters☆5,936Mar 14, 2024Updated last year