File size: 2,513 Bytes
0d50608
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6188196
0d50608
 
 
 
 
 
 
 
 
 
 
 
6188196
 
 
 
 
 
 
 
 
0d50608
6188196
 
 
 
 
 
 
 
 
 
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
---
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: 3819944422.152
    num_examples: 99999
  - name: validation
    num_bytes: 477938253.5
    num_examples: 12500
  - name: test
    num_bytes: 479103793
    num_examples: 12500
  download_size: 4435938030
  dataset_size: 4776986468.652
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: validation
    path: data/validation-*
  - split: test
    path: data/test-*
license: cc0-1.0
language:
- en
tags:
- chess
- chess puzzles
- lichess
- chess positions
- chess board
---
# Dataset Card for Chess Puzzles Images (mini)
This dataset contains 124,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.