NanoRS Banner

ChessSLM

ChessSLM-PM is a small language model build on top of ChessSLM, 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 ChessSLM and was fine-tuned on 441,000 chess games rated over 2000 elo from the mlabonne/chessllm dataset using SAN (Standard Algebraic Notation).

Play against ChessSLM here.


Overview

  • Architecture: GPT-2
  • Parameters: ~30M
  • Training data: 441k chess games rated over 2000 elo
  • Notation: SAN (Standard Algebraic Notation)
  • Task: Autoregressive chess move generation

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 [Won against it]
  • Gemini [Lost again it]
  • Qwen
  • GPT-2
  • GPT-Neo
  • Pythia
  • LLaMA
  • Mistral
  • other small chess-oriented models

The model achieves an averaging rating of around {tba} Elo against other language models despite its small size.



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.

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).

Downloads last month
29
Safetensors
Model size
30.3M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for FlameF0X/ChessSLM-PM

Finetuned
(2)
this model

Dataset used to train FlameF0X/ChessSLM-PM

Space using FlameF0X/ChessSLM-PM 1