Lichess/chess-position-evaluations
Viewer • Updated • 845M • 1.72k • 24
Fine-tuned GPT-2 Medium (355M parameters) for chess move prediction.
FEN: <fen_string> MOVE: <uci_move>The model predicts the best UCI move given a FEN position. Use with constrained decoding (lm-format-enforcer) for 100% legal move rate.
prompt = "FEN: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 MOVE: "