Downloads · 30 days
0
ritzie07/q-learning-Taxi-v3
q-learning-Taxi-v3 is a reinforcement learning model from ritzie07. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product.
A Q-Learning agent implemented from scratch with NumPy for the Hugging Face Deep Reinforcement Learning Course Unit 2.
Downloads · 30 days
0
Access
Public
Updated Sep 23, 2026
Repo size
12.7 KB
Likes
0
Public
Click a slice to open those files.
.mp477 KB · 83%
From the Hugging Face model README
A Q-Learning agent implemented from scratch with NumPy for the Hugging Face Deep Reinforcement Learning Course Unit 2.
The current Gymnasium runtime uses Taxi-v4, which is the current compatible environment.
The project follows the Unit 2 Q-Learning methodology and evaluation protocol. The course target is Taxi-v3.
q-learning.pkl — trained Q-table and reproducibility metadatareplay.mp4 — greedy-policy replayREADME.md — model cardimport pickle
from huggingface_hub import hf_hub_download
path = hf_hub_download(
repo_id="ritzie07/q-learning-Taxi-v3",
filename="q-learning.pkl"
)
with open(path, "rb") as f:
model = pickle.load(f)
print(model["qtable"].shape)