/ Модель

Характеристики

Контекст
262 144 токена
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.5-0.8B
Библиотека
transformers
Опубликована
13 окт 2026

chess-reasoner-0.8b

Генерация текстаТекст → текст3 профессии
63скачиваний за 30 дней1лайквеса обновлены13 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Компактная дообученная модель Qwen3.5, которая выбирает шахматные ходы, проверяя позицию через вызовы инструментов.

Chess Reasoner 0.8B — компактная языковая модель на 0,8 млрд параметров, созданная автором карточки на основе Qwen3.5-0.8B. Она выбирает шахматные ходы, используя инструменты для проверки состояния доски: расположения фигур, атак на поля, материального баланса и последствий предполагаемых ходов. Модель дообучена supervised learning и затем GRPO; использует архитектуру Qwen3.5 и формат Safetensors.

Модель предназначена для выбора хода в заданной позиции в связке с внешним циклом инструментов. Перед каждым вызовом инструмента она должна кратко объяснить его цель, а после проверки вариантов выдаёт ход в SAN. В описанной оценке на 775 отложенных позициях ход был легальным в 99,9% случаев, а точность попадания в пределах 50 сантипешек от лучшего хода Stockfish составила 57,1% при четырёх сэмплах на позицию.

Для работы необходима поддерживающая инструменты обвязка: без неё у модели нет надёжного представления о доске. Она обучена только выбирать шахматные ходы и не предназначена для общего обсуждения шахмат. Лицензия — Apache-2.0.

Сценарии применения

  • выбор хода в заданной шахматной позиции
  • проверка атак и защиты фигур через инструменты
  • оценка последствий кандидатного хода
  • создание шахматного агента с циклом вызова инструментов

Ограничения

Для надёжной работы модели необходим внешний цикл инструментов, предоставляющий сведения о доске; без него она не имеет надёжного представления о позиции. Модель обучена выбирать ходы, а не обсуждать шахматы в целом; в описанной оценке показатель попадания в пределах 50 сантипешек от лучшего хода Stockfish составил 57,1%.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Chess Reasoner 0.8B

A small 0.8B parameter language model that finds chess moves by using tools.

The model calls tools to gather facts about the board: what pieces attack a square, which pieces are hanging, what happens after Nxe5. Each tool call requires a sentence justifying its purpose. After the model has checked candidate moves, it answers with its chosen move.

The base model is Qwen3.5-0.8B, fine-tuned with supervised learning followed by reinforcement learning (GRPO).

Installation

Please see the Github repo for installation instructions: https://github.com/lukesalamone/chess_reasoner_demo

The agent loop

The model makes one tool call at a time. Example:

<tool>attackers(e5) | why: Is the pawn on e5 defended? If not, Nxe5 wins it.</tool>

The harness then runs the call on a scratch board and sends back the result:

<result>e5 (black pawn): attacked by Nf3; defended by Nc6.</result>

The model then either makes another tool call or gives a final answer. The harness limits the model to 24 tool calls, and requires a justification for making the tool call itself to prevent the reasoning trace from devolving into a list of bare tool calls. There is some basic validation on the justifications to prevent malformed, short, long, or repeated justifications.

Tool CallDescription
piece_on(square)What piece is on a square
pieces()Every piece on the board and where it is (both sides)
material()Material count for both sides in pawn units
attackers(square)Which pieces (any side) attack a square. If occupied, distinguishes attackers from defenders
targets(square)What enemy pieces the piece on square attacks, and what friendly pieces it defends
hanging(color)What pieces of this color are hanging
pins(color)What pins against the king for color
forcing_moves()Legal checks, captures, and promotions are available in this position
legal_moves()Every legal move in this position, plus whether the side to move is in check
try(move)Push a move onto the stack to evaluate one ply deeper (up to 4 deep)
undo()Pop off the stack to back out of a search
quiet_moves()Legal moves that are not in forcing_moves()
root()Pop the whole stack to return to the starting position
threats()What the opponent could do if it were their move: mates, checks, captures that win material
exchange(square)Result of the capture sequence on a square, starting with the best first capture

Prompts and sampling

The system prompt and user prompt are in the demo repo (system_prompt.txt, prompt.py). The model was trained with them and expects them unchanged. The chat template is plain ChatML (chat_template.jinja). Each assistant turn is one tool call with its reason. After its calls, the model ends with <answer>MOVE</answer>, where MOVE is in SAN.

Evaluation

The test set is 775 held-out positions that are still contested (Stockfish evaluation within 1000 centipawns, no forced mate). None of these positions was used in training.

A move counts as a "hit" when it is within 50 centipawns of Stockfish's best move at depth 20. Four answers were sampled per position.

hit rate
a random legal move25.2%
chess-reasoner-0.8b57.1%

It answers with a legal move 99.9% of the time, after 22 tool calls on average.

Training details

  1. Supervised fine-tuning on 34k reasoning transcripts from a teacher model. Transcripts were kept only if their final move was within 50 centipawns of the best move.
    • LoRA rank 64, 1 epoch, LR 1e-4, BS 16, max sequence length 6,144 tokens
  2. GRPO (group relative policy optimization) for 150 steps:
    • 16 positions per step, 16 samples per position, temperature 1.0, LR 1e-5
    • The reward was exp(−cpl / 100) for a legal answer and 0 otherwise, where cpl is the answer's centipawn loss against Stockfish at depth 20.

The LoRA weights are merged into the bf16 model. The training positions and test positions come from the ChessBench dataset.

Limitations

  • It needs the tool loop. Without tools it has no reliable view of the board.
  • It only picks moves. It was not trained to discuss chess in general.
  • On test positions, hit rate is only about 57%.

More information

You can find more information in my blog post: https://blog.lukesalamone.com/posts/chess-reasoning-llm/

License

Apache 2.0

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
e9a4735

0 моделей