Downloads · 30 days
0
0% of all-time downloads
GZHUFB/DQN-LunarLander-v2-version2
DQN-LunarLander-v2-version2 is a reinforcement learning model from GZHUFB. 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 DQN agent playing LunarLander-v2 using the stable-baselines3 library.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
23
Public
Repo size
2.3 MB
Likes
0
Public
Click a slice to open those files.
.zip1.1 MB · 47%
From the Hugging Face model README
This is a trained model of a DQN agent playing LunarLander-v2 using the stable-baselines3 library.
TODO: Add your code
from stable_baselines3 import ...
from huggingface_sb3 import load_from_hub
#The hyper-parameter
model = DQN(
"MlpPolicy",
env=env,
buffer_size=100000,
learning_starts=50000,
batch_size=128,
train_freq=1,
gradient_steps=3,
tau=1.0,
gamma=0.99,
learning_rate=0.0001,
target_update_interval=10000,
exploration_initial_eps=1.0,
exploration_fraction=0.1,
exploration_final_eps=0.05,
policy_kwargs=dict(net_arch=[256, 256]),
device='auto',
verbose=1
)