File size: 2,522 Bytes
5f70323
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6e2d6b6
5f70323
 
 
 
 
 
 
 
 
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
---
license: cc0-1.0
dataset_info:
  features:
  - name: image
    dtype: image
  - name: board_state
    dtype: string
  - name: active_color
    dtype: string
  - name: castling_rights
    dtype: string
  - name: en_passant_target_square
    dtype: string
  - name: best_continuation
    dtype: string
  splits:
  - name: train
    num_bytes: 26061473408.474
    num_examples: 999999
  - name: validation
    num_bytes: 3293166231
    num_examples: 125000
  - name: test
    num_bytes: 3242260311
    num_examples: 125000
  download_size: 31940403915
  dataset_size: 32596899950.474
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: validation
    path: data/validation-*
  - split: test
    path: data/test-*
language:
- en
tags:
- chess
- chess puzzles
- lichess
- chess positions
- chess board
---
# Dataset Card for Chess Puzzles Images (large)
This dataset contains 1,249,999 chess board positions in JPG format, derived from [Lichess](https://lichess.org/training/themes) puzzles. Each image is accompanied by a shortened FEN string, indication for the color to play as, castling and en passant availability, and best moves in standard algebraic notation. 
The fields are as follows: 

- **`image`**: `image`, A visual representation of the chess board showing the current piece arrangement.
- **`board_state`**: `string`, A shortened FEN (Forsyth–Edwards Notation) string representing the piece placement on the board after the opponent's move. This state indicates the position from which the player must find the correct continuation.
- **`active_color`**: `string`, Indicates which player's turn it is to move. "w" for White to move and "b" for Black to move.
- **`castling_rights`**: `string`, Indicates the remaining castling options for both players. If neither side has the ability to castle, this field uses the character "-". Otherwise, **this field contains one or more letters**: "K" if White can castle kingside, "Q" if White can castle queenside, "k" if Black can castle kingside, and "q" if Black can castle queenside.
- **`en_passant_target_square`**: `string`, Specifies the square in algebraic notation where an en passant capture is possible. If no en passant capture is available, this field contains "-".
- **`best_continuation`**: `string`, The solution to the puzzle, consisting of "only moves" - moves that are significantly better than any alternatives. For mate-in-one puzzles, multiple solutions may exist if they all result in checkmate.