Downloads · 30 days
0
AminVilan/QLearning-FrozenLake-v1-4x4-NoSlippery
QLearning-FrozenLake-v1-4x4-NoSlippery is a reinforcement learning model from AminVilan. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. The card lists the license as gpl-3.0.
[](https://colab.research.google.com/github/AminVilan/RL-QLearning-FrozenLake/blob/Main/src/qlearningfrozenlaketraining.ipynb) [](https://huggingface.co/AminVilan/QLearning-FrozenLake-v1-4x4-NoSlippery)
Downloads · 30 days
0
Access
Public
Updated Oct 9, 2025
Repo size
915 B
Likes
0
Public
Click a slice to open those files.
.mp431.2 KB · 84%
From the Hugging Face model README
Reinforcement Learning Implementation using Q-Learning on FrozenLake-v1 (4x4 NoSlippery Environment)
Trained agent learns to navigate the frozen lake without slipping — reaching the goal optimally using value-based Q-Learning.
This project implements Q-Learning, one of the most fundamental Value-Based Reinforcement Learning algorithms, on Gymnasium’s FrozenLake-v1 environment with the 4x4 grid and no slipperiness enabled.
The environment is deterministic, allowing the Q-Learning agent to converge faster and find an optimal policy through iterative updates of the Q-table.
Environment: FrozenLake-v1
Mode: 4x4, is_slippery=False
Algorithm: Q-Learning
Framework: Python + NumPy + Gymnasium
model = load_from_hub(repo_id="AminVilan/QLearning-FrozenLake-v1-4x4-NoSlippery", filename="q-learning.pkl")
🔗 Hugging Face Model Repository:
👉 AminVilan/QLearning-FrozenLake-v1-4x4-NoSlippery
The model includes:
q-learning.pkl)Q-Learning is a model-free, off-policy algorithm used to find the optimal action-selection policy for any given finite Markov Decision Process (MDP).
The agent updates the Q-values using the Bellman equation.
| Parameter | Value |
|---|---|
| Environment | FrozenLake-v1 (4x4, NoSlippery) |
| Episodes | 10,000 |
| Learning Rate (α) | 0.7 |
| Discount Factor (γ) | 0.95 |
| Exploration Strategy | ε-Greedy |
| Epsilon Decay Rate | 0.0005 |
| Minimum Epsilon | 0.05 |
This repository is licensed under the GPL License. See the LICENSE file for more details.