Downloads · 30 days
0
gaioNL/lesson2FrozenLake
lesson2FrozenLake is a reinforcement learning model from gaioNL. 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 FrozenLake-v1 .
Downloads · 30 days
0
Access
Public
Updated Nov 8, 2022
Repo size
32.9 KB
Likes
0
Public
Click a slice to open those files.
.mp431.9 KB · 90%
From the Hugging Face model README
This is a trained model of a Q-Learning agent playing FrozenLake-v1 .
model = load_from_hub(repo_id="gaioNL/lesson2FrozenLake", filename="q-learning.pkl")
# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
env = gym.make(model["env_id"])
evaluate_agent(env, model["max_steps"], model["n_eval_episodes"], model["qtable"], model["eval_seed"])