Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

Commit

Permalink
Merge pull request #25 from facebookresearch/samvelyan/docs
Browse files Browse the repository at this point in the history
Updating docs
  • Loading branch information
samvelyan authored Oct 7, 2021
2 parents c8abde4 + b0bb6d5 commit 78611a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion docs/about/references.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# References

- MiniHack is open-source and available on [GitHub](https://github.com/facebookresearch/minihack).
- Check out the MiniHack [NeurIPS 2021 paper](https://openreview.net/pdf?id=skFwlyefkWJ).
- Read our recent [Facebook AI Research blogpost](https://ai.facebook.com/blog/minihack-a-new-sandbox-for-open-ended-reinforcement-learning).
- Check out the MiniHack [NeurIPS 2021 paper](https://arxiv.org/abs/2109.13202).
14 changes: 6 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
![](imgs/minihack.png)

MiniHack is a sandbox framework for easily designing rich and diverse environments for Reinforcement Learning (RL).
Based on the game of [NetHack](./about/nethack), arguably the hardest grid-based game in the world, MiniHack uses the [NetHack Learning Environment (NLE)](https://github.com/facebookresearch/nle) to provide a convenient interface for customly created RL testbeds.
Based on the game of [NetHack](./about/nethack), MiniHack uses the [NetHack Learning Environment (NLE)](https://github.com/facebookresearch/nle) to communicate with the game and to provide a convenient interface for customly created RL training and test environments of varying complexity. Check out our [NeurIPS 2020 paper](https://arxiv.org/abs/2109.13202) and recent [blogpost](https://ai.facebook.com/blog/minihack-a-new-sandbox-for-open-ended-reinforcement-learning).

MiniHack comes with a large list of challenging [tasks](./envs/tasks.md). However, it is primarily built for easily designing new ones.
The motivation behind MiniHack is to be able to perform RL experiments in a controlled setting while being able to increasingly scale the complexity of the tasks.
MiniHack already comes with a large list of challenging tasks.
However, it is primarily built for easily designing new ones.
The motivation behind MiniHack is to be able to perform RL
experiments in a controlled setting while being able to increasingly
scale the complexity of the tasks.

To this end, MiniHack leverages the [description files](./getting-started/des_files) of NetHack. The description files (or des-files) are human-readable specifications of levels: distributions of grid layouts together with monsters, objects on the floor, dungeon features, etc. The developers of NetHack created a special domain-specific language for describing the levels of the game, called _des-file format_. The des-files can be compiled into binary using the NetHack level compiler, and MiniHack maps them to [Gym environments](https://github.com/openai/gym).

![](imgs/des_file.gif)
To do this, MiniHack leverages the so-called [description files](https://nethackwiki.com/wiki/Des-file_format) written using a human-readable probabilistic-programming-like domain-specific language. With just a few lines of code, people can generate a large variety of [Gym](https://github.com/openai/gym) environments, controlling every little detail, from the location and types of monsters, to the traps, objects, and terrain of the level, all while introducing randomness that challenges generalization capabilities of RL agents.

This documentation will walk you through everything you need to know, step-by-step.
Start with [installing MiniHack](getting-started/installation), [try it out](getting-started/trying_out), [design new envirionments](getting-started/interface) and [train RL agents](agents/torchbeast).

![](imgs/des_file.gif)


```{toctree}
:hidden: true
Expand Down

0 comments on commit 78611a3

Please sign in to comment.