r/learnmachinelearning • u/YousifAbdulhussein • 15h ago
Project My Chess GPT can finally beat me 🥲
Im 1300 to 1450 on chess.com, so I like to think I’m decent. Bittersweet to lose to my baby. Version 1 was trained on the GPT-2 architecture but with chess data.
Version 2, the one you see, was trained with a more modern architecture similar to LLAMA. It’s 80 million parameters. I trained this for 10 hours on an A100 on 2 billion tokens of chess games I got from lichess that were heavily filtered for quality.
I didn’t do a traditional chessbot with MCTS or alpha beta pruning because I wanted a project that would give me experience with LLMs but be computationally feasible at a small scale. Also, some emergent properties only appear on larger LLMs, but making this so hyper specific allows me to try them on this smaller scale.
I want to try improving it with self play RL. Do some interpretability work. I think I could do some interesting CoT/test-time compute work to improve the bot further. I don’t think CoT would add much performance wise on an 80 million parameter LLM trained on text instead of chess tokens, hence another reason for this project.
I need to go study some RL and interpretability next for all of this. If anyone has ideas for other cool/interesting work I can do on this beyond interpretability, self play rl, and chain of thought, please let me know!!