Views
No views yet
<FEN position>
M: <candidate moves in UCI notation>
E: <evaluation scores for each candidate>
B: <best move in UCI notation>rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
M: e2e4 d2d4 g1f3 c2c4 g2g3
E: 0.3 0.3 0.2 0.1 0.0
B: e2e41# Input prompt
2prompt = "r1bqkbnr/pppp1ppp/2n5/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R w KQkq - 2 3"
3
4# Model generates continuation (stripped padding)
5output = "M: d2d4 b1c3 f1c4 f1b5 d2d3 E: 0.6 0.5 0.4 0.3 0.2 B: d2d4"1# Training command
2./train_gpt2 \
3 --input_bin data/rook_train.bin \
4 --val_bin data/rook_val.bin \
5 --model_file log/model.bin \
6 --batch_size 512 \
7 --sequence_length 20481@article{rook2024,
2 title={ROOK: Strategic Reasoning in Chess Without Search},
3 author={Rahn, Jonathan and Jitsev, Jenia and Sun, Qi},
4 journal={LAION Research Notes},
5 year={2024},
6 url={https://laion.ai/notes/rook/}
7}