File size: 4,811 Bytes
2e542ca |
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
---
license: cc-by-nc-4.0
task_categories:
- reinforcement-learning
- image-classification
tags:
- chess
- game-ai
- deep-learning
- synapse-edge
- gambitflow
language:
- en
pretty_name: Synapse-Edge Massive Chess Corpus
size_categories:
- 1M<n<10M
---
# ♟️ GambitFlow Synapse-Edge-Data (Massive Corpus)
<div align="center">

[](https://creativecommons.org/licenses/by-nc/4.0/)


-green)
[**Associated Model**](https://huggingface.co/GambitFlow/Synapse-Edge) • [**Source: Lichess**](https://database.lichess.org/)
</div>
## 📖 Dataset Overview
**Synapse-Edge-Data** is a high-performance, large-scale dataset specifically engineered for training Gen-3 chess engines like **Synapse-Edge v1**. It represents a revolutionary fusion of high-level human positional play and rigorous tactical patterns.
Unlike previous datasets that focus solely on game outcomes, this corpus includes **3 million+ tactical puzzles**, enabling models to learn "the art of the kill" alongside "the art of strategy."
---
## 🏗️ Dataset Structure
The dataset is delivered as a sharded SQLite system, optimized for **Distributed Training** across multiple machines or accounts.
### SQLite Schema (`training_data` table)
| Column | Type | Description |
| :--- | :--- | :--- |
| `fen` | TEXT (PK) | The Forsyth-Edwards Notation of the board state (Position). |
| `position_stats` | TEXT (JSON) | Detailed win/loss/draw statistics from master games (if available). |
| `best_move` | TEXT | The calculated optimal UCI move for the position. |
| `is_tactical` | INTEGER | Flag: `1` for tactical puzzles, `0` for positional master games. |
| `difficulty` | TEXT | Skill classification: `beginner`, `intermediate`, or `advanced`. |
### Data Distribution (Shards)
To facilitate training on hardware like Google Colab, the dataset is split into **4 shards**:
- `shards/synapse_shard_1.db` (~1.38M positions)
- `shards/synapse_shard_2.db` (~1.38M positions)
- `shards/synapse_shard_3.db` (~1.38M positions)
- `shards/synapse_shard_4.db` (~1.38M positions)
---
## 🛠️ Dataset Creation
### Curation Rationale
Most open-source chess datasets are either purely positional (games) or purely tactical (puzzles). **Synapse-Edge-Data** bridges this gap. By combining 5.5M elite positions with 3M tactical patterns, we ensure that trained models don't just "play well" but can also find clinical tactical solutions under pressure.
### Source Data
1. **Elite Positional Data:** Extracted from Lichess rated games where both players had an **ELO > 2000**.
2. **Tactical Database:** Processed from the official Lichess Puzzle Database, filtering for themes like *Forks, Pins, Skewers, Discovered Attacks,* and *Mate-in-X*.
### Data Processing Pipeline
1. **Decompression:** Raw `.pgn.zst` and `.csv.zst` files were streamed and decoded.
2. **Cleaning:** Duplicate FENs were removed to prevent overfitting.
3. **Normalization:** FENs were truncated to 4 fields (removing half-move clock) for higher uniqueness.
4. **Best Move Calculation:** Positional data was enriched by selecting the move with the highest success rate in master games.
---
## 🚀 Use Cases
### Direct Use
- **Training Chess Engines:** Specifically designed for Multi-Head Neural Networks (Policy/Value/Tactical heads).
- **Game Analysis:** Can be used to train models that detect "blunders" or "sharp" positions.
### Out-of-Scope Use
- Training for variants like *Chess960* or *Antichess* (this dataset is for **Standard Chess** only).
- Non-chess board games.
---
## 🛡️ Bias, Risks, and Limitations
- **ELO Bias:** Since the data is sourced from players > 2000 ELO, the model may struggle to exploit beginner-level "random" blunders effectively without further fine-tuning.
- **Engine Bias:** Some "best moves" in the positional set reflect human theory, which might differ from pure engine evaluations at extreme depths.
## 📜 License
This dataset is published under the **Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)** license. It is intended for research and educational purposes. Commercial use requires prior authorization.
---
<div align="center">
<p>Maintained by <a href="https://huggingface.co/Rafs-an09002">Rafsan</a> @ GambitFlow Labs</p>
</div> |