Downloads · 30 days
0
0% of all-time downloads
CptAdolito69/ppo-seals-Hopper-v1
ppo-seals-Hopper-v1 is a reinforcement learning model from CptAdolito69. 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 model of a PPO agent playing seals/Hopper-v1 using the stable-baselines3 library.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
28
Public
Repo size
1.8 MB
Likes
0
Public
Click a slice to open those files.
.mp41.5 MB · 84%
From the Hugging Face model README
This is a trained model of a PPO agent playing seals/Hopper-v1 using the stable-baselines3 library.
The agent was trained for ~18M timesteps and reaches a mean episodic reward of
3333.21 ± 354.25 over the last 100 training episodes (episodes have a fixed
horizon of 1000 steps, as defined by the seals suite).
<video controls src="https://huggingface.co/CptAdolito69/ppo-seals-Hopper-v1/resolve/main/replay.mp4" width="480"></video>
from huggingface_sb3 import load_from_hub
from stable_baselines3 import PPO
# Download the model from the Hub
checkpoint = load_from_hub(
repo_id="CptAdolito69/ppo-seals-Hopper-v1",
filename="ppo-seals-Hopper-v1.zip",
)
model = PPO.load(checkpoint)
# Run it (requires `seals` + a MuJoCo backend installed)
import gymnasium as gym
import seals # noqa: F401 registers the seals/* environments
env = gym.make("seals/Hopper-v1")
obs, _ = env.reset(seed=42)
done = False
while not done:
action, _ = model.predict(obs, deterministic=True)
obs, reward, terminated, truncated, _ = env.step(action)
done = terminated or truncated
| Hyperparameter | Value |
|---|---|
| Algorithm | PPO |
| Policy | MlpPolicy |
| Environment | seals/Hopper-v1 |
| Timesteps | 17,989,632 |
| Learning rate | 3e-4 |
| Seed | 42 |
| Observation space | Box(12,) |
| Action space | Box(3,) |
| SB3 version | 2.6.0 |
| PyTorch version | 2.7.1 |
| Gymnasium version | 1.1.1 |
ppo-seals-Hopper-v1.zip — the loadable SB3 model (PPO.load(...))policy.pth, policy.optimizer.pth, pytorch_variables.pth, data — extracted model contentsconfig.json — training configuration summaryreplay.mp4 — demo rollout of the trained agentsystem_info.txt — environment used for training