christopher's picture
Update README.md
00592ca verified
metadata
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/*/*/*
tags:
  - chess
  - games
  - game
  - lichess
size_categories:
  - 1B<n<10B

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,298,645,464 standard rated games, played on lichess.org, updated monthly from the database dumps.

This version of the data is meant for data analysis. If you need PGN files you can find those here. 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.

This dataset is hive-partitioned into multiple parquet files on two keys: year and month:

.
β”œβ”€β”€ 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

Dataset Details

Dataset Sample

Dataset Fields

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 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.