Spaces:
Sleeping
Sleeping
File size: 1,790 Bytes
9ef5507 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # 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) | |