rukh-puzzles-split / README.md
chorcat's picture
docs(card): regenerated from the current table and course
7dc54bf verified
|
Raw History Blame Contribute Delete
2.98 kB
---
license: cc0-1.0
pretty_name: Rukh puzzle splits
language:
- en
task_categories:
- text-generation
- question-answering
size_categories:
- 100K<n<1M
source_datasets:
- original
tags:
- chess
- rukh
- puzzles
---
# chorcat/rukh-puzzles-split
Lichess puzzles with rating deviation <= 100 and at least 100 plays, banded by difficulty (1000-1500, 1500-2000, 2000+) and split into test and train by a seeded hash of the puzzle id, each with the moves of the game it came from, for tactical evaluation and fine-tuning.
Part of [Rukh](https://github.com/borja-glez/rukh), a chess language model built from scratch
as a course on generative and agentic AI. Every derived dataset ships with the exact filters and
counts of its `manifest.json`, so it can be regenerated with `rukh data puzzles`.
## Files
| File | Bytes | SHA-256 |
|---|---:|---|
| `puzzles.parquet` | 22333530 | `48d753215820498e41f4ef8e25ae5094582f284651bf1889da0882a89ebdba13` |
Rows: **312000**.
## Columns
| Column | Description |
|---|---|
| `puzzle_id` | Lichess puzzle id |
| `fen` | position before the opponent's last move (Lichess convention) |
| `moves` | UCI moves: the opponent's move first, then the solution |
| `rating` | puzzle rating |
| `themes` | Lichess theme tags |
| `band` | `1000-1500`, `1500-2000` or `2000+` |
| `split` | `test` or `train` |
| `prefix_uci` | the real game's UCI moves up to `fen`, space-separated |
| `prefix_plies` | number of moves in `prefix_uci` |
| `white_elo` | rating of White in that game |
| `black_elo` | rating of Black in that game |
## Provenance and filters
Source: `Lichess/chess-puzzles-with-games` on the Hugging Face Hub.
```json
{
"max_rating_deviation": 100,
"min_plays": 100,
"bands": [
"1000-1500",
"1500-2000",
"2000+"
],
"n_test": 2000,
"n_train": 50000,
"seed": 42,
"split_by": "blake2b(seed:PuzzleId)",
"with_games": true,
"prefix": {
"source": "movetext replayed to the puzzle FEN",
"dropped": {},
"dropped_fraction": 0.0
}
}
```
Counts:
```json
{
"1000-1500/test": 2000,
"1000-1500/train": 50000,
"1500-2000/test": 2000,
"1500-2000/train": 50000,
"2000+/test": 2000,
"2000+/train": 50000,
"selected": 156000,
"dropped_no_prefix": 0
}
```
Generated on 2026-09-19 with `rukh` 0.0.1.
## In the course
- Built in [M1 · Del PGN al tensor: los labs](https://lab.rukh.borjaglez.com/curso/m1/02-labs-del-pipeline/), the lesson that runs every command behind this repository.
- Measured in the [single results table](https://lab.rukh.borjaglez.com/proyecto/): every stage of the course, the same suite, the same day.
- Bring it to the paths the configs read: `uv run rukh pull rukh-puzzles-split`.
## License
CC0 1.0. The games, puzzles and evaluations come from the Lichess open database (https://database.lichess.org, https://huggingface.co/Lichess), published under CC0; the derived files keep that license. Please credit Lichess when you use them.