Downloads · 30 days
3
14% of all-time downloads
FranticUser/q-FrozenLake-v1-4x4-noSlippery
q-FrozenLake-v1-4x4-noSlippery is a reinforcement learning model from FranticUser. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product.
Q-Learning Agent playing FrozenLake-v1-4x4-noslippery
Downloads · 30 days
3
14% of all-time downloads
All-time downloads
21
Public
Repo size
640 B
Likes
0
Public
Click a slice to open those files.
.mp431.2 KB · 90%
From the Hugging Face model README
Q-Learning Agent playing FrozenLake-v1-4x4-no_slippery
This is a trained Q-Learning agent for FrozenLake-v1-4x4-no_slippery.
import json
import numpy as np
import gym
qtable = np.load("qtable.npy")
with open("config.json") as f:
config = json.load(f)
env = gym.make(config["env_id"])
model = {**config, "qtable": qtable}