GithubHelp home page GithubHelp logo

siddargu / minari Goto Github PK

View Code? Open in Web Editor NEW

This project forked from farama-foundation/minari

0.0 0.0 0.0 1.03 MB

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

Home Page: https://minari.vercel.app

License: Other

C++ 0.54% Python 45.23% Cython 54.23%

minari's Introduction

Minari is the new name of this library. Minari used to be called Kabuki.

Minari is intended to be 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, and we're targeting having a complete initial release in February

We have a public discord server (which we also use to coordinate development work) that you can join here: https://discord.gg/jfERDCSw.

Installation

pip install numpy cython

pip install git+https://github.com/Farama-Foundation/Minari.git

Downloading datasets

import minari

dataset = minari.download_dataset("LunarLander_v2_remote-test-dataset")

Recreating Gymnasium environments (Coming very soon!)

import json
import gymnasium as gym
from gymnasium.utils.serialize_spec_stack import deserialise_spec_stack

env = gym.make(deserialise_spec_stack(json.loads(dataset.environment_stack)))

Uploading datasets

dataset.save()
dataset = minari.upload_dataset("LunarLander_v2_remote-test-dataset")

Saving to dataset format

It is not the aim of Minari to insist that you use a certain buffer implementation. However, in order to maintain standardisation across the library, we have a standardised format, the MinariDataset class, for saving replay buffers to file.

This converter will have tests to ensure formatting standards

Checking available remote datasets

import minari

minari.list_remote_datasets()

Checking available local datasets

import minari
minari.list_local_datasets()

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.