Downloads · 30 days
0
artbreguez/q-CartPole-v1
q-CartPole-v1 is a reinforcement learning model from artbreguez. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product.
This is a trained model of a Q-Learning agent playing CartPole-v1 .
Downloads · 30 days
0
Access
Public
Updated Mar 25, 2023
Repo size
26.1 MB
Likes
0
Public
Click a slice to open those files.
.pkl13 MB · 100%
From the Hugging Face model README
This is a trained model of a Q-Learning agent playing CartPole-v1 .
model = load_from_hub(repo_id="artbreguez/Q-Cartpole-v1", filename="q-learning.pkl")
env = gym.make(model["env_id"])
evaluate_agent(env, model["max_steps"], model["n_eval_episodes"], model["qtable"], model["eval_seed"])