christopher commited on
Commit
428a52d
β€’
1 Parent(s): 99cfe8d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -4
README.md CHANGED
@@ -59,12 +59,33 @@ size_categories:
59
 
60
  # Dataset Card for the Lichess Rated Standard Chess Games Dataset
61
 
62
- <!-- Provide a quick summary of the dataset. -->
63
  ## Dataset Description
64
 
65
- **6,111,210,071** standard rated games, played on lichess.org
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
 
67
- This dataset is updated monthly.
68
 
69
 
70
  ### Dataset Creation
@@ -84,6 +105,9 @@ Using the `polars` library:
84
 
85
  Using DuckDB:
86
 
 
 
 
87
  ## Dataset Details
88
 
89
  ### Dataset Sample
@@ -103,4 +127,11 @@ Every row of the dataset contains the following fields:
103
 
104
  - **`Event`**: `string`,
105
  - **`Site`**: `string`,
106
- -
 
 
 
 
 
 
 
 
59
 
60
  # Dataset Card for the Lichess Rated Standard Chess Games Dataset
61
 
 
62
  ## Dataset Description
63
 
64
+ **6,111,210,071** standard rated games, played on [lichess.org], updated monthly from the [database dumps](https://database.lichess.org/#standard_games).
65
+
66
+ 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 section.
67
+
68
+ This dataset is hive-partitioned into multiple parquet files on two keys: `year` and `month`:
69
+
70
+ ```bash
71
+ .
72
+ β”œβ”€β”€ data
73
+ β”‚Β Β  └── year=2015
74
+ β”‚Β Β  β”œβ”€β”€ month=01
75
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ train-00000-of-00003.parquet
76
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ train-00001-of-00003.parquet
77
+ β”‚Β Β  β”‚Β Β  └── train-00002-of-00003.parquet
78
+ β”‚Β Β  β”œβ”€β”€ month=02
79
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ train-00000-of-00003.parquet
80
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ train-00001-of-00003.parquet
81
+ β”‚Β Β  β”‚Β Β  └── train-00002-of-00003.parquet
82
+ β”‚Β Β  β”œβ”€β”€ month=03
83
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ train-00000-of-00003.parquet
84
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ train-00001-of-00003.parquet
85
+ β”‚Β Β  β”‚Β Β  └── train-00002-of-00003.parquet
86
+ β”‚Β Β  β”œβ”€β”€ ...
87
 
88
+ ```
89
 
90
 
91
  ### Dataset Creation
 
105
 
106
  Using DuckDB:
107
 
108
+ Using `python-chess`:
109
+
110
+
111
  ## Dataset Details
112
 
113
  ### Dataset Sample
 
127
 
128
  - **`Event`**: `string`,
129
  - **`Site`**: `string`,
130
+
131
+ ### Notes
132
+
133
+ - 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.
134
+
135
+ - The WhiteElo and BlackElo tags contain Glicko2 ratings.
136
+
137
+ - Games contain clock information as PGN %clk comments since April 2017.