Skip to main content

A standard format for offline reinforcement learning datasets, with popular reference datasets and related utilities.

Project description

pre-commit Code style: black

Minari 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. This library is currently in beta.

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.

Note: Minari was previously developed under the name Kabuki.

Installation

To install Minari from PyPI:

pip install minari

Note that currently Minari is under a beta release. 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
cd Minari
pip install -e .

Getting Started

For an introduction to Minari, see Basic Usage. To create new datasets using Minari, see our Pointmaze D4RL Dataset tutorial, which re-creates the Maze2D datasets from D4RL.

API

To check available remote datasets:

import minari

minari.list_remote_datasets()

To check available local datasets:

import minari

minari.list_local_datasets()

To download a dataset:

import minari

minari.download_dataset("door-cloned-v1")

To load a dataset:

import minari

dataset = minari.load_dataset("door-cloned-v1")

Project Maintainers

Main Contributors: Rodrigo Perez-Vicente, Omar Younis, John Balis

Maintenance for this project is also contributed by the broader Farama team: farama.org/team.


Minari is a shortening of Minarai, the Japanese word for "learning by observation".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minari-0.4.1.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minari-0.4.1-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file minari-0.4.1.tar.gz.

File metadata

  • Download URL: minari-0.4.1.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for minari-0.4.1.tar.gz
Algorithm Hash digest
SHA256 9f33eb6e691cd0798391efa7df48a0b84ca36b22e8b74c5a4ccba3a797d4447e
MD5 4b84d96d69da1815fc6fd943a41066d8
BLAKE2b-256 4f12f5fca4240831922c61aa4d6c4e516dcad2ef8c87ce98f56f7c047da1b07d

See more details on using hashes here.

File details

Details for the file minari-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: minari-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for minari-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c155362b0b27b397d07de6462a388f97dd6bd692a558c78d297f6e9d450369eb
MD5 43a2eb9de41949f3b174361c8c8980d8
BLAKE2b-256 3b0684ac4a635aeecb0d7b04381dfa19e6cafd758485ff842c61f675565f4329

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page