GofAlpha/GoA_Chess_Small
0
GofAlpha/GoAChessSmall
A decoder-only transformer language model trained on Lichess standard chess games. Generates chess moves in standard algebraic notation (PGN).
Model Details
Files
model.safetensors— Model weightsconfig.json— Architecture configurationgeneration_config.json— Default generation parameterstokenizer.json,vocab.json,merges.txt— GPT-2 tokenizer files
Usage
import torch
from safetensors.torch import load_file
from transformers import GPT2TokenizerFast
# Load tokenizer
tokenizer = GPT2TokenizerFast.from_pretrained("GofAlpha/GoA_Chess_Small")
# Load weights
state_dict = load_file("model.safetensors")
# Encode a chess opening
prompt = "1. e4 e5 2. Nf3"
input_ids = tokenizer.encode(prompt, return_tensors="pt")Generation Parameters
License
Copyright (c) G of Alpha LLC. All rights reserved.
