A modular RL library to fine-tune language models to human preferences
☆2,387Mar 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)☆4,745Jan 8, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆18,134Updated this week
- Code for the paper Fine-Tuning Language Models from Human Preferences☆1,387Jul 25, 2023Updated 2 years ago
- Human preference data for "Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback"☆1,840Jun 17, 2025Updated 10 months ago
- A curated list of reinforcement learning with human feedback resources (continually updated)☆4,352Dec 9, 2025Updated 4 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM☆7,870Oct 11, 2025Updated 6 months ago
- Implementation of ChatGPT RLHF (Reinforcement Learning with Human Feedback) on any generation model in huggingface's transformer (blommz-…☆564Updated this week
- Safe RLHF: Constrained Value Alignment via Safe Reinforcement Learning from Human Feedback☆1,597Nov 24, 2025Updated 5 months ago
- Reference implementation for DPO (Direct Preference Optimization)☆2,884Aug 11, 2024Updated last year
- Code for "Learning to summarize from human feedback"☆1,063Sep 5, 2023Updated 2 years ago
- Secrets of RLHF in Large Language Models Part I: PPO☆1,423Mar 3, 2024Updated 2 years ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,981Updated this week
- Aligning pretrained language models with instruction data generated by themselves.☆4,591Mar 27, 2023Updated 3 years ago
- An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Asy…☆9,381Apr 19, 2026Updated last week
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- A simulation framework for RLHF and alternatives. Develop your RLHF method without collecting human data.☆842Jul 1, 2024Updated last year
- Robust recipes to align language models with human and AI preferences☆5,572Apr 8, 2026Updated 2 weeks ago
- Expanding natural instructions☆1,043Dec 11, 2023Updated 2 years ago
- [NIPS2023] RRHF & Wombat☆808Sep 22, 2023Updated 2 years ago
- ☆1,561Apr 18, 2026Updated last week
- Official code from the paper "Offline RL for Natural Language Generation with Implicit Language Q Learning"☆211Jul 31, 2023Updated 2 years ago
- Benchmarking large language models' complex reasoning ability with chain-of-thought prompting☆2,770Aug 4, 2024Updated last year
- [NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation☆476Mar 7, 2024Updated 2 years ago
- Used for adaptive human in the loop evaluation of language and embedding models.☆307Mar 1, 2023Updated 3 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- 800,000 step-level correctness labels on LLM solutions to MATH problems☆2,119Jun 1, 2023Updated 2 years ago
- Instruction Tuning with GPT-4☆4,337Jun 11, 2023Updated 2 years ago
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,259Jul 17, 2024Updated last year
- A framework for few-shot evaluation of language models.☆12,331Updated this week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,107Jan 23, 2026Updated 3 months ago
- Example models using DeepSpeed☆6,819Mar 30, 2026Updated 3 weeks ago
- [EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821☆3,649Oct 16, 2024Updated last year
- A Unified Library for Parameter-Efficient and Modular Transfer Learning☆2,811Mar 21, 2026Updated last month
- General technology for enabling AI capabilities w/ LLMs and MLLMs☆4,351Apr 18, 2026Updated last week
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Toolkit for creating, sharing and using natural language prompts.☆3,008Oct 23, 2023Updated 2 years ago
- Beyond the Imitation Game collaborative benchmark for measuring and extrapolating the capabilities of language models☆3,233Jul 19, 2024Updated last year
- Repo for external large-scale work☆6,541Apr 27, 2024Updated last year
- Ongoing research training transformer models at scale☆16,145Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆8,149Updated this week
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters☆5,927Mar 14, 2024Updated 2 years ago
- AllenAI's post-training codebase☆3,702Updated this week