Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
tags:
|
| 6 |
+
- chess
|
| 7 |
+
- nnue
|
| 8 |
+
- self-play
|
| 9 |
+
- reinforcement-learning
|
| 10 |
+
pretty_name: Zevra Self-Play Training Data
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1B<n<10B
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Zevra Self-Play Training Data
|
| 16 |
+
|
| 17 |
+
Raw self-play positions generated by the [Zevra 2](https://github.com/sovaz1997/Zevra2)
|
| 18 |
+
chess engine, used to train its NNUE evaluation network.
|
| 19 |
+
|
| 20 |
+
**Provenance — trained from scratch on own play only.** Every position here was
|
| 21 |
+
produced by Zevra playing itself. No hand-crafted-evaluation labels and no games
|
| 22 |
+
from any other engine were used. The data is the product of a reinforcement loop
|
| 23 |
+
seeded by the Zevra 2.6 network: each generation's champion generates self-play
|
| 24 |
+
games, a fresh network is trained from scratch on them, and the stronger network
|
| 25 |
+
then generates the next, better games (g0 → g1 → g2 → g3).
|
| 26 |
+
|
| 27 |
+
## Contents
|
| 28 |
+
|
| 29 |
+
- `zevra-selfplay-raw.tar.zst` — the full cumulative corpus, zstd-compressed
|
| 30 |
+
(~20 GB compressed, ~110 GB / ~1.8 billion positions uncompressed).
|
| 31 |
+
- `SHA256SUMS.txt` — checksum for integrity.
|
| 32 |
+
|
| 33 |
+
The public **Zevra 2.7** network was trained on the ~1.5B-position subset
|
| 34 |
+
available at the g3 generation; this archive is the full cumulative set.
|
| 35 |
+
|
| 36 |
+
## Format
|
| 37 |
+
|
| 38 |
+
Plain text, one position per line:
|
| 39 |
+
|
| 40 |
+
```
|
| 41 |
+
<FEN> | <eval_cp> | <result>
|
| 42 |
+
rn1qkbnr/pb1pp1pp/2p5/1p3p2/2P5/1Q5N/PP1PPPPP/RNB1KBR1 w KQkq - 6 7 | 123 | 0.0
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
- `FEN` — the position.
|
| 46 |
+
- `eval_cp` — the engine's search evaluation in centipawns.
|
| 47 |
+
- `result` — the game's final result (`1.0` win / `0.5` draw / `0.0` loss).
|
| 48 |
+
|
| 49 |
+
Positions were generated by fixed-node self-play with light opening randomness.
|
| 50 |
+
For the exact sign/perspective conventions see the datagen code in the engine
|
| 51 |
+
repository.
|
| 52 |
+
|
| 53 |
+
## Usage
|
| 54 |
+
|
| 55 |
+
Decompress:
|
| 56 |
+
|
| 57 |
+
```bash
|
| 58 |
+
# modern GNU tar auto-detects zstd:
|
| 59 |
+
tar xf zevra-selfplay-raw.tar.zst
|
| 60 |
+
# or explicitly:
|
| 61 |
+
zstd -d --long=27 zevra-selfplay-raw.tar.zst && tar xf zevra-selfplay-raw.tar
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
This unpacks a `collected/` tree of `.txt` shards in the format above. To train
|
| 65 |
+
an NNUE the same way Zevra does, convert the text to the
|
| 66 |
+
[bullet](https://github.com/jw1912/bullet) `bulletformat` and train with bullet:
|
| 67 |
+
|
| 68 |
+
```bash
|
| 69 |
+
# using bullet-utils (from the bullet repo)
|
| 70 |
+
bullet-utils convert --from text --input <shards.txt> --output data.bin
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## License
|
| 74 |
+
|
| 75 |
+
Released under **CC0-1.0** (public domain dedication) — use it for anything.
|
| 76 |
+
|
| 77 |
+
## Citation
|
| 78 |
+
|
| 79 |
+
If you use this data, a link back to the engine is appreciated:
|
| 80 |
+
<https://github.com/sovaz1997/Zevra2>
|