🌾 OAT: A research-friendly framework for LLM online alignment, including reinforcement learning, preference learning, etc.
669
stars
68
commits
Python
primary language
Jan 29, 2026
updated
Installation | Usage | Examples | Citation
Oat 🌾 is a simple yet efficient framework for running online LLM alignment algorithms. Its key features include:
Oracle served online, we can flexibly query it for preference data labeling as well as anytime model evaluation. All you need is to launch experiments and monitor real-time learning curves (e.g., win rate) on wandb (see reproduced results) — no need for manual training, checkpointing and loading for evaluation.In a python environment with supported versions (we recommend 3.10), you could install oat via PyPI:
pip install vllm==0.8.4 && pip install -U oat-llm
Or you could also install in "editable" mode for local development:
git clone git@github.com:sail-sg/oat.git
cd oat
pip install vllm==0.8.4 && pip install -e .
R1-Zero-like training using Dr. GRPO for math reasoning: a single-file self-contained implementation with training script.
Multi-turn SFT: an example training script.
Online preference learning with active exploration: a detailed guide.
Research projects that are built (or integrated) with Oat 🌾:
If you find this codebase useful for your research, please consider citing:
LLM online alignment framework:
@misc{liu2024oat,
title={OAT: A research-friendly framework for LLM online alignment},
author={Liu, Zichen and Chen, Changyu and Wan, Xinyi and Du, Chao and Lee, Wee Sun and Lin, Min},
year={2024}
howpublished={\url{https://github.com/sail-sg/oat}},
}
Online exploration method:
@article{liu2024sea,
title={Sample-Efficient Alignment for LLMs},
author={Liu, Zichen and Chen, Changyu and Du, Chao and Lee, Wee Sun and Lin, Min},
journal={arXiv preprint arXiv:2411.01493},
year={2024}
}
oat is distributed under the terms of the Apache2 license.
We thank the following awesome projects that have contributed to the development of oat:
This is not an official Sea Limited or Garena Online Private Limited product.
Python
97.3%
Shell
2.5%
🌾 OAT: A research-friendly framework for LLM online alignment, including reinforcement learning, preference learning, etc.
669
stars
68
commits
Python
primary language
Jan 29, 2026
updated
Installation | Usage | Examples | Citation
Oat 🌾 is a simple yet efficient framework for running online LLM alignment algorithms. Its key features include:
Oracle served online, we can flexibly query it for preference data labeling as well as anytime model evaluation. All you need is to launch experiments and monitor real-time learning curves (e.g., win rate) on wandb (see reproduced results) — no need for manual training, checkpointing and loading for evaluation.In a python environment with supported versions (we recommend 3.10), you could install oat via PyPI:
pip install vllm==0.8.4 && pip install -U oat-llm
Or you could also install in "editable" mode for local development:
git clone git@github.com:sail-sg/oat.git
cd oat
pip install vllm==0.8.4 && pip install -e .
R1-Zero-like training using Dr. GRPO for math reasoning: a single-file self-contained implementation with training script.
Multi-turn SFT: an example training script.
Online preference learning with active exploration: a detailed guide.
Research projects that are built (or integrated) with Oat 🌾:
If you find this codebase useful for your research, please consider citing:
LLM online alignment framework:
@misc{liu2024oat,
title={OAT: A research-friendly framework for LLM online alignment},
author={Liu, Zichen and Chen, Changyu and Wan, Xinyi and Du, Chao and Lee, Wee Sun and Lin, Min},
year={2024}
howpublished={\url{https://github.com/sail-sg/oat}},
}
Online exploration method:
@article{liu2024sea,
title={Sample-Efficient Alignment for LLMs},
author={Liu, Zichen and Chen, Changyu and Du, Chao and Lee, Wee Sun and Lin, Min},
journal={arXiv preprint arXiv:2411.01493},
year={2024}
}
oat is distributed under the terms of the Apache2 license.
We thank the following awesome projects that have contributed to the development of oat:
This is not an official Sea Limited or Garena Online Private Limited product.
Python
97.3%
Shell
2.5%