Downloads · 30 days
0
Cochon123/clash-royale-policy-bc-v4
clash-royale-policy-bc-v4 is a reinforcement learning model from Cochon123. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
Behavior-cloning next-action policy trained on RoyaleAPI replays. Predicts deck-slot, placement (zone + XY), and timing from causal action history.
Downloads · 30 days
0
Access
Public
Updated Aug 8, 2026
Repo size
2.5 MB
Likes
0
Public
Click a slice to open those files.
.pt2.5 MB · 98%
From the Hugging Face model README
Behavior-cloning next-action policy trained on RoyaleAPI replays. Predicts deck-slot, placement (zone + XY), and timing from causal action history.
| Split | Slot top-1 | Slot top-3 | Zone acc | XY MAE | Timing MAE |
|---|---|---|---|---|---|
| Test | 53.1% | 93.3% | 42.9% | 5287 | 1.54s |
d_model=160, 2 layers)| File | Description |
|---|---|
best_model.pt | PyTorch checkpoint (weights + vocab + config) |
vocab.json | Card vocabulary |
report.json | Full training report |
training_stages.json | Per-epoch curves |
pip install git+https://github.com/cochon123/clash-royale-ai.git
hf download Cochon123/clash-royale-policy-bc-v4 --local-dir models/policy_bc_v4
cr-replays predict-policy data/raw/SOME_BATTLE.json --model-dir models/policy_bc_v4
cr-replays phone-lab --policy-v4 models/policy_bc_v4
Offline metrics are strong on slot choice; placement XY and live tempo are still weak relative to humans. Treat live phone play as an evaluation harness, not a finished agent.