PPO Agent playing LunarLander-v2
This is a trained model of a PPO agent playing LunarLander-v2 using the stable-baselines3 library.
Usage (with Stable-baselines3)
To use this pre-trained PPO agent for playing LunarLander-v2, you can follow these steps:
- First, make sure you have the stable-baselines3 library installed. You can install it using pip:
pip install stable-baselines3
- Next, you can load the pre-trained agent using the load_from_hub function from the huggingface_sb3 module:
from stable_baselines3 import ...
from huggingface_sb3 import load_from_hub
# Load the pre-trained PPO agent for LunarLander-v2
model = load_from_hub("username/stable-baselines3-lunarlander-ppo")
Once you have loaded the model, you can use it to interact with the LunarLander-v2 environment and observe its performance or fine-tune it for your specific use case.
Feel free to adapt and extend this code snippet to suit your reinforcement learning needs with the stable-baselines3 library and this pre-trained PPO agent.