Downloads · 30 days
13
3% of all-time downloads
Leon-LLM/Leon-Chess-Expanded-Moves
Leon-Chess-Expanded-Moves is a text generation model from Leon-LLM. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a GPT-2-based language model trained on chess game sequences using our unique xLAN notation, focusing on predicting legal chess moves and understanding game dynamics. For more information see GitHub
Downloads · 30 days
13
3% of all-time downloads
All-time downloads
491
Public
Repo size
684 MB
Likes
0
Public
Click a slice to open those files.
.bin342 MB · 100%
From the Hugging Face model README
This model is a GPT-2-based language model trained on chess game sequences using our unique xLAN notation, focusing on predicting legal chess moves and understanding game dynamics. For more information see GitHub
The model is intended for predicting chess moves, analyzing game positions, and studying chess strategies.
This model is not designed for general language understanding or tasks unrelated to chess.
The model reflects the strategies and styles present in the training dataset and may not encompass all possible chess scenarios.
To use the model use the Notebooks on GitHub
The model was trained on the "Leon-LLM/Leon-Chess-Dataset-270k-All-Moves-BOS" dataset, sourced from Lichess database (September 2023).
Chess games from Lichess were converted from PGN into xLAN as part of the preprocessing.
The model was tested on 3 metrics:
Average Number of Correct Plies: Measures the model's ability to simulate chess games, evaluating the average number of correctly generated plies in 100 games.
Hard Position Accuracy: Assesses the model's handling of 67 challenging chess positions, including unusual castling, pawn promotions, and checkmate scenarios. Success is measured by the model's ability to generate legal moves in these complex positions.
Legal Piece Moves Accuracy: Examines the model's proficiency in keeping the board state various situations, including checks, pinned pieces, and pawn promotions. The metric focuses on the model's understanding of the board state.

GPT2 config with the following changes: