A standard format for offline reinforcement learning datasets, with popular reference datasets and related utilities.
Actively maintained. Last release 6 days ago, commits in 11 of the last 26 weeks. A safe choice.
pip install minariMinari is a Python library for conducting research in offline reinforcement learning, akin to an offline version of Gymnasium or an offline RL version of HuggingFace's datasets library.
The documentation website is at minari.farama.org. We also have a public discord server (which we use for Q&A and to coordinate development work) that you can join here: https://discord.gg/bnJ6kubTg6.
Installation
To install Minari from PyPI:
pip install minari
This will install the minimum required dependencies. Additional dependencies will be prompted for installation based on your use case. To install all dependencies at once, use:
pip install "minari[all]"
If you'd like to start testing or contribute to Minari please install this project from source with:
git clone https://github.com/Farama-Foundation/Minari.git --single-branch
cd Minari
pip install -e ".[all]"
Command Line API
To check available remote datasets:
minari list remote
To download a dataset:
minari download D4RL/door/human-v2