Instructions to use rabitrabi/ppo-LunarLander-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use rabitrabi/ppo-LunarLander-v2 with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="rabitrabi/ppo-LunarLander-v2", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
PPO for LunarLander-v2
A PPO agent trained from scratch for 737,280 environment steps for Unit 1 of the Hugging Face Deep Reinforcement Learning Course. It selects among four discrete actions to land on the pad.
Evaluation
Across 50 deterministic policy rollouts with environment seeds 58000 through 58049, mean episode return was 256.75 and population standard deviation was 20.54. The course score (mean minus standard deviation) was 236.20. Checkpoint selection used a separate set of 12 seeds. Per-episode returns are in evaluation.json.
Reproduce
Install the dependencies from requirements.txt, then run python train.py. To render the first evaluation episode from the saved checkpoint, install FFmpeg and run python replay.py.
- Downloads last month
- 21
Evaluation results
- Mean reward on LunarLander-v2self-reported256.75 +/- 20.54