--- dataset_info: - config_name: '201301' features: - name: Event dtype: string - name: Site dtype: string - name: White dtype: string - name: Black dtype: string - name: Result dtype: string - name: UTCDate dtype: date32 - name: UTCTime dtype: time64[us] - name: WhiteElo dtype: int64 - name: BlackElo dtype: int64 - name: WhiteRatingDiff dtype: float64 - name: BlackRatingDiff dtype: float64 - name: ECO dtype: string - name: Opening dtype: string - name: TimeControl dtype: string - name: Termination dtype: string - name: Transcript dtype: string splits: - name: train num_bytes: 61861759 num_examples: 121332 download_size: 30725337 dataset_size: 61861759 - config_name: '201302' features: - name: Event dtype: string - name: Site dtype: string - name: White dtype: string - name: Black dtype: string - name: Result dtype: string - name: UTCDate dtype: date32 - name: UTCTime dtype: time64[us] - name: WhiteElo dtype: int64 - name: BlackElo dtype: int64 - name: WhiteRatingDiff dtype: float64 - name: BlackRatingDiff dtype: float64 - name: ECO dtype: string - name: Opening dtype: string - name: TimeControl dtype: string - name: Termination dtype: string - name: Transcript dtype: string splits: - name: train num_bytes: 63219833 num_examples: 123961 download_size: 31415051 dataset_size: 63219833 - config_name: '201303' features: - name: Event dtype: string - name: Site dtype: string - name: White dtype: string - name: Black dtype: string - name: Result dtype: string - name: UTCDate dtype: date32 - name: UTCTime dtype: time64[us] - name: WhiteElo dtype: int64 - name: BlackElo dtype: int64 - name: WhiteRatingDiff dtype: float64 - name: BlackRatingDiff dtype: float64 - name: ECO dtype: string - name: Opening dtype: string - name: TimeControl dtype: string - name: Termination dtype: string - name: Transcript dtype: string splits: - name: train num_bytes: 81816980 num_examples: 158635 download_size: 40807271 dataset_size: 81816980 - config_name: '201304' features: - name: Event dtype: string - name: Site dtype: string - name: White dtype: string - name: Black dtype: string - name: Result dtype: string - name: UTCDate dtype: date32 - name: UTCTime dtype: time64[us] - name: WhiteElo dtype: int64 - name: BlackElo dtype: int64 - name: WhiteRatingDiff dtype: float64 - name: BlackRatingDiff dtype: float64 - name: ECO dtype: string - name: Opening dtype: string - name: TimeControl dtype: string - name: Termination dtype: string - name: Transcript dtype: string splits: - name: train num_bytes: 80988552 num_examples: 157871 download_size: 40329683 dataset_size: 80988552 - config_name: '201305' features: - name: Event dtype: string - name: Site dtype: string - name: White dtype: string - name: Black dtype: string - name: Result dtype: string - name: UTCDate dtype: date32 - name: UTCTime dtype: time64[us] - name: WhiteElo dtype: int64 - name: BlackElo dtype: int64 - name: WhiteRatingDiff dtype: float64 - name: BlackRatingDiff dtype: float64 - name: ECO dtype: string - name: Opening dtype: string - name: TimeControl dtype: string - name: Termination dtype: string - name: Transcript dtype: string splits: - name: train num_bytes: 92018051 num_examples: 179550 download_size: 45404561 dataset_size: 92018051 - config_name: '201307' features: - name: Event dtype: string - name: Site dtype: string - name: White dtype: string - name: Black dtype: string - name: Result dtype: string - name: UTCDate dtype: date32 - name: UTCTime dtype: time64[us] - name: WhiteElo dtype: int64 - name: BlackElo dtype: int64 - name: WhiteRatingDiff dtype: float64 - name: BlackRatingDiff dtype: float64 - name: ECO dtype: string - name: Opening dtype: string - name: TimeControl dtype: string - name: Termination dtype: string - name: Transcript dtype: string splits: - name: train num_bytes: 149211800 num_examples: 293459 download_size: 73771299 dataset_size: 149211800 - config_name: '201308' features: - name: Event dtype: string - name: Site dtype: string - name: White dtype: string - name: Black dtype: string - name: Result dtype: string - name: UTCDate dtype: date32 - name: UTCTime dtype: time64[us] - name: WhiteElo dtype: int64 - name: BlackElo dtype: int64 - name: WhiteRatingDiff dtype: float64 - name: BlackRatingDiff dtype: float64 - name: ECO dtype: string - name: Opening dtype: string - name: TimeControl dtype: string - name: Termination dtype: string - name: Transcript dtype: string splits: - name: train num_bytes: 165515031 num_examples: 325525 download_size: 81837913 dataset_size: 165515031 configs: - config_name: '201301' data_files: - split: train path: data/201301/train-* - config_name: '201302' data_files: - split: train path: data/201302/train-* - config_name: '201303' data_files: - split: train path: data/201303/train-* - config_name: '201304' data_files: - split: train path: data/201304/train-* - config_name: '201305' data_files: - split: train path: data/201305/train-* - config_name: '201307' data_files: - split: train path: data/201307/train-* - config_name: '201308' data_files: - split: train path: data/201308/train-* --- # Dataset Card for Lichess.org UCI Dataset ## Description The Lichess.org database has been converted to UCI format and uploaded here. This dataset groups games according to the year and month (yyyymm format) the games took place. ### Dataset Structure Each record in the dataset has the following structure: ```json { "Site": "abcd1234", "Event": "Rated Blitz game", "White": "player1", "Black": "player2", "Result": "1-0", "UTCDate": "2023-05-21", "UTCTime": "13:45:00", "WhiteElo": 1500, "BlackElo": 1400, "WhiteRatingDiff": 10, "BlackRatingDiff": -10, "ECO": "C50", "Opening": "Italian Game", "TimeControl": "300+0", "Termination": "Normal", "Transcript": "e2e4 e7e5 g1f3 b8c6 ... d7d8Q" } ``` ### Field descriptions - `Site`: string, unique identifier for the game. Replays can be viewed by navigating to `https://lichess.org/` - `Event`: string, type of event. - `White`: string, white player. - `Black`: string, black player. - `Result`: string, game result. - `UTCDate`: date32, date of the game. - `UTCTime`: time64[us], time of the game. - `WhiteElo`: int64, ELO rating of the white player. - `BlackElo`: int64, ELO rating of the black player. - `WhiteRatingDiff`: float64, rating change for the white player. - `BlackRatingDiff`: float64, rating change for the black player. - `ECO`: string, Encyclopaedia of Chess Openings (ECO) code of the opening. See [https://www.365chess.com/eco.php](https://www.365chess.com/eco.php) - `Opening`: string, name of the opening. - `TimeControl`: string, time control format. - `Termination`: string, reason for game termination. - `Transcript`: string, sequence of moves in UCI format. Note: Promotions are capitalized. ### Human versus Bot Players The source data comes from games played on Lichess.org, an online platform where users from around the world play chess. This database does not distinguish between human-and bot-played games. However, it's reasonable to assume games played before April 2018 were overwhelmingly played by human players since Lichess.org released its [bot api](https://github.com/lichess-org/api) on April 1st, 2018. ### Citation Information If you use this dataset, please cite it as follows: ``` @misc{lichess_uci, author = {Davis, Austin}, title = {Lichess.org Open Database in UCI format}, year = {2024}, howpublished = {\url{https://huggingface.co/datasets/austindavis/lichess-uci}}, } ```