Views
No views yet
Zual/chess_char is a GPT-2 based model trained to generate chess games in PGN (Portable Game Notation) format. It treats chess moves as a language modeling task, learning to predict the next character in a PGN sequence.transformers library:1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "Zual/chess_char"
4model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)
5
6# Note: The model uses a custom tokenizer which should be loaded via the repository scripts
7# or by following the instructions in the GitHub repo.