Downloads · 30 days
0
philipp-zettl/chessPT
chessPT is a text generation model from philipp-zettl. Use it when you need the model to write or continue text. The card lists the license as cc0-1.0.
A pretrained Decoder only transformer model for chess move prediction with only ~14M parameters.
Downloads · 30 days
0
Access
Public
Updated Apr 26, 2026
Repo size
315 MB
Likes
7
Public
Click a slice to open those files.
.pth158 MB · 50%
From the Hugging Face model README
A pretrained Decoder only transformer model for chess move prediction with only ~14M parameters.
Predict new moves in a chess game based on PGN tokens.
The model implementation is based on Andrej Karpathy's nanoGPT following the webseries "Zero to Hero" on youtube.
You can find the training script in the repositories files under train.py.
This also contains the used parameters
context_size = 256
batch_size = 128
max_iters = 30_000
learning_rate = 3e-5
eval_interval = 100
eval_iters = 20
n_embed = 384
n_layer = 6
n_head = 6
dropout = 0.2