ChessFormer-RL represents an experimental checkpoint in training chess models with reinforcement learning. Note: This model is actually the 8th supervised learning checkpoint (49152 steps) that was intended as initialization for RL training, as the full RL training encountered challenges.
⚠️ This model represents a research checkpoint rather than a completed RL-trained model. The actual reinforcement learning training encountered:
This checkpoint is provided for researchers interested in:
Identical to ChessFormer-SL:
kaupane/lichess-2023-01-stockfish-annotated (depth18 split)As an intermediate SL checkpoint, this model exhibits:
| Metric | ChessFormer-RL (8th ckpt) | ChessFormer-SL (20th ckpt) |
|---|---|---|
| Action Loss | 1.8329 | 1.6985 |
| Value Loss | 0.0501 | 0.0407 |
| Invalid Loss | 0.0484 | 0.0303 |
pip install torch transformers huggingface_hub chess
# Download model.py from this repository
import torch
from model import ChessFormerModel
# Load model
model = ChessFormerModel.from_pretrained("kaupane/ChessFormer-RL")
model.eval()
# This is an intermediate checkpoint - performance will be lower than ChessFormer-SL
# This checkpoint can serve as initialization for RL experiments
from train_rl import RLTrainer
# Load checkpoint for RL training continuation
trainer = RLTrainer(
model=model,
# ... other hyperparameters
)
trainer.resume("path/to/checkpoint", from_sl_checkpoint=True)
This model is specifically intended for:
Not intended for:
This model represents ongoing research into chess RL training. While the full RL training was unsuccessful, this checkpoint may be an initial starting point for future research directions.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo kaupane/ChessFormer-RL ./model-folder