|
Download README.md from thenewcoder/standard-chess-games: direct link, hf CLI and curl.
- Browser
- Download file 2.7 kB
-
https://huggingface.co/datasets/thenewcoder/standard-chess-games/resolve/main/README.md
- Command line
-
hf download hf://datasets/thenewcoder/standard-chess-games/README.md
-
curl -L -o README.md https://huggingface.co/datasets/thenewcoder/standard-chess-games/resolve/main/README.md
2.7 kB
| license: cc0-1.0 | |
| pretty_name: Lichess Standard Rated Games | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: data/**/train-* | |
| tags: | |
| - chess | |
| - games | |
| - game | |
| - lichess | |
| - tabular | |
| size_categories: | |
| - 1B<n<10B | |
| > [!CAUTION] | |
| > This dataset is still a work in progress and some breaking changes might occur. | |
| > | |
| # Lichess Rated Standard Chess Games Dataset | |
| ## Dataset Description | |
| **6,771,826,271** standard rated games, played on [lichess.org](https://lichess.org), updated monthly from the [database dumps](https://database.lichess.org/#standard_games). | |
| This version of the data is meant for data analysis. If you need PGN files you can find those [here](https://database.lichess.org/#standard_games). That said, once you have a subset of interest, it is trivial to convert it back to PGN as shown in the [Dataset Usage](#dataset-usage) section. | |
| This dataset is hive-partitioned into multiple parquet files on two keys: `year` and `month`: | |
| ```bash | |
| . | |
| ├── data | |
| │ └── year=2015 | |
| │ ├── month=01 | |
| │ │ ├── train-00000-of-00003.parquet | |
| │ │ ├── train-00001-of-00003.parquet | |
| │ │ └── train-00002-of-00003.parquet | |
| │ ├── month=02 | |
| │ │ ├── train-00000-of-00003.parquet | |
| │ │ ├── train-00001-of-00003.parquet | |
| │ │ └── train-00002-of-00003.parquet | |
| │ ├── ... | |
| ``` | |
| ### Dataset Usage | |
| <!-- Using the `datasets` library: | |
| ```python | |
| from datasets import load_dataset | |
| dset = load_dataset("Lichess/chess-evaluations", split="train") | |
| ``` | |
| Using the `polars` library: | |
| Using DuckDB: | |
| Using `python-chess`: --> | |
| ## Dataset Details | |
| ### Dataset Sample | |
| <!-- One row of the dataset looks like this: | |
| ```python | |
| { | |
| "Event":, | |
| "Site":, | |
| } | |
| ``` --> | |
| ### Dataset Fields | |
| <!-- Every row of the dataset contains the following fields: | |
| - **`Event`**: `string`, | |
| - **`Site`**: `string`, --> | |
| ### Notes | |
| - About 6% of the games include Stockfish analysis evaluations: [%eval 2.35] (235 centipawn advantage), [%eval #-4] (getting mated in 4), always from White's point of view. | |
| - The WhiteElo and BlackElo tags contain Glicko2 ratings. | |
| - The `movetext` column contains clock information as PGN %clk comments since April 2017. | |
| - The schema doesn't include the `Date` header, typically part of the [Seven Tag Roster](https://en.wikipedia.org/wiki/Portable_Game_Notation#Seven_Tag_Roster) as we deemed the `UTCDate` field to be enough. | |
| - A future version of the data will include the addition of a `UCI` column containing the corresponding moves in [UCI format](https://en.wikipedia.org/wiki/Universal_Chess_Interface). |