Downloads · 30 days
0
kinkpunk/q-FrozenLake-v1-custom-map-Slippery-edition
q-FrozenLake-v1-custom-map-Slippery-edition is a reinforcement learning model from kinkpunk. 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 Dec 14, 2022
Repo size
904 B
Likes
0
Public
Click a slice to open those files.
.mp441.2 KB · 91%
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="kinkpunk/q-FrozenLake-v1-custom-map-Slippery-edition",
filename="q-learning.pkl")
# Don't forget to change additional attributes
# when you create environment using 4x4 map
env = gym.make('FrozenLake-v1',
desc=["SFFF", "FHHF", "FFHF", "HFFG"],
is_slippery=True)
# Training parameters
n_training_episodes = 105000 # Total training episodes
learning_rate = 0.8 # Learning rate
# Evaluation parameters
n_eval_episodes = 100 # Total number of test episodes
# Environment parameters
env_id = "FrozenLake-v1" # Name of the environment
max_steps = 99 # Max steps per episode
gamma = 0.98 # Discounting rate
eval_seed = [] # The evaluation seed of the environment
# Exploration parameters
max_epsilon = 0.99 # Exploration probability at start
min_epsilon = 0.02 # Minimum exploration probability
decay_rate = 0.009 # Exponential decay rate for exploration prob