Downloads · 30 days
9
64% of all-time downloads
Creador270/ppo-LunarLander-v2_hello_RL
ppo-LunarLander-v2_hello_RL is a reinforcement learning model from Creador270. 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. The card lists the license as mit.
This is a trained model of a PPO agent playing LunarLander-v2 using the stable-baselines3 library.
Downloads · 30 days
9
64% of all-time downloads
All-time downloads
14
Public
Repo size
280 KB
Likes
0
Public
Click a slice to open those files.
.mp4155 KB · 33%
From the Hugging Face model README
This is a trained model of a PPO agent playing LunarLander-v2 using the stable-baselines3 library.
TODO: Add to your code
import gymnasium as gym
from stable_baselines3 import PPO
from huggingface_sb3 import load_from_hub
checkpoint_model = load_from_hub(
repo_id="Creador270/ppo-LunarLander-v2_hello_RL",
filename="ppo-LunarLander-v2_hello_RL_2.zip",
model = PPO.load(checkpoint_model) #The model you will be using
env = gym.make("LunarLander-v2")
observation, info = env.reset()
#It must be deterministic because, in the action space, we can only choose between which motor must be activated
action, _states = model.predict(observation, deterministic=True)
)