Home Projects RL4LMs
RL4LMs
Python

RL4LMs

A modular RL library to fine-tune language models to human preferences

by allenai · GitHub
Stars
Forks
License
Created
Last commit
Language
dialogue-generationlanguage-modelingmachine-translationApache-2.0Python
View on GitHub
In plain words

Customize and improve language models to better match human preferences using a modular toolkit.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
RL4LMs — GitHub preview card
📈 Star history
2 3942 393
2026-07-202026-08-31
📈 Track RL4LMs

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

A modular RL library to fine-tune language models to human preferences

RL4LMs has 2.4k stars on GitHub. It has been forked 201 times. RL4LMs is written mainly in Python. It has been in active development since 2022. RL4LMs is available under the Apache-2.0 license. Its main topics are dialogue-generation, language-modeling, machine-translation, natural-language-processing.

Frequently asked questions

What is RL4LMs?

A modular RL library to fine-tune language models to human preferences

Is RL4LMs open source?

RL4LMs is an open-source project. It is released under the Apache-2.0 license.

Is RL4LMs free?

Yes. RL4LMs is free and open source — you can use, modify and self-host it.

What license does RL4LMs use?

RL4LMs is available under the Apache-2.0 license.

What language is RL4LMs written in?

RL4LMs is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — RL4LMs

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=allenai-rl4lms)](https://olud.ai/project/allenai-rl4lms.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.