Downloads · 30 days
0
waltgrace/poker-gemma4-26b-a4b-lora
poker-gemma4-26b-a4b-lora is a image-text-to-text model from waltgrace. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Fine-tuned Gemma 4 26B-A4B (vision MoE: 26B total params, 4B active per token) for poker and blackjack decision-making.
Downloads · 30 days
0
Access
Public
Updated Apr 17, 2026
Repo size
91.6 MB
Likes
2
Public
Click a slice to open those files.
.safetensors59.4 MB · 65%
From the Hugging Face model README
Fine-tuned Gemma 4 26B-A4B (vision MoE: 26B total params, 4B active per token) for poker and blackjack decision-making.
Given a poker or blackjack game state, the model outputs the optimal action (fold, call, raise, hit, stand, etc.) as JSON.
This is a vision model — it can process card images directly, enabling camera-to-decision pipelines (e.g., smart glasses → see cards → optimal play).
unsloth/gemma-4-26B-A4B-it (MoE with vision encoder)You are a specialist in playing 6-handed No Limit Texas Holdem. Do not explain your answer.
Game summary:
- Small blind: 5 chips, Big blind: 10 chips
- Your position: BTN, Your holding: As Ks
- Board: 7c 4d 2h
- Pot: 75, To call: 0, Your stack: 970
- Equity: 73%, Pot odds: 0%
- Legal actions: check, raise, all_in
Respond with ONLY valid JSON: {"action": "fold|check|call|raise|all_in", "amount": 0}
You are a blackjack expert. Decide the best action.
Your cards: Ace, 6 (total: 17 soft)
Dealer showing: 9
Available actions: hit, stand, double
Respond with ONLY the action word.
# Merge LoRA → GGUF Q3_K_M (~11GB, fits 16GB Mac)
# Then serve:
llama-server --model gemma4-poker-26b-q3_k_m.gguf --port 8080 --n-gpu-layers 999 --ctx-size 2048 --jinja
Important: Disable thinking mode for fast responses:
{"chat_template_kwargs": {"enable_thinking": false}}
| Metric | Value |
|---|---|
| BB/100 | -0.1 (breakeven) |
| VPIP | 80.5% |
| Style | LAG (loose-aggressive) |
| vs CallingStation | +9.3 bb/100 |
Note: Model plays too many hands (VPIP too high). GRPO reinforcement learning is the planned fix.
This model is part of an iterative training loop: