Felipe97/llama-cpp-compiled
01.1k
1# Specifies chess moves as a list in algebraic notation, using PGN conventions2 3# Force first move to "1. ", then any 1-2 digit number after, relying on model to follow the pattern4root ::= "1. " move " " move "\n" ([1-9] [0-9]? ". " move " " move "\n")+5move ::= (pawn | nonpawn | castle) [+#]?6 7# piece type, optional file/rank, optional capture, dest file & rank8nonpawn ::= [NBKQR] [a-h]? [1-8]? "x"? [a-h] [1-8]9 10# optional file & capture, dest file & rank, optional promotion11pawn ::= ([a-h] "x")? [a-h] [1-8] ("=" [NBKQR])?12 13castle ::= "O-O" "-O"?14 