Lets play a very bad game of chess in an interesting way!
The repository for the Medium Article here.
Wanted to know what a chessgame looks like when you don't know the rules and only know what to play based on 10s of thousands of examples? Well look no further!
Before you can run the_bot.py
you have to train a model with GPT2Mod.py
. The training will take some time but it only needs to be run once!
To play a game post training simply run python the_bot.py --player_color={'white' or 'black' or None if you want it to play itself}