Downloads · 30 days
12
2% of all-time downloads
chiaraDG/gpt2-chess-lora
gpt2-chess-lora is a machine learning model from chiaraDG. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A GPT-2 model fine-tuned on Lichess chess games to predict the best move given a board position in FEN format.
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
489
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
A GPT-2 model fine-tuned on Lichess chess games to predict the best move given a board position in FEN format.
The model expects input in exactly this format:
Board FEN: <fen string>
Best move:
And will complete it with a UCI move like e2e4.
This model is used as part of a TransformerPlayer chess agent that scores all legal moves by log-probability and selects the highest scoring one.