Tic Tac Transformer
A few days ago I saw that @davidad had posted that GPT instruct can’t play tic tac toe very well.
So I tried, and it’s true, it’s not so hard to beat.
Unsurprisingly, GPT-4 is very good.
This got me thinking…
What is the smallest transformer that could learn the optimal strategy for tic tac toe?
And how could we train this quickly and efficiently?
Let’s see…
https://github.com/pHaeusler/tic_tac_transformer
Tokenization Many of the comments on twitter mentioned that tic tac toe does not have a convenient text based representation (or language). This makes it hard for language models to learn how to play. Chess, on the other hand, has algebraic notation, which captures all player moves and board state. And, unsurprisingly, GPT is great at chess.
Phillip Haeusler