Shortcuts

OpenRL Introduction

OpenRL Reinforcement Learning Framework

OpenRL is a reinforcement learning research framework based on PyTorch developed by the Reinforcement Learning Team of 4Paradigm. It provides a simple and easy-to-use interface that allows you to easily access different reinforcement learning environments. Currently, OpenRL framework has the following features:

  1. Simple and easy-to-use training interface, reducing the learning and usage costs of researchers.

  2. Support both single-agent and multi-agent algorithms.

  3. Support offline RL algorithms.

  4. Support Self-Play training.

  5. Support reinforcement learning training for natural language tasks (such as dialogue tasks).

  6. Support DeepSpeed training。

  7. Support Arena , which allows convenient evaluation of various agents in a competitive environment. Support local testing of submissions to the JiDi platform.

  8. Support model import from Hugging Face. Support loading Stable-baselines3 models from Hugging Face for testing and training.

  9. Support models such as LSTM, GRU, Transformer, etc.

  10. Support various training accelerations, such as mixed precision training, data collecting with half-precision policy network, etc.

  11. Support gymnasium environments.

  12. Support dictionary-type observation input.

  13. Support popular machine learning training visualization platforms such as wandb and tensorboardX .

  14. Support serial and parallel training of environments while ensuring consistent performance under both scenarios.

  15. Provides code coverage testing and unit testing.

In the following section on Quick Start , we will introduce how to install the OpenRL framework, and demonstrate how to use OpenRL through simple examples.

Users can also check the algorithms and environments supported by OpenRL, as well as obtain corresponding code in the Gallery.

Citing OpenRL

If our work is helpful to you, please cite us:

@article{huang2023openrl,
    title={OpenRL: A Unified Reinforcement Learning Framework},
    author={Huang, Shiyu and Chen, Wentse and Sun, Yiwen and Bie, Fuqing and Tu, Wei-Wei},
    journal={arXiv preprint arXiv:2312.16189},
    year={2023}
}
Read the Docs v: latest
Versions
latest
stable
main
v0.0.13
v0.0.6
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.