Downloads · 30 days
0
0% of all-time downloads
Oyunbat26/LunarLander-v2
LunarLander-v2 is a reinforcement learning model from Oyunbat26. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for stable-baselines3.
This is a trained PPO (Proximal Policy Optimization) agent playing LunarLander-v2.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
20
Public
Repo size
150 KB
Likes
0
Public
Click a slice to open those files.
.zip150 KB · 98%
From the Hugging Face model README
This is a trained PPO (Proximal Policy Optimization) agent playing LunarLander-v2.
from stable_baselines3 import PPO
import gymnasium as gym
# Load the model
model = PPO.load("ppo-LunarLander-v2-modern")
# Create environment
env = gym.make("LunarLander-v2", render_mode="human")
# Play
obs, info = env.reset()
for _ in range(500):
action, _ = model.predict(obs, deterministic=True)
obs, reward, terminated, truncated, info = env.step(action)
if terminated or truncated:
break
env.close()
Trained on LunarLander-v2 using stable-baselines3 with 16 parallel environments. The agent learns to land the lunar module on the moon by controlling thrusters.
MIT