Datasets:
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +111 -0
- processed/train_01_400-1000.pgn +3 -0
- processed/train_02_1001-1200.pgn +3 -0
- processed/train_03_1201-1325.pgn +3 -0
- processed/train_04_1326-1425.pgn +3 -0
- processed/train_05_1426-1500.pgn +3 -0
- processed/train_06_1501-1575.pgn +3 -0
- processed/train_07_1576-1650.pgn +3 -0
- processed/train_08_1651-1750.pgn +3 -0
- processed/train_09_1751-1875.pgn +3 -0
- processed/train_10_1876-2100.pgn +3 -0
- processed/train_11_2101-2400.pgn +3 -0
- processed/train_12_2401-PLUS.pgn +3 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
processed/train_01_400-1000.pgn filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
processed/train_02_1001-1200.pgn filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
processed/train_03_1201-1325.pgn filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
processed/train_04_1326-1425.pgn filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
processed/train_05_1426-1500.pgn filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
processed/train_06_1501-1575.pgn filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
processed/train_07_1576-1650.pgn filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
processed/train_08_1651-1750.pgn filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
processed/train_09_1751-1875.pgn filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
processed/train_10_1876-2100.pgn filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
processed/train_11_2101-2400.pgn filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
processed/train_12_2401-PLUS.pgn filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
- time-series-forecasting
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- chess
|
| 11 |
+
- maia
|
| 12 |
+
- human-behavior
|
| 13 |
+
- lichess
|
| 14 |
+
- game-ai
|
| 15 |
+
pretty_name: Maia Chess 2025 (Processed 12-Bucket)
|
| 16 |
+
size_categories:
|
| 17 |
+
- 10M<n<100M
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## Related Projects
|
| 21 |
+
|
| 22 |
+
- 🧠 **Maia Chess / Cognitive Chess Coach**
|
| 23 |
+
https://github.com/ygkali/zweig-chess-engine
|
| 24 |
+
|
| 25 |
+
This dataset is designed to train human-aligned chess models such as Maia-style
|
| 26 |
+
ELO-conditioned neural networks.
|
| 27 |
+
|
| 28 |
+
# ♟️ Maia Chess 2025: Human-Aligned Chess Dataset
|
| 29 |
+
|
| 30 |
+
> **"Predicting human moves, not engine moves."**
|
| 31 |
+
|
| 32 |
+
This dataset contains **11.15 million processed chess games** from the Lichess Open Database (Year 2025), specifically curated and segmented to train **Human-Aligned AI models** (Maia Chess).
|
| 33 |
+
|
| 34 |
+
Unlike traditional chess datasets that aim for objective optimality (Stockfish evaluation), this dataset captures the **subjective, error-prone, and stylistic nature of human play** across 12 distinct skill levels.
|
| 35 |
+
|
| 36 |
+
## 📊 Dataset Structure & Distribution
|
| 37 |
+
|
| 38 |
+
The data is partitioned into **12 Skill Buckets** based on the players' average ELO rating. This granular segmentation allows for **Isolated Training** or **Curriculum Learning** strategies, enabling the model to mimic specific skill levels from "Novice" to "Elite".
|
| 39 |
+
|
| 40 |
+
| ID | Filename | ELO Range | Population % | Description | Skill Level |
|
| 41 |
+
| :--- | :--- | :--- | :--- | :--- | :--- |
|
| 42 |
+
| **01** | `train_01.pgn` | **400 - 1050** | 8.3% | Novice | 🌱 Beginner |
|
| 43 |
+
| **02** | `train_02.pgn` | **1051 - 1200** | 9.6% | Beginner | 🌱 Beginner |
|
| 44 |
+
| **03** | `train_03.pgn` | **1201 - 1325** | 11.6% | Casual Player | ♟️ Casual |
|
| 45 |
+
| **04** | `train_04.pgn` | **1326 - 1425** | 11.4% | Lower Intermediate | ♟️ Casual |
|
| 46 |
+
| **05** | `train_05.pgn` | **1426 - 1500** | 9.1% | Intermediate | ⚔️ Intermediate |
|
| 47 |
+
| **06** | `train_06.pgn` | **1501 - 1575** | 9.1% | Upper Intermediate | ⚔️ Intermediate |
|
| 48 |
+
| **07** | `train_07.pgn` | **1576 - 1650** | 8.5% | Advanced Intermediate | ⚔️ Intermediate |
|
| 49 |
+
| **08** | `train_08.pgn` | **1651 - 1750** | 10.2% | Club Player | 🏅 Advanced |
|
| 50 |
+
| **09** | `train_09.pgn` | **1751 - 1875** | 9.8% | Strong Club Player | 🏅 Advanced |
|
| 51 |
+
| **10** | `train_10.pgn` | **1876 - 2100** | 8.8% | Expert | 🏆 Expert |
|
| 52 |
+
| **11** | `train_11.pgn` | **2101 - 2400** | 3.3% | Master | 👑 Master |
|
| 53 |
+
| **12** | `train_12.pgn` | **2401 - 3000** | **0.3%** | Elite / Super-Human | 🤖 Super-Human |
|
| 54 |
+
|
| 55 |
+
> **⚠️ Data Scarcity Alert:** The Elite bucket (ID 12) represents only **0.3%** of the total population. Models trained on this bucket may require transfer learning from lower buckets to converge effectively.
|
| 56 |
+
|
| 57 |
+
## 🚀 Usage
|
| 58 |
+
|
| 59 |
+
You can load this dataset in **Streaming Mode** to avoid downloading the entire 10GB+ archive. This is ideal for Colab or low-disk environments.
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
from datasets import load_dataset
|
| 63 |
+
|
| 64 |
+
# Example: Load only the Grandmaster games (Bucket 12)
|
| 65 |
+
dataset = load_dataset(
|
| 66 |
+
"ygkali/zweig-chess-engine-processed",
|
| 67 |
+
data_files="train_12.pgn",
|
| 68 |
+
streaming=True
|
| 69 |
+
)
|
| 70 |
+
|
| 71 |
+
print("Streaming games...")
|
| 72 |
+
for i, game in enumerate(dataset['train']):
|
| 73 |
+
print(f"Game {i+1}: {game['text'][:50]}...")
|
| 74 |
+
if i == 5: break
|
| 75 |
+
|
| 76 |
+
##
|
| 77 |
+
|
| 78 |
+
ZWEIG Chess Engine Dataset is a general-purpose human chess dataset, while Maia Chess models are downstream consumers of this data.
|
| 79 |
+
|
| 80 |
+
##
|
| 81 |
+
|
| 82 |
+
🛠️ Methodology
|
| 83 |
+
1. Source
|
| 84 |
+
|
| 85 |
+
Origin: Lichess Open Database (Jan 2025 - Dec 2025).
|
| 86 |
+
|
| 87 |
+
Time Controls: Blitz, Rapid, Classical (Bullet excluded to reduce noise).
|
| 88 |
+
|
| 89 |
+
2. Preprocessing Pipeline
|
| 90 |
+
|
| 91 |
+
Parsing: python-chess library used for PGN parsing.
|
| 92 |
+
|
| 93 |
+
Filtering: Games with fewer than 10 moves were discarded.
|
| 94 |
+
|
| 95 |
+
Bucketing: Games were assigned to buckets based on the average ELO of White and Black players: (White_ELO + Black_ELO) / 2.
|
| 96 |
+
|
| 97 |
+
⚖️ License & Citation
|
| 98 |
+
|
| 99 |
+
This dataset is derived from Lichess (CC0) and is released under the MIT License.
|
| 100 |
+
Kod snippet'i
|
| 101 |
+
|
| 102 |
+
@dataset{maia_chess_2025,
|
| 103 |
+
author = {ygkali},
|
| 104 |
+
title = {Maia Chess 2025: Human-Aligned Chess Dataset},
|
| 105 |
+
year = {2025},
|
| 106 |
+
publisher = {Hugging Face},
|
| 107 |
+
url = {[https://huggingface.co/datasets/ygkla/zweig-chess-engine-processed](https://huggingface.co/datasets/ygkla/zweig-chess-engine-processed)}
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
***
|
processed/train_01_400-1000.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f74d9e52cc7954f898e0489fd7412d54401ee09dab52ee0dec22d0c32d06f42a
|
| 3 |
+
size 718151673
|
processed/train_02_1001-1200.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7f57c41fb92115afc094abb130c300f257b2954c6a834c956875d4dcbcd069a
|
| 3 |
+
size 747998195
|
processed/train_03_1201-1325.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ad134fa6e3855da7a8069df0ca4881ebcf6e182cbe74a945e6c946f6b08e092
|
| 3 |
+
size 764465383
|
processed/train_04_1326-1425.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50781322135655429ce52d5b9ffceb7132e05680a1160bffb6b89537aaae7b65
|
| 3 |
+
size 774941319
|
processed/train_05_1426-1500.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ad415ff6db039d7ee641d7b131758df203d3f524ae60bc3c79fba5291d167c3
|
| 3 |
+
size 782431674
|
processed/train_06_1501-1575.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14abb2096c972b53cf4f3f6745682371a043af10a1e033d8eec77935a698e88b
|
| 3 |
+
size 789827693
|
processed/train_07_1576-1650.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbf7caf825537f6d2ca2bd280b09d2cfdbbd1533cf9540411896a28cc2cb3bf1
|
| 3 |
+
size 797325723
|
processed/train_08_1651-1750.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbabaf367f1bfb490402cdae31126a7145bfe5439085732c99c3303290f2aebc
|
| 3 |
+
size 804089733
|
processed/train_09_1751-1875.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3ee5ab91aa934c24ad61535e0811dac763a2cbae4faf9e5cb7d4855f00ac01e
|
| 3 |
+
size 813650770
|
processed/train_10_1876-2100.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36ba42f7fde5bbdbb57c67f8f9f6f8d791ece04b2ed2309c6c43b0bc2db8188c
|
| 3 |
+
size 826102242
|
processed/train_11_2101-2400.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61ce01ba500c24d2b84b6d2220240e7fc79d185de3156060e543c9876487caeb
|
| 3 |
+
size 856321048
|
processed/train_12_2401-PLUS.pgn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20ebc841e5bc4166c0b70ce9ef4ea0b0a67f5bc490f6106d3e43602315d83b79
|
| 3 |
+
size 121639753
|