Filtered subset of the Lichess open database where
both players are rated 1800-1900.
ds = load_dataset("thomas-schweich/lichess-1800-1900")
game = ds["train"][0]
print(game["pgn"]) # move text
print(game["white_elo"]) # 1847
print(game["headers"]) # full PGN headers (for parser compatibility)
headers
string
Full… See the full description on the dataset page:
https://huggingface.co/datasets/thomas-schweich/lichess-1800-1900.