--- 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 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-* --- # 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, ECO code of the opening. - `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}}, } ```