Downloads · 30 days
0
lsdyna/q-Taxi-v4
q-Taxi-v4 is a reinforcement learning model from lsdyna. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product.
This repository contains a tabular Q-Learning agent trained on Taxi-v4.
Downloads · 30 days
0
Access
Public
Updated Aug 31, 2026
Repo size
170 KB
Likes
0
Public
Click a slice to open those files.
.mp4120 KB · 79%
From the Hugging Face model README
This repository contains a tabular Q-Learning agent trained on Taxi-v4.
| Episodes | Mean reward | Standard deviation |
|---|---|---|
| 100 | 7.5600 | 2.7067 |
q-learning.pkl: Q-table and training hyperparameters.results.json: evaluation metrics produced by the training script.replay.mp4: one greedy-policy replay generated from the saved Q-table.train_taxi.py: training and evaluation source code.import pickle
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(
repo_id="lsdyna/q-Taxi-v4",
filename="q-learning.pkl",
)
with open(model_path, "rb") as model_file:
model = pickle.load(model_file)
qtable = model["qtable"]