File size: 3,056 Bytes
070b546 d261da2 070b546 a3c0ed0 070b546 ae58288 733d07d 070b546 4b7ba98 038f601 4b7ba98 85c0c37 070b546 6cf7d92 99cfe8d 6cf7d92 428a52d 9e90b1d 428a52d 6cf7d92 428a52d 6cf7d92 428a52d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
---
license: cc0-1.0
pretty_name: Lichess Standard Rated Games
dataset_info:
features:
- name: Event
dtype: string
- name: Site
dtype: string
- name: White
dtype: string
- name: Black
dtype: string
- name: Result
dtype: string
- name: WhiteTitle
dtype: string
- name: BlackTitle
dtype: string
- name: WhiteElo
dtype: int16
- name: BlackElo
dtype: int16
- name: WhiteRatingDiff
dtype: int16
- name: BlackRatingDiff
dtype: int16
- name: UTCDate
dtype: date32
- name: UTCTime
dtype: time32[s]
- name: ECO
dtype: string
- name: Opening
dtype: string
- name: Termination
dtype: string
- name: TimeControl
dtype: string
- name: movetext
dtype: string
configs:
- config_name: default
data_files:
- split: train
path: data/**/train-*
tags:
- chess
- games
- game
- lichess
size_categories:
- 1B<n<10B
---
> [!CAUTION]
> This dataset is still a work in progress and some breaking changes might occur. In the meantime, please use https://database.lichess.org/#standard_games
>
# Dataset Card for the Lichess Rated Standard Chess Games Dataset
## Dataset Description
**6,111,210,071** standard rated games, played on [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 Creation
```python
```
### 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.
- Games contain clock information as PGN %clk comments since April 2017. |