Spaces:
Sleeping
Sleeping
| # OpenEnv Walkthrough | |
|  | |
| A hands-on guide to building, deploying, and scaling RL environments with [OpenEnv](https://github.com/meta-pytorch/OpenEnv). | |
| ## Guide Structure | |
| | Section | Description | | |
| |---------|-------------| | |
| | [1. Environments](./01-environments.md) | OpenEnv fundamentals, architecture, and OpenSpiel integration | | |
| | [2. Deployment](./02-deployment.md) | Local dev, Docker, and HF Spaces deployment | | |
| | [3. Scaling](./03-scaling.md) | WebSocket scaling and infrastructure benchmarks | | |
| | [4. Training](./04-training.md) | GRPO training with TRL on Wordle | | |
| ## File Structure | |
| ``` | |
| tutorial/ | |
| βββ 01-environments.md # OpenEnv fundamentals and architecture | |
| βββ 02-deployment.md # Local, Docker, and HF Spaces deployment | |
| βββ 03-scaling.md # WebSocket scaling and benchmarks | |
| βββ 04-training.md # GRPO training tutorial | |
| βββ examples/ | |
| βββ OpenEnv_Tutorial.ipynb # Interactive Colab notebook | |
| βββ wordle.py # Wordle environment example | |
| βββ wordle_prompt.txt # System prompt for Wordle | |
| βββ repl_with_llm.py # REPL with LLM example | |
| βββ unsloth_2048.ipynb # Unsloth 2048 environment example | |
| ``` | |
| ## Resources | |
| | Resource | Link | | |
| |----------|------| | |
| | OpenEnv Repository | [github.com/meta-pytorch/OpenEnv](https://github.com/meta-pytorch/OpenEnv) | | |
| | Environment Hub | [huggingface.co/collections/openenv](https://huggingface.co/collections/openenv/environment-hub) | | |
| | TRL Integration Docs | [huggingface.co/docs/trl/openenv](https://huggingface.co/docs/trl/openenv) | | |
| | Scaling Experiments | [github.com/burtenshaw/openenv-scaling](https://github.com/burtenshaw/openenv-scaling) | |