ChessSLM
is a small language model designed to play chess using natural language move generation.
Despite having only
30M parameters
, it is capable of competing with and occasionally outperforming larger language models in chess-playing tasks.
The model is based on the
GPT-2 architecture
and was pre-trained from scratch on
100,000 chess games
from the
mlabonne/chessllm
dataset using
SAN (Standard Algebraic Notation)
.
ChessSLM demonstrates that
specialized small language models can perform competitively in narrow domains
such as chess.
Capabilities
ChessSLM can play chess by generating moves sequentially in SAN notation.
It has been evaluated in matches against several language models, including:
Claude
Gemini
Qwen
GPT-2
GPT-Neo
Pythia
LLaMA
Mistral
other small chess-oriented models
The model achieves an
Elo rating of approximately 1087
, averaging
around ~1000 Elo
against other language models despite its small size.
Benchmark Results
Model
Elo Rating
EleutherAI/pythia-70m-deduped
1113
nlpguy/amdchess-v9
1094
nlpguy/smolchess-v2
1093
mlabonne/chesspythia-70m
1088
FlameF0X/ChessSLM
1087
DedeProGames/mini-chennus
1083
distilbert/distilgpt2
1061
Locutusque/TinyMistral-248M-v2.5
1061
facebook/opt-125m
1057
mlabonne/grandpythia-200k-70m
1050
DedeProGames/Chesser-248K-Mini
1048
bharathrajcl/chess_llama_68m
1046
Limitations
Like many language-model-based chess systems, ChessSLM has several limitations:
Illegal move hallucinations:
The model may occasionally generate moves that violate chess rules.
No board-state verification:
Moves are generated purely from learned patterns rather than a validated game state.
Limited strategic depth:
While competitive at lower Elo levels, it cannot match dedicated chess engines.
These limitations are common for
pure language-model chess agents
that do not use external rule engines.
Future Improvements
Potential improvements include:
Adding
move legality filtering
Integrating
board-state validation
Training on
larger datasets
Reinforcement learning through
self-play
Summary
ChessSLM shows that
very small language models can achieve meaningful chess performance
when trained on domain-specific data.
It serves as a lightweight baseline for exploring
LLM-based chess agents
and
specialized small language models (SLMs)
.
Runs of FlameF0X ChessSLM on huggingface.co
144
Total runs
0
24-hour runs
6
3-day runs
41
7-day runs
49
30-day runs
More Information About ChessSLM huggingface.co Model
ChessSLM huggingface.co is an AI model on huggingface.co that provides ChessSLM's model effect (), which can be used instantly with this FlameF0X ChessSLM model. huggingface.co supports a free trial of the ChessSLM model, and also provides paid use of the ChessSLM. Support call ChessSLM model through api, including Node.js, Python, http.
ChessSLM huggingface.co is an online trial and call api platform, which integrates ChessSLM's modeling effects, including api services, and provides a free online trial of ChessSLM, you can try ChessSLM online for free by clicking the link below.
FlameF0X ChessSLM online free url in huggingface.co:
ChessSLM is an open source model from GitHub that offers a free installation service, and any user can find ChessSLM on GitHub to install. At the same time, huggingface.co provides the effect of ChessSLM install, users can directly use ChessSLM installed effect in huggingface.co for debugging and trial. It also supports api for free installation.