ChessForge: A Small Model That Tries to Play Chess Like a Human
Stockfish can beat every human alive. That makes it a poor guide to how a human will actually play. If you want to train against something that feels like a real grandmaster, or study why strong players pick the moves they pick, you need a different kind of model: one that guesses the move a person would play, not the best move.
ChessForge is an open source project that builds exactly that kind of model. It is written in JAX, the code is on GitHub, and two trained checkpoints (about 5 million and about 35 million parameters) went up on Hugging Face on 30 November 2026. The model cards list two authors: Rishiraj Acharya, an independent researcher, and Soumik Rakshit, listed as Principal Scientist at eka.care. The cards call the model ChessformerV2.

The problem: the best move is not the human move
A normal chess engine answers one question: which move wins? It searches millions of positions and returns the strongest one.
A human move model answers a different question: given this position, this player's rating, their title and the time left on their clock, which move will this person most likely play?
These are not the same. Humans recapture on instinct, avoid lines they cannot calculate, and play safer moves when short on time. The Maia project from the University of Toronto, Cornell and Microsoft Research showed this in 2020. A network trained on human games without search predicted human moves far better than Stockfish or Leela, reaching over 52% accuracy against Stockfish's 41% in their tests. Maia-2 later folded every skill level into one model.
The score everyone uses is top-1 move accuracy: show the model a position from a real game, take its single most likely move, and check whether it matches the move the human really played. 60% means it guessed the exact move 6 times out of 10.
The numbers
These come from the ChessForge model cards on Hugging Face. The test games are from August and September 2025, after the training cutoff of July 2025, so the model never saw them.
| Model | Parameters | Training positions | Titled online | FIDE classical (over the board) |
|---|---|---|---|---|
| Maia-3-5M | 5.23M | 0.51B to 1.02B | 59.00% | 51.99% |
| ChessForge-5M | 5.12M | 512M | 60.55% | 54.87% |
| Maia-3-79M | 78.90M | 4.10B | 62.52% | 55.80% |
| ChessForge-35M | 35.24M | 512M | 62.98% | 58.50% |
"Titled online" is 105,593 positions from Lichess Blitz and Rapid games by titled players. "FIDE classical" is 144,559 positions from over the board tournament games.
How to read this:
- Same size, better score. ChessForge-5M is slightly smaller than Maia-3-5M and scores 1.55 points higher online and 2.88 points higher over the board.
- Smaller and less data, still ahead. ChessForge-35M has less than half the parameters of Maia-3-79M and the cards say it saw 512M training positions against Maia-3-79M's 4.10B. It edges it online (+0.46 points) and wins more clearly over the board (+2.70 points).
- These are the authors' own evaluations. All the Maia-3 figures here were measured by the ChessForge team on their test set. I have not seen an independent replication yet.
How it works
The model looks at one position and outputs a probability for every legal move. What makes it "human" is what it is fed and what it is trained on.
1. It knows who is playing
Every position comes with context:
- The player's Elo rating and their official title (GM, IM, FM, CM, NM or none).
- Both players' clocks.
- The format: Blitz, Rapid or classical over the board.
- The full board state, including castling rights, en passant and repetition.
So the same position can get a different answer for a 2000 rated Blitz player in time trouble than for a GM in a classical game with an hour left.
2. It predicts thinking time too
This is the main new idea. Next to the move, the model predicts how long the player will think before moving, as one of 16 time buckets. It then predicts the move given that thinking time.
Think of it as two modes:
- Fast (System 1): the automatic move. In one example on the 35M card, a recapture gets 82.5% of the probability when the model assumes the player moves quickly.
- Slow (System 2): the calculated move. In the same position, assuming a long think, a quieter knight reroute becomes the top choice at 18.1%.
The time head adds only 12,608 parameters. Its predicted thinking time correlates with the real thinking time at 0.67 (Pearson r) on the online test set.
3. Chess-aware attention
Inside the transformer, the repo adds an attention bias it calls Ray-GAB, built from the geometry of the board: which squares can see each other along a line, pins, and X-ray attacks. The released 35M model has 16 transformer blocks built from common modern parts (RMSNorm, QK-Norm, SwiGLU), and it sees the last 8 half-moves of piece history, not just the current board.
4. Careful data filters
The README shows exactly which games go in:
- Lichess Blitz and Rapid games where players are rated 1800 or higher.
- Players with an official title count as titled only at 2350 or higher, and titled games are never capped, so the rare strong games are all kept.
- Over the board classical games from TWIC (The Week in Chess) PGN files, rated 2100 or higher.
Training runs in two stages. The first 200,000 steps use the broad mix. The last 50,000 steps narrow down onto titled online games and FIDE classical games, so the model ends on the players it most needs to copy.
5. Pushing it away from engine moves (DPO)
A model trained on strong players can drift toward playing like an engine, because strong humans often do find the engine move. ChessForge has a third stage to fight this.
- Run Stockfish on real positions.
- Find positions where the human played something other than Stockfish's top move, and the human move was still within 35 centipawns (about a third of a pawn) of it. So the human move was not a blunder, just human.
- Train with DPO (Direct Preference Optimization, the same method used to tune chatbots on "this answer is better than that one") to prefer the human move over the engine move.
The metric for this is how often the model picks Stockfish's move when the human did not. On the online test set, Maia-3-79M does this 19.33% of the time and ChessForge-35M 19.08%. The DPO version brings it down to 18.10%, while move accuracy only slips from 62.98% to 62.76%. A small change, but it moves the right way.
Run it locally
You do not need to train anything to try it. The 35M model card gives these steps.
Install and download the checkpoint:
bashgit clone https://github.com/soumik12345/chessforge.git cd chessforge pip install -e ".[cpu]" # or ".[cuda12]" / ".[tpu]" python -c "from huggingface_hub import snapshot_download; snapshot_download('chessforge/chessforge-35m', local_dir='./chessforge-35m')"
Start it as a UCI chess engine that plays like a 2650 rated GM in a classical game:
bashpython -m chessforge.cli.uci \ --config ./chessforge-35m/config.yaml \ --set workdir=./chessforge-35m \ --step 250000 --title GM --elo 2650 --format otb
UCI is the standard protocol chess GUIs use, so you can load it into Nibbler, CuteChess, En Croissant or a Lichess bot. Change --title, --elo and --format (blitz, rapid or otb) to change who it imitates. The engine also has sampling flags such as --temperature (default 0.75) so it does not play the same move every time.
If you only want to see the move plus thinking-time idea work, the README has a tiny synthetic demo that needs no data and no checkpoint:
bashpython -m chessforge.cli.demo_joint_time --steps 100
The README notes that on CPU you should add --set model_overrides.compute_dtype=float32 to each command.
What hardware you need
- Just playing: the install has a CPU option, and the weights are small (the 5M weights file is about 20.5 MB, the 35M DPO weights about 141 MB). A GPU is optional through the
cuda12orcuda13extras. The cards do not give CPU speed numbers, so I cannot tell you how fast it moves on a laptop. - Training your own: the README has recipes for a Colab TPU v5e-1 (16 GB) or v6e-1 (32 GB), for one machine with 4 or 8 GPUs (A100, H100, L4 or 4090 are named), and for several machines with torchrun. The released 35M model was trained for 250,000 steps at batch size 2048 on a single Google Cloud TPU v6e-1.
- The DPO stage also needs Stockfish installed to label positions.
- Python 3.11 or newer.
Limits worth knowing
- About 88% of the titled training games are online. The cards say this gives the title inputs an online bias, and that hiding titles at test time (
--mask_titles) actually lifts over the board accuracy from 58.50% to 58.86%. - The repo also has an
EXPERIMENTS.mdwith older, smaller runs. Its numbers are different from the model cards, so do not mix them up. The table above is from the released checkpoints. - The project is new. The GitHub repo had 1 star and the Hugging Face models 0 downloads when I checked, so nobody outside the authors has tested it much yet.
Why this matters beyond chess
Chess is the cleanest test bed for a bigger question: can a model copy how a specific kind of person decides, not just what the right answer is? ChessForge adds one useful piece to that: modelling how long someone thinks, and letting that change what they pick. The same idea applies to any AI meant to act like, or play against, a real person.
Sources
- ChessForge code: https://github.com/soumik12345/chessforge
- chessforge-35m model card: https://huggingface.co/chessforge/chessforge-35m
- chessforge-5m model card: https://huggingface.co/chessforge/chessforge-5m
- Maia, "Aligning Superhuman AI with Human Behavior: Chess as a Model System" (KDD 2020): https://arxiv.org/pdf/2006.01855
- Maia-2, "A Unified Model for Human-AI Alignment in Chess" (NeurIPS 2024): https://arxiv.org/html/2409.20553v1
