coryvegan/chess-puzzles-with-games
收藏Hugging Face2026-04-12 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/coryvegan/chess-puzzles-with-games
下载链接
链接失效反馈官方服务:
资源简介:
---
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
license: cc0-1.0
tags:
- chess
- lichess
- puzzles
pretty_name: Lichess Puzzles with Game Information
size_categories:
- 1M<n<10M
dataset_info:
features:
- name: Popularity
dtype: int8
- name: FEN
dtype: string
- name: RatingDeviation
dtype: uint16
- name: Themes
list: string
- name: NbPlays
dtype: uint32
- name: Moves
dtype: string
- name: Rating
dtype: uint16
- name: PuzzleId
dtype: string
- name: perf
dtype: string
- name: tournament
dtype: string
- name: swiss
dtype: string
- name: lastMoveAt
dtype: timestamp[ms]
- name: clock
struct:
- name: increment
dtype: int64
- name: initial
dtype: int64
- name: totalTime
dtype: int64
- name: variant
dtype: string
- name: speed
dtype: string
- name: createdAt
dtype: timestamp[ms]
- name: analysis
list: json
- name: moves
dtype: string
- name: status
dtype: string
- name: GameId
dtype: string
- name: ECO
dtype: string
- name: Opening
dtype: string
- name: OpeningPly
dtype: int64
- name: White
dtype: string
- name: WhiteElo
dtype: int64
- name: WhiteRatingDiff
dtype: int16
- name: WhiteProvisional
dtype: bool
- name: WhiteAcpl
dtype: uint16
- name: WhiteAccuracy
dtype: int64
- name: WhiteMistake
dtype: uint8
- name: WhiteInaccuracy
dtype: uint8
- name: WhiteBlunder
dtype: uint8
- name: Black
dtype: string
- name: BlackElo
dtype: int64
- name: BlackRatingDiff
dtype: int16
- name: BlackProvisional
dtype: bool
- name: BlackAcpl
dtype: uint16
- name: BlackAccuracy
dtype: int64
- name: BlackMistake
dtype: uint8
- name: BlackInaccuracy
dtype: uint8
- name: BlackBlunder
dtype: uint8
- name: WhiteTitle
dtype: string
- name: BlackTitle
dtype: string
- name: Result
dtype: string
- name: movetext
dtype: string
splits:
- name: train
num_bytes: 27910847742
num_examples: 2969886
download_size: 18401113171
dataset_size: 27910847742
---
> [!CAUTION]
> This dataset is still a work in progress. Expect breaking changes.
>
This dataset was contributed by [Marco Cognetta](https://github.com/mcognetta). The original archived repository describing the project can be found here: https://github.com/mcognetta/lichess-combined-puzzle-game-db
## Background
> This contains every puzzle from the [Lichess Puzzle Database](https://database.lichess.org/#puzzles) joined with their games from the [Lichess Game Database](https://database.lichess.org/#standard_games). The puzzle data was pulled in September 2022. There are 2,969,948 puzzles in total. The game info was pulled from the [Lichess API](https://lichess.org/api) with [every flag enabled](https://lichess.org/api#tag/Games/operation/gamesExportIds).
## Format
>The database is given as a single `bzip2` compressed [ndjson](http://ndjson.org/) file. Each line contains a JSON object with two top-level fields: `game` and `puzzle`. The `game` object contains the entire JSON dump of the game information from the [Lichess API call](https://lichess.org/api#tag/Games/operation/gamesExportIds) with every flag enabled. The `puzzle` object contains all of the information from the puzzle database entry, with the field names being taken from the [csv headers](https://database.lichess.org/#puzzles). That is, you can expect the following fields in the `puzzle` object (though they are not necessarily all populated): `PuzzleId`,`FEN`,`Moves`,`Rating`,`RatingDeviation`,`Popularity`,`NbPlays`,`Themes`,`GameUrl`,`OpeningFamily`, and `OpeningVariation`.
>
>The games and puzzles are joined by the game id (`id` in the `game` object). The matching `id` is extracted from a puzzle's `GameUrl` field. Note that `PuzzleId` and `id` are unrelated.
>
提供机构:
coryvegan



