Downloads · 30 days
0
a1aq/blackjack-Qtable
blackjack-Qtable is a reinforcement learning model from a1aq. 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 mit.
This repository contains the trained tabular Q-learning policy used in the IEMS5726 Blackjack Reinforcement Learning Trainer project.
Downloads · 30 days
0
Access
Public
Updated Jun 8, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json3.9 MB · 95%
From the Hugging Face model README
This repository contains the trained tabular Q-learning policy used in the IEMS5726 Blackjack Reinforcement Learning Trainer project.
q_model.json0 = stand, 1 = hit, 2 = double_down(player_total, dealer_upcard, usable_ace, can_double, true_count_bucket)The selected policy was evaluated over 1,000,000 Blackjack hands.
| Metric | Value |
|---|---|
| Average reward | -0.0086975 |
| Win rate | 0.433611 |
| Loss rate | 0.481673 |
| Draw rate | 0.084716 |
q_learning_model_comparison.csv compares the selected expert-prior/count policy against 5,000,000-hand fine-tuning variants.
q_model.json: trained Q-table policy and evaluation metadatapolicy_table.csv: exported policy tablepolicy_heatmap.svg: policy visualizationtraining_history.csv: training-history file generated by the training pipelineq_learning_model_comparison.csv: final model comparison tableThe browser demo can load this model JSON directly from the public URL. In the project submission, place the public link in application/model_link.txt.