Downloads · 30 days
0
AntonDergunov/LunarLander_PPO
LunarLander_PPO is a reinforcement learning model from AntonDergunov. 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 model was trained with PPO using Stable-Baselines3 on LunarLander-v3.
Downloads · 30 days
0
Access
Public
Updated Oct 5, 2025
Repo size
1.4 MB
Likes
0
Public
Click a slice to open those files.
.mp4301 KB · 66%
From the Hugging Face model README
This model was trained with PPO using Stable-Baselines3 on LunarLander-v3.
import gymnasium as gym
from stable_baselines3 import PPO
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="AntonDergunov/LunarLander_PPO", filename="model.zip")
model = PPO.load(model_path, device="cpu")
env = gym.make("LunarLander-v3")
obs, info = env.reset()
for _ in range(1000):
action, _ = model.predict(obs, deterministic=True)
obs, reward, terminated, truncated, info = env.step(action)
if terminated or truncated:
obs, info = env.reset()