4 ms·
I just deployed a GPT-4 powered chess bot to lichess. You can challenge it here: https://lichess.org/@/oopsallbots-gpt-4 https://lichess.org/@/oopsallbots-gpt-4
by teej 4y ago
I just deployed a GPT-4 powered chess bot to lichess. You can challenge it here: https://lichess.org/@/oopsallbots-gpt-4 https://lichess.org/@/oopsallbots-gpt-4
- dsjoerg 4y agoVery cool! Are you doing prompt engineering, fine-tuning, both, something else? I'm wondering if it'd be cool to have a chess contest where all the bots are LLM powered. Seems to me like the contest would have to ban prompt engineering -- would have to have a fixed prompt -- otherwise people would sneak chess engines into their prompt generation.
- teej 4y agoI wanted it to be fun and actually complete games. I started with this, with a few minor tweaks: https://github.com/Tmate6/Lichess_ChatGPT_ChatBot/blob/main/ChatGPT.py#L67-L73 https://github.com/Tmate6/Lichess_ChatGPT_ChatBot/blob/main/... This approach sends along the list of legal moves in the prompt if it attempts an illegal move. That seems to work well at getting playable moves.
- singularity2001 4y agoWhat happens if you add the rules to the initial prompt and something like: "Think step by step, explain your move and if it is illegal rethink"