suhaas-code
Add 4th grader (Soil Health) and fix pyproject.toml package discovery
9ef5507

OpenEnv Walkthrough

OpenEnv Walkthrough

A hands-on guide to building, deploying, and scaling RL environments with OpenEnv.

Guide Structure

Section Description
1. Environments OpenEnv fundamentals, architecture, and OpenSpiel integration
2. Deployment Local dev, Docker, and HF Spaces deployment
3. Scaling WebSocket scaling and infrastructure benchmarks
4. Training 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
Environment Hub huggingface.co/collections/openenv
TRL Integration Docs huggingface.co/docs/trl/openenv
Scaling Experiments github.com/burtenshaw/openenv-scaling