messages listlengths 3 3 |
|---|
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c5 2. Nc3 d6 3. f4 Nc6 4. Nf3 e6 5. Bc4 Nge7 6. d3 d5 7. Bb3 d4 8. Ne2 g6 9. O-O... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 g6 2. d4 Bg7 3. f3 a5 4. Nc3 a4 5. Be3 c6 6. Bd3 b5 7. a3 Na6 8. Nge2 Qc7 9. O-O... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 e6 2. e4 d5 3. Nc3 Be7 4. Bd3 Nf6 5. e5 Nfd7 6. Nce2 c5 7. c3 b6 8. Nf3 Ba6 9. B... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 c5 2. c4 cxd4 3. Qxd4 Nc6 4. Qd1 Nf6 5. Nf3 e5 6. g3 e4 7. Bg2 exf3 8. Bxf3 Bc5 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. c4 Nf6 2. Nf3 e6 3. e3 d5 4. Be2 dxc4 5. O-O Nbd7 6. Bxc4 Nb6 7. Be2 Bd6 8. d4 e5 9... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c5 2. f4 d5"
},
{
"role": "assistant",
"content": "e5"
}
] |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. Nf3 c5 3. c3 d5 4. g3 Nc6 5. Bg2 Bg4 6. O-O e6 7. Ne5 Nxe5 8. dxe5 Nd7 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. b3 b6 2. Bb2 Bb7 3. Nf3"
},
{
"role": "assistant",
"content": "Nf6"
}... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 g6 2. Nc3 Bg7 3. f4 c5 4. Nf3 Nc6 5. Bc4 e6 6. O-O Nge7 7. f5 d5 8. Bb5"
},
... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 e6 2. d4 d5 3. exd5 exd5 4. c4 Nf6 5. Nc3 c6 6. Nf3 Be7 7. Be2 O-O 8. O-O Bf5 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. f4 d6 2. b3 Nf6 3. Bb2 g6 4. Nf3 Bg7 5. e3 O-O 6. Be2 c5 7. O-O Nc6 8. Bb5 a6 9. Bx... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r2q1rk1/2p4p/3p2pQ/p2b4/1p2P3/8/PPP2PP1/2KR3R w - - 0 19"
},
{
"role": "a... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nf3 d5 2. d4 c6 3. c4 Nf6 4. Nbd2 e6 5. g3 Ne4 6. Qc2 f5 7. Bg2 Nd7 8. O-O Ndf6 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 c5 2. d5 Nf6 3. Nf3 d6 4. Nc3 g6 5. e4 Bg7 6. Bd3 O-O 7. O-O Ng4 8. h3 Ne5 9. Nx... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: rnb1k1nr/ppppq1pp/1b3p2/4N2Q/3PP3/2P5/PP3PPP/RNB1KB1R b KQkq - 1 6"
},
{
... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nf3 e6 2. g3 Be7 3. Bg2 c6 4. O-O d5"
},
{
"role": "assistant",
"conten... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e3 d5 2. d4 c6 3. Nf3 Bg4 4. Bd3 Bh5 5. c3 Nf6 6. Nbd2"
},
{
"role": "assis... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 6. Re1 b5 7. Bb3 O-O 8. a4 b4 9. h... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. c4 c5 3. dxc5 e6 4. Nc3 Bxc5 5. Nf3 O-O 6. Bg5 h6 7. Bh4 Nc6 8. e3 Be7 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 8/p1Q5/3p1Bbk/2p5/4r3/1P5r/P1P1q3/1K3R2 w - - 2 38"
},
{
"role": "assista... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nf3 c6 2. g3 d5 3. Bg2 Nf6 4. O-O e6 5. d4 Be7 6. c4 O-O 7. Nc3 dxc4 8. Bf4 b5 9. N... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nc3 c5 2. e4 Nc6 3. d3 Nf6 4. f4 g6 5. Nf3 d6 6. Be2 e5 7. O-O Bg7 8. fxe5 dxe5 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 d6 2. e5 Nf6 3. exd6 cxd6 4. d4 Nc6 5. Bd3 Nxd4 6. Nf3 Nxf3+ 7. Qxf3 e6 8. O-O B... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 e5 2. Nf3 exd4 3. Nxd4 d6 4. Nf3 g6 5. g3 Bg7"
},
{
"role": "assistant",... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. Nf3 e6 3. Bg5 c5 4. e3 Be7 5. c3 h6 6. Bh4 O-O"
},
{
"role": "ass... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r4rk1/1ppq1pb1/p1npbn1p/3Np1N1/1PB1P3/P2PB2P/2PQ1PP1/R3K2R b KQ - 0 12"
},
{
... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 1r4k1/p1q2ppp/3Nb3/2p1P2P/8/P1Qp1P2/7P/K1B4R b - - 5 32"
},
{
"role": "as... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 2r2r1k/ppp1b2p/8/8/4N3/1Q2PP2/6q1/1K1R3R w - - 0 25"
},
{
"role": "assist... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 1rbq1b1r/pk2p1pp/3pPn2/1p1P4/5P2/4N3/PPQN2PP/R4RK1 w - - 3 19"
},
{
"role... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 3k4/pp6/1qp5/3p1QP1/2n2B2/1P3P2/P3r2P/1KR4R b - - 0 41"
},
{
"role": "ass... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e3 c6 2. Nf3 d5 3. g3 Bg4 4. Bg2 Bxf3 5. Qxf3 Nf6 6. O-O"
},
{
"role": "ass... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. c4 e5 2. g3 Nf6 3. Bg2 d5 4. cxd5 Nxd5 5. Nc3 Nb6 6. Nf3 Nc6 7. O-O Be7 8. d3 O-O 9... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. b3 e5 2. Bb2 Nc6 3. e4 f5 4. d3 Nf6 5. Nf3 Bc5 6. exf5 d6 7. Be2 Bxf5 8. O-O O-O 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r3rk2/pp1n1Npb/4Qn1p/8/1bB2q2/6NP/PP3PP1/4RRK1 w - - 3 22"
},
{
"role": "... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 g6 2. Nf3 Bg7 3. Nc3 c5 4. h4 h5 5. d4 cxd4 6. Nxd4 Nc6 7. Be3 d6 8. Nxc6 bxc6 9... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. c4 e6 3. g3 d5 4. Bg2 Be7 5. Nf3 O-O 6. O-O dxc4 7. Ne5 c6 8. Nxc4 Nbd7 9... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r4rk1/p1pb2bp/1p1p2p1/3P2B1/2P1R3/6qP/PP1Q2B1/5RK1 w - - 0 19"
},
{
"role... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 e5 2. c4 Ne7 3. Nc3 Nec6 4. d5 Nd4 5. e3 Nf5 6. g3 Nd6 7. Bg2 f6 8. c5 Nf7 9. e4... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c6 2. d4 d5 3. Nc3 dxe4 4. Nxe4 Nf6 5. Nxf6+ gxf6 6. c3 Bf5 7. Nf3 e6 8. g3 Be7 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nf3 g6 2. d4 Bg7 3. c4 d6 4. Nc3 Nd7 5. e4 e5 6. Bg5 f6"
},
{
"role": "assi... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. c4 c6 3. Nc3 d5 4. Nf3 dxc4 5. e3 b5 6. a4 Bb7 7. axb5 cxb5 8. Nxb5 e6 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. Nf3 O-O 6. h3 c6 7. Be3 Qc7 8. Be2 e5 9. d5 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 d5 2. exd5 c6 3. Nc3 cxd5 4. d4 Nc6 5. Nf3 Bf5 6. Be3"
},
{
"role": "ass... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c6 2. d3 d5 3. Nd2 g6 4. Ngf3 Bg7 5. g3 Nf6 6. Bg2 O-O 7. O-O Bg4 8. h3 Bxf3 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nc6 2. c3 d5 3. e3"
},
{
"role": "assistant",
"content": "e5"
}
] |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 5rk1/5np1/8/3B1P2/2p2KP1/1pr2N2/8/7R w - - 0 43"
},
{
"role": "assistant"... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 c5 2. c3 cxd4 3. cxd4 Nf6 4. Nf3 d5 5. Nc3 e6 6. Bg5 Be7 7. e3 O-O 8. Bd3 Nc6 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. c4 g6 3. Nc3 d5 4. cxd5 Nxd5 5. e4 Nxc3 6. bxc3 Bg7 7. Nf3 O-O 8. Be3 c5 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nc3 d5 2. d4 Nc6 3. f3 g6 4. e4 Bg7 5. e5 e6 6. f4 f6 7. Nf3 fxe5 8. fxe5 Nge7 9. N... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 d5 2. c4 e5 3. dxe5 d4 4. a3 Nc6 5. Nf3 Be6 6. e3 dxe3 7. Qxd8+ Rxd8 8. Bxe3 Nge... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. g3 c6 2. Bg2 d5 3. c4 Nf6 4. Nf3 g6 5. O-O Bg7 6. d4 O-O 7. Nbd2 dxc4 8. Nxc4 Na6 9... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. g3 g6 2. b3 Bg7 3. Nc3 Nh6 4. Bb2 O-O 5. Bg2 e5 6. e3 c6 7. Nge2 d6 8. d4 f6 9. O-O... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nc3 Nf6 2. e4 g6 3. e5 Bg7 4. exf6 Bxf6 5. d4 O-O 6. Nf3 Re8 7. Be2 c5 8. O-O cxd4 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. d3 Be7 5. O-O d6 6. c3 Bg4 7. Bb3 O-O 8. h3 Bh5 9. N... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r2q1rk1/p4ppp/b7/3Q4/1b6/2N3P1/PP3P1P/R1B1R1K1 b - - 0 15"
},
{
"role": "... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c6 2. d4 d5 3. exd5 cxd5 4. c4 Nf6 5. Nc3 e6 6. Nf3 Bb4 7. c5 O-O 8. Bd2 Bxc3 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 Nc6 2. Nf3 e5 3. Bb5 a6 4. Ba4 Nf6 5. Bxc6 dxc6 6. d3 Bd6 7. Nbd2 Be6 8. a4 Nd7 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 4N3/8/1Q4pk/1P2ppb1/P1K5/4P3/2R5/3rq3 w - - 5 48"
},
{
"role": "assistant... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 8/5pk1/7p/3pRP2/1qb4Q/8/6rK/4R3 w - - 0 40"
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 8/p3qpk1/1p2p3/2p1P3/2P1Q1P1/4P3/PK1R1R2/r6r w - - 3 30"
},
{
"role": "as... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 5rk1/p5p1/1n5p/1p4NQ/3P4/4q1P1/P5KP/5R2 w - - 5 32"
},
{
"role": "assista... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nf3 d5 2. g3 c6 3. Bg2 Bd7 4. O-O Qc8 5. d4 Bh3 6. c4 h5 7. Nc3 h4 8. cxd5 hxg3 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 6Q1/2q1kp1p/p5pP/4P3/P1pP4/6P1/5P2/6K1 b - - 4 37"
},
{
"role": "assistan... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 c6 2. Nf3 d5 3. c4 Nf6 4. cxd5 Bg4 5. dxc6 Nxc6"
},
{
"role": "assistant... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. c4 g6 3. Nf3 Bg7 4. g3 O-O 5. Bg2 d6 6. O-O Nbd7 7. Qc2 e5 8. Rd1 exd4 9.... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 5r2/6k1/p2b2pp/1p6/2pPRrq1/P5P1/1P2Q1K1/1B1R4 w - - 0 39"
},
{
"role": "a... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 Qb6 5. Nb5 a6 6. Be3 Qd8 7. N5c3 e6 8. Nd2 Bb4 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 f5 2. Nc3 Nf6 3. Bg5 d5 4. e3 e6 5. Bd3 Be7 6. Nge2 h6 7. Bf4 g5 8. Be5 Nbd7 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. b3 Nc6 2. Bb2 d5 3. e3 Bf5 4. Nf3 Nf6 5. d4 e6 6. Bd3 Bg6 7. Bxg6 hxg6 8. Nbd2 Bd6 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. Bg5 c5 3. d5 d6 4. Nc3 b5 5. Nxb5 Qa5+ 6. Nc3 Ne4 7. Bd2 Nxd2 8. Qxd2 Ba6... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 8/2p2kp1/4p3/p1p1P3/Pr3PK1/1P5P/6P1/1R6 b - - 2 34"
},
{
"role": "assista... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d3 e6 2. Nd2 d5 3. e4 Be7 4. exd5 exd5 5. Ngf3 c6 6. Be2 Bg4 7. O-O Nd7 8. Re1 Bh5 ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: R7/Rq2ppbk/3p2p1/2pP3p/2B1nP2/1P2B1PP/7K/8 b - - 3 32"
},
{
"role": "assi... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 5rk1/3p1ppp/1rp1pn2/p7/3q1P2/2b5/PPPBQ1PP/1R1R3K w - - 0 17"
},
{
"role":... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 1r4k1/R1qr1ppp/3b4/4p3/2B5/1P2QP2/6PP/5R1K b - - 4 24"
},
{
"role": "assi... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nf3 d6 2. d4 c6 3. c4 Nd7 4. Nc3 Qc7 5. Bf4 Ngf6 6. e3 Nh5 7. Bg5 h6 8. Bh4 g5 9. B... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. g3 d5 2. Bg2 Nf6 3. b3 c6 4. Bb2 g6 5. Nf3 Bg7 6. O-O O-O 7. c4 a5 8. cxd5 cxd5 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 d5 2. Nf3 c6 3. c3 Nf6 4. Nbd2 Bg4 5. Ne5 Bh5 6. g3 Nbd7 7. Ndf3 e6 8. Bg2 Bd6 9... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 4Rbk1/1p6/3p1pqp/p1pP4/P1P5/8/1P2QBP1/4n1K1 b - - 0 33"
},
{
"role": "ass... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 2b4k/7p/R2p1np1/2p1p3/1pP1Pr1q/1P1P1P1P/1P1Q1P1K/R5N1 b - - 0 31"
},
{
"r... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 b6 2. Nf3 Bb7 3. Bg5 h6 4. Bh4 g6 5. Bg3 Bg7 6. e3 d6 7. Be2 e6 8. O-O Nd7 9. Ne... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 e5 2. Nc3 Nc6 3. d3 Nf6 4. f3 d5 5. Nge2 dxe4 6. Nb1 exf3 7. gxf3 Bc5 8. Ng3 Be6... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 4qr2/1p4pk/p2rBp2/b1pp1P2/8/1P1PP1R1/P1P2N1P/B6K w - - 0 39"
},
{
"role":... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. Nf3 d5 2. g3 c6 3. Bg2 Bd7 4. O-O Qc8 5. c4 Bh3 6. cxd5 h5 7. dxc6 Nxc6 8. d4 h4"
... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 2kr3r/1bq2pbp/pp1p2p1/n1pn4/P7/2P1NN1P/1P3PP1/RBBQ1RK1 w - - 0 16"
},
{
"... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 Nc6 2. Nc3 e5 3. Nf3 Bc5 4. Bb5 Bb6 5. d3 Nf6 6. Be3 d6 7. Bxc6+ bxc6 8. Qe2 Bg4... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c6 2. Nf3 d5 3. Nc3 Nf6 4. e5 Ne4 5. d4 Bg4 6. Bd3 Nxc3 7. bxc3 e6 8. h3 Bh5 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 g6 2. Nf3 Bg7 3. c3 c5 4. Bg5 cxd4 5. cxd4 d6 6. e3 Qb6 7. Nc3 Qxb2 8. Qc1 Qxc1+... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r2qk2r/ppp2ppp/3b1n2/3N3b/4P3/3Q1N2/PP3PPP/R1B1K2R w KQkq - 1 13"
},
{
"r... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 Nf6 2. Nf3 g6 3. Bg5 Bg7 4. e3 O-O 5. Nbd2 d5 6. c3 Ne4"
},
{
"role": "a... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r3k2r/p4ppp/1pq1p3/2bN4/8/3R2P1/PPQ1PP1P/R1B3K1 b kq - 0 16"
},
{
"role":... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 e5 2. Nf3 d5 3. exd5 e4 4. Nd4 Qxd5 5. Nb3 Bd6 6. Be2 Qe5 7. g3 Nc6 8. O-O Be6 9... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 e5 5. Nb5 d6 6. c4 g6 7. N1c3 a6 8. Na3 Be6 9. ... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. d4 f5 2. Nc3 Nf6 3. Bg5 d5 4. f3 Nc6 5. Qd2"
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 8/1Q2pk2/p2p2pp/3Pp3/qr6/4P2P/5PP1/2R3K1 w - - 0 35"
},
{
"role": "assist... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: r3kb1r/p1qb1ppp/2p2n2/3p4/3p4/2P1BP2/PP2Q1PP/RN2K1NR w KQkq - 0 11"
},
{
... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. e4 d5 2. exd5 Qxd5 3. Nc3 Qd8 4. d4 Nf6 5. Bf4 c5 6. Nf3 cxd4 7. Nxd4 Nc6 8. Nxc6 b... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 8/Qp2k3/2p1n1np/3p4/6P1/3N1KBP/PPPq4/8 b - - 2 45"
},
{
"role": "assistan... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "1. g3 Nf6 2. f3 g6 3. Nh3 Bg7 4. Nf2 O-O 5. Bg2 d5 6. O-O c5 7. d3 Nc6 8. e4 e5 9. Nc3... |
[
{
"role": "system",
"content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."
},
{
"role": "user",
"content": "FEN: 5rk1/4pp2/3p2p1/q1rP3P/3Q4/p4P2/K1PR4/1R6 w - - 3 30"
},
{
"role": "assis... |
Chess SFT Mix — GM games + puzzles + Stockfish
A ~400,000-row supervised fine-tuning dataset assembled for competitive chess LLM training. Unified chat format, single system prompt, three complementary sources of signal.
This is the follow-up to
cetusian/chess-sft-lichess-2200,
which was pure GM behaviour cloning. This dataset adds tactical puzzles
and engine-ground-truth labels on top of it, because BC alone caps at
the teacher's (fallible) move quality.
Summary
| Component | Rows | What it teaches |
|---|---|---|
| A. GM games (≥2200 Elo) | 199,999 | Opening theory, middlegame plans, sequence fluency, style |
| B. Lichess puzzles (rating-stratified) | 150,000 | "Only move" correctness, forcing sequences, tactical sharpness |
| C. Stockfish-enriched positions (depth 15) | 50,000 | Per-move engine-ground-truth in natural game context |
| Total | 399,999 | (391,999 train / 8,000 validation) |
All three components share a single chat format and a single system prompt, so the model learns one task: given a chess position, play the best move in SAN. The input shape tells the model whether the position came from a game (PGN) or a puzzle (FEN).
Format
Every row is an OpenAI-style messages list with exactly three messages:
{
"messages": [
{"role": "system", "content": "You are a chess grandmaster. Given a chess position (as a PGN move sequence or a FEN), play the best move in standard algebraic notation (SAN)."},
{"role": "user", "content": "1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4"},
{"role": "assistant", "content": "Nf6"}
]
}
User message shapes:
- PGN form (components A and C) — the move history as a standard
PGN prefix. Example:
"1. e4 e5 2. Nf3 Nc6 3. Bb5". - FEN form (component B) —
"FEN: <fen>". Example:"FEN: r1bqk2r/pp1nbNp1/2p1p2p/...".
Assistant message: always a single move in SAN (e.g. "Nf6",
"O-O", "e8=Q", "Qe6+", "Qxh7#").
This shape plugs directly into any modern SFT runner that accepts
messages / conversation format — including TRL's SFTTrainer (with
assistant_only_loss=True) and Surogate's type: conversation.
Component details
A. GM games (199,999 rows)
Imported verbatim from
cetusian/chess-sft-lichess-2200 —
Lichess games with both players ≥ 2200 Elo, Termination == "Normal",
≥ 20 ply, FEN-deduplicated, opening-capped, colour-balanced. One
random-ply position per game. The output is the move the human GM
actually played.
Label quality (from the upstream card's Stockfish probe, depth 18, 2k positions): 41.1% top-1 agreement, 68.3% top-3, median 13cp loss, 7.5% blunder rate.
B. Lichess puzzles (150,000 rows)
Sampled from
Lichess/chess-puzzles
(5.8M puzzles, CC0) with uniform stratification across five rating
buckets:
| Rating bucket | Rows |
|---|---|
| 800 – 1,199 | 30,000 |
| 1,200 – 1,599 | 30,000 |
| 1,600 – 1,999 | 30,000 |
| 2,000 – 2,399 | 30,000 |
| 2,400 – 3,320 | 30,000 |
For each puzzle we:
- Start from the given
FEN(position before the opponent's setup move). - Apply the first UCI move of
Moves— the opponent's move that sets up the tactic. - Convert the second UCI move — the player's first correct answer — to SAN.
- Emit
{user: "FEN: <position-after-setup>", assistant: "<SAN-answer>"}.
FENs are deduplicated across puzzles. Puzzles are where most of the
dataset's # (mate) labels come from — GM games almost never record
the final mating move.
C. Stockfish-enriched GM positions (50,000 rows)
Fifty thousand positions resampled from component A's PGN prefixes, analysed with Stockfish 16 at depth 15 on 64 parallel workers. The assistant output for these rows is Stockfish's preferred move, not the GM's. When SF agrees with the GM these rows reinforce; when it disagrees (≈59% of the time per the probe in A) the model sees a contrasting label for a familiar-looking position and learns the engine's preference.
Generation pipeline: data/prepare_mixed_sft.py (and companion
data/stockfish_probe.py) in the source repository.
Statistics
Size & composition
| Split | Rows | PGN inputs (A+C) | FEN inputs (B) |
|---|---|---|---|
| train | 391,999 | 244,894 | 147,105 |
| validation | 8,000 | ~4,994 | ~3,006 |
Output shape
| Property | Count |
|---|---|
Castles (O-O / O-O-O) |
6,918 |
Checks (SAN ending +) |
77,552 |
Mates (SAN ending #) |
11,233 |
Promotions (SAN containing =) |
923 |
| Unique SAN answers | 3,560 |
The tactical footprint is much heavier than in component A alone — 7× checks and ~11k mates (vs zero), courtesy of the puzzle mix.
User-message length (characters)
| median | mean | p95 | max | |
|---|---|---|---|---|
| all rows | 88 | 167 | 497 | 1,744 |
FEN inputs are short and fixed-ish (~70 chars); PGN prefixes are longer. The long tail still comes from deep endgame PGNs in the GM component.
Usage
Load
from datasets import load_dataset
ds = load_dataset("cetusian/chess-sft-mix-200k")
# DatasetDict({
# train: Dataset(features=['messages'], num_rows=391999),
# validation: Dataset(features=['messages'], num_rows=8000)
# })
Train (TRL SFTTrainer)
from transformers import AutoTokenizer, AutoModelForCausalLM
from trl import SFTTrainer, SFTConfig
MODEL = "Qwen/Qwen3-1.7B" # or Qwen3-8B, Qwen3.5, SmolLM2, etc.
tok = AutoTokenizer.from_pretrained(MODEL)
model = AutoModelForCausalLM.from_pretrained(MODEL, torch_dtype="auto")
trainer = SFTTrainer(
model=model, tokenizer=tok,
train_dataset=ds["train"], eval_dataset=ds["validation"],
args=SFTConfig(
output_dir="runs/chess-sft-mix",
max_seq_length=1024, # covers >99% of rows
per_device_train_batch_size=16,
gradient_accumulation_steps=2,
num_train_epochs=1, # 392k rows is ample
learning_rate=2e-5,
assistant_only_loss=True, # CRITICAL: supervise only the 2–8 move tokens
packing=False, # keep position boundaries
bf16=True, warmup_ratio=0.03,
),
)
trainer.train()
Train (Surogate)
datasets:
- path: cetusian/chess-sft-mix-200k
split: train
type: conversation
messages_field: messages
validation_datasets:
- path: cetusian/chess-sft-mix-200k
split: validation
type: conversation
messages_field: messages
Design notes
- Why one system prompt, not four per task? The user-message shape (PGN vs FEN-tagged) already tells the model which mode it's in. Multiple prompts would just over-specialise per task and force extra mode-routing for no benefit.
- Why 150k puzzles out of 5.8M available? Uniform 30k-per-bucket sampling gives the model tactics at every skill level without letting the huge beginner/intermediate bucket drown positional play signal.
- Why only 50k Stockfish rows? Depth-15 engine labels are the most expensive component. 50k is the sweet spot where correctness signal is visible in loss curves without blowing past a few minutes of 64-core compute.
- Why no tablebase? Syzygy 6-piece is ~150 GB on disk; marginal signal versus the Stockfish component on the same positions. Easy to add later.
Limitations
- Mixed-source label contradictions. Some positions appear in both A (with GM label) and C (with SF label). When the two disagree the model sees both moves as correct — acceptable for a behaviour-cloning base but something to be aware of.
- Puzzles drop opening context. Component B uses
FEN:only, so the model does not see how the puzzle was reached. This is intentional — puzzles are about the immediate tactic — but means theFENandPGNmodes train somewhat separately. - Single-move-per-row puzzles. Only the player's first move in each puzzle is emitted. Subsequent forced moves are dropped to keep row count bounded and to avoid upweighting long puzzles.
- Ceiling is still engine-level, not world-championship. Stockfish at depth 15 is very strong but not tablebase-perfect. The Stockfish component's labels inherit this cap.
Source & license
- Lichess games:
Lichess/standard-chess-games, CC0. - Lichess puzzles:
Lichess/chess-puzzles, CC0. - Stockfish evaluations: Stockfish 16, GPLv3 (evaluations are not copyrightable; the engine is only used as a tool).
This derivative dataset is released under CC0 1.0 Universal.
Citation
@misc{lichess-database,
title = {Lichess Open Database},
author = {{Lichess}},
year = {2024},
url = {https://database.lichess.org/},
note = {CC0 1.0 Universal}
}
@misc{stockfish,
title = {Stockfish: A strong open source chess engine},
author = {The Stockfish developers},
url = {https://stockfishchess.org/},
note = {GPLv3}
}
- Downloads last month
- 37