--- 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: '201306' 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: 114329184 num_examples: 224679 download_size: 56494312 dataset_size: 114329184 - 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 - config_name: '201309' 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: 163951165 num_examples: 325098 download_size: 81003500 dataset_size: 163951165 - config_name: '201310' 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: 209361453 num_examples: 411039 download_size: 103389120 dataset_size: 209361453 - config_name: '201312' 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: 294571388 num_examples: 578262 download_size: 146045029 dataset_size: 294571388 - config_name: '201403' 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: 404322993 num_examples: 795172 download_size: 201333812 dataset_size: 404322993 - config_name: '201405' 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: 465450844 num_examples: 905374 download_size: 231032543 dataset_size: 465450844 - config_name: '201410' 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: 574005034 num_examples: 1111302 download_size: 284708741 dataset_size: 574005034 - config_name: '201412' 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: 687959729 num_examples: 1350176 download_size: 330090790 dataset_size: 687959729 - config_name: '201501' 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: 767730580 num_examples: 1497237 download_size: 368973097 dataset_size: 767730580 - config_name: '201504' 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: 913345142 num_examples: 1785418 download_size: 439637462 dataset_size: 913345142 - config_name: '201505' 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: 1093758702 num_examples: 2137556 download_size: 523642621 dataset_size: 1093758702 - config_name: '201603' 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: 2987640077 num_examples: 5801231 download_size: 1450713224 dataset_size: 2987640077 - config_name: '201604' 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: 3056195121 num_examples: 5922667 download_size: 1485914987 dataset_size: 3056195121 - config_name: '201605' 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: 3213421118 num_examples: 6225956 download_size: 1565953504 dataset_size: 3213421118 - config_name: '201606' 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: 3179160728 num_examples: 6136419 download_size: 1549264870 dataset_size: 3179160728 - config_name: '201607' 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: 3263949025 num_examples: 6275933 download_size: 1588889889 dataset_size: 3263949025 - config_name: '201608' 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: 3379502299 num_examples: 6483256 download_size: 1646732899 dataset_size: 3379502299 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: '201306' data_files: - split: train path: data/201306/train-* - config_name: '201307' data_files: - split: train path: data/201307/train-* - config_name: '201308' data_files: - split: train path: data/201308/train-* - config_name: '201309' data_files: - split: train path: data/201309/train-* - config_name: '201310' data_files: - split: train path: data/201310/train-* - config_name: '201312' data_files: - split: train path: data/201312/train-* - config_name: '201403' data_files: - split: train path: data/201403/train-* - config_name: '201405' data_files: - split: train path: data/201405/train-* - config_name: '201410' data_files: - split: train path: data/201410/train-* - config_name: '201412' data_files: - split: train path: data/201412/train-* - config_name: '201501' data_files: - split: train path: data/201501/train-* - config_name: '201504' data_files: - split: train path: data/201504/train-* - config_name: '201505' data_files: - split: train path: data/201505/train-* - config_name: '201603' data_files: - split: train path: data/201603/train-* - config_name: '201604' data_files: - split: train path: data/201604/train-* - config_name: '201605' data_files: - split: train path: data/201605/train-* - config_name: '201606' data_files: - split: train path: data/201606/train-* - config_name: '201607' data_files: - split: train path: data/201607/train-* - config_name: '201608' data_files: - split: train path: data/201608/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}}, } ```