Q-Learning Agent playing Taxi-v3
This is a trained model of a Q-Learning agent playing Taxi-v3 (HF Deep RL Course Unit 2).
Model Details
- Algorithm: tabular Q-Learning (from scratch, NumPy Q-table)
- Library: Gymnasium + NumPy (no Stable-Baselines3 / no GPU kernels)
- Training episodes: 25,000
- Eval result: mean_reward = 7.56 +/- 2.71 (mean − std = 4.85)
- Evaluated with the course-fixed
eval_seedlist for leaderboard comparability.
Usage
model = load_from_hub(repo_id="kaleido-jean/q-Taxi-v3", filename="q-learning.pkl")
# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
env = gym.make(model["env_id"])
Training Details
Training Procedure
- Training regime: fp64/CPU NumPy table updates (no mixed precision)
- Wall-clock train time: 25,000 episodes ≈ 6.9k eps/s (tqdm wall-clock ~3.6 s)
Training Hardware / Carbon
Tabular Q-Learning (NumPy) is CPU-only. The training node also has an NVIDIA H100 80GB GPU, but it was not used.
- Hardware Type: CPU — Intel(R) Xeon(R) Platinum 8470 (node also has NVIDIA H100 80GB HBM3, unused)
- Hours used:
0.001 h (3.6 s) (wall-clock training loop only; excludes Hub upload / video encode) - Cloud Provider: PSC Bridges-2 / university HPC cluster
- Compute Region: US (Pittsburgh Supercomputing Center)
- Carbon Emitted: negligible for this wall-clock (sub-minute CPU job)
Training Hyperparameters
See q-learning.pkl keys: learning_rate, gamma, max_epsilon, min_epsilon, decay_rate, n_training_episodes, max_steps.
Technical Specifications
Compute Infrastructure
- Training: single CPU process on Intel Xeon Platinum 8470
- GPU: not required / not used (tabular method)
Evaluation results
- mean_reward on Taxi-v3self-reported7.56 +/- 2.71