Downloads · 30 days
36
4% of all-time downloads
khoilamalphaai/qwen3-1.7b-chess-coach-mlx
qwen3-1.7b-chess-coach-mlx is a text generation model from khoilamalphaai. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
A level-calibrated, engine-grounded chess coach fine-tuned to turn engine truth into intuitive, tier-appropriate teaching.
Downloads · 30 days
36
4% of all-time downloads
All-time downloads
974
Public
Parameters
1.7B
3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2 GB · 98%
How the weights are stored.
U321.7B · 100%
From the Hugging Face model README
A level-calibrated, engine-grounded chess coach fine-tuned to turn engine truth into intuitive, tier-appropriate teaching.
This model is a local-first AI chess coach designed to provide rating-calibrated move review. Given a position, a student's rating tier (beginner, intermediate, or advanced), the move played, and full-strength engine analysis, the coach recommends one sound teaching move and explains it in plain language. It avoids centipawns, engine jargon, and GM-only lines, focusing entirely on what a human at the specified tier can understand and apply.
The training pipeline relies on three main components to ensure reliability.
| Component | Function |
|---|---|
| Engine grounding | Stockfish certifies the pool of sound moves. Maia assesses how likely a human at the student's level is to find each move. |
| Faithfulness filtering | Every training example is strictly filtered to reject any references to pieces, squares, or captures not present in the position. |
| Tier-contrastive learning | The model is trained on contrastive multi-tier pairs, where the same position is taught differently depending on the student's level, ensuring the move selection and explanation are tailored accurately. |
The latest iteration uses Qwen3-32B as the base model, fine-tuned via QLoRA. Earlier versions use Qwen3-1.7B merged and quantized to 4-bit MLX.
The core strength of this model is its ability to differentiate move selection by rating tier. Instead of blindly recommending the engine's absolute best move, the coach steers beginners toward human-findable moves (guided by Maia likelihoods) and reserves the sharpest, most complex engine lines for advanced players.
The project relies on a definitive, zero-leakage benchmark scored by a cross-family council of frontier models (GPT-5.5, Claude Opus 4.8, Gemini 3.1 Pro) alongside deterministic objective metrics.
Because evaluation numbers are actively regenerating through a grand eval, please refer to the live artifacts for the most current results (as of July 8, 2026):
| Artifact | Link |
|---|---|
| Benchmark space | Live dashboard |
| Benchmark dataset | Evaluation data |
For the MLX 1.7B version:
from mlx_lm import load, generate
model, tok = load("khoilamalphaai/qwen3-1.7b-chess-coach-mlx")
messages = [
{"role": "system", "content": "You are a chess coach doing move review."},
{"role": "user", "content": "Student tier: beginner. [Engine-grounded prompt details.]"},
]
prompt = tok.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tok, prompt=prompt, max_tokens=512))
This repository also bundles the prior v3 32B QLoRA adapter in the v3-lora-qwen3-32b/ subfolder: load the Qwen/Qwen3-32B base in 4-bit and attach it with PEFT.
The shipped v4 32B QLoRA adapter (the strongest tier-appropriate move-selection checkpoint) is published as its own repository: chess-coach-32b-v4-qlora.
| Resource | Destination |
|---|---|
| Platform | The local inference platform (FastAPI and Next.js) is available in the local repository. |
| Dataset | chess-coach-move-review |
| Benchmark | chess-coach-benchmark |
| Limitation | Detail |
|---|---|
| Explanation truthfulness | While faithfulness filtering significantly reduces fabrication in the grounded deployment mode, small models remain brittle when run without engine facts in the prompt. Truthfulness relies on engine grounding and a non-LLM inference-time verifier, not just the model weights. |
| Prose quality | The model narrows but does not erase the instructiveness gap to the largest frontier APIs. Its primary advantages are form factor, cost, privacy, and tier-calibrated move selection, rather than raw narrative quality. |