File size: 1,418 Bytes
030a8fa
43ab281
 
 
 
7854635
43ab281
7854635
3caf0b4
 
 
 
 
 
7854635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
030a8fa
 
 
 
 
 
 
 
9891fa5
 
 
 
 
 
 
 
 
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
---
configs:
- config_name: default
  data_files:
  - split: train
    path: train/*.pgn
  - split: test
    path: test/*.pgn
license: mit
tags:
- code
size_categories:
- 100M<n<1B
pretty_name: ChessBot-Dataset
dataset_info:
  features:
  - name: state
    dtype:
      array2_d:
        shape:
        - 8
        - 8
        dtype: int8
  - name: action
    dtype: int16
  - name: result
    dtype: int8
  splits:
  - name: train
    num_bytes: 65545518162
    num_examples: 636364254
  - name: test
    num_bytes: 7298385021
    num_examples: 70858107
  download_size: 7621976329
  dataset_size: 72843903183
---

This repository contains a gigantic curated chess dataset meant for machine learning. Currently the dataset contains approximately **700 million positions** in **PGN format**, split across 1000 files. Huge credits to the following main sources:

- Lumbra's Database (filtered 2600+)
- Lichess Puzzle Database
- Computer Chess: TCEC Database, CCRL

Some stats (subject to change):
- Games per file: 9808/9809
- Positions per file: ~700,000
- Total train positions: 636364254
- Total test positions:   70858107

The supporting dataset code and training platform, known as ChessBot-Battleground, is found at: https://github.com/KeithG33/ChessBot-Battleground/

*Note*: The dataset requires `trust_remote_code=True` to parse the pgn data. See the code in `ChessBot-Dataset.py` if you'd like to verify first