Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -10,28 +10,46 @@ tags:
|
|
| 10 |
|
| 11 |
Neural networks (NNUE) for the [GaiaChess](https://github.com/jromang/gaiachess) UCI chess engine.
|
| 12 |
|
| 13 |
-
**Architecture (GaiaNet)**: 12 king buckets Γ 768 PST + filtered threat features (~41K inputs) β 640 β CReLU + pairwise β 16 β 32 β 1, with 8 output buckets. Trained with [Bullet](https://github.com/jw1912/bullet) on self-play data.
|
| 14 |
-
|
| 15 |
Files are append-only: a network file, once published, is never modified β engine releases pin an exact file name.
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
## Networks
|
| 18 |
|
| 19 |
-
| File | Engine version | Notes |
|
| 20 |
-
|------|----------------|-------|
|
| 21 |
-
| `gaianet-t1-1000.bin` | never shipped | archived for reproducibility: this network generated part of the training data used by its successors |
|
| 22 |
-
| `gaianet-t2-1000.bin` | 4.2.0 β 4.2.5 | previous default network |
|
| 23 |
-
| `gaianet-t3b-1000.bin` | unreleased | +12.0 Β±9.5 Elo vs t2 (SPRT, 2588 games) |
|
| 24 |
-
| `gaianet-t3e-1100.bin` | unreleased | t3b fine-tuned for 100 more superbatches at lr/10 |
|
| 25 |
-
| `gaianet-t3e-1100b.bin` |
|
|
|
|
| 26 |
|
| 27 |
## Usage
|
| 28 |
|
| 29 |
Networks are embedded into the engine at build time:
|
| 30 |
|
| 31 |
```bash
|
| 32 |
-
curl -L -o nets/gaianet-
|
| 33 |
-
"https://huggingface.co/jromanghf/gaiachess-networks/resolve/main/gaianet-
|
| 34 |
-
MODEL=nets/gaianet-
|
| 35 |
cargo build --release --features nnue
|
| 36 |
```
|
| 37 |
|
|
|
|
| 10 |
|
| 11 |
Neural networks (NNUE) for the [GaiaChess](https://github.com/jromang/gaiachess) UCI chess engine.
|
| 12 |
|
|
|
|
|
|
|
| 13 |
Files are append-only: a network file, once published, is never modified β engine releases pin an exact file name.
|
| 14 |
|
| 15 |
+
## Architectures
|
| 16 |
+
|
| 17 |
+
Two incompatible generations live here. Each network carries a 16-byte integrity footer
|
| 18 |
+
(architecture hash + content hash) and the engine refuses, loudly, a network whose
|
| 19 |
+
architecture is not the one it was built for β so a file from one generation cannot be fed
|
| 20 |
+
to an engine built for the other.
|
| 21 |
+
|
| 22 |
+
**GaiaNet T1** (`gaianet-t1-*`, `gaianet-t2-*`, `gaianet-t3*`) β 12 king buckets Γ 768 PST
|
| 23 |
+
inputs + filtered threat features (~41K inputs) β 640 β CReLU + pairwise β 16 β 32 β 1,
|
| 24 |
+
8 output buckets.
|
| 25 |
+
|
| 26 |
+
**GaiaNet T2b** (`gaianet-t2b-*`) β the current generation. 12 king buckets Γ 768 PST inputs
|
| 27 |
+
(i16 rows) plus 64,368 auxiliary features in i8 rows: 4,560 pawn pairs and 59,808 filtered
|
| 28 |
+
piece-interaction (threat) features, accumulated into a 1024-wide layer β paired SCReLU β
|
| 29 |
+
16 β 32 β 1, with 8 material-based output buckets and a PSQT head. 87 MB per file.
|
| 30 |
+
|
| 31 |
+
Trained with [Bullet](https://github.com/jw1912/bullet) (T1) and the in-house trainer (T2b),
|
| 32 |
+
on Leela T80 positions and self-play data.
|
| 33 |
+
|
| 34 |
## Networks
|
| 35 |
|
| 36 |
+
| File | Architecture | Engine version | Notes |
|
| 37 |
+
|------|--------------|----------------|-------|
|
| 38 |
+
| `gaianet-t1-1000.bin` | T1 | never shipped | archived for reproducibility: this network generated part of the training data used by its successors |
|
| 39 |
+
| `gaianet-t2-1000.bin` | T1 | 4.2.0 β 4.2.5 | previous default network |
|
| 40 |
+
| `gaianet-t3b-1000.bin` | T1 | unreleased | +12.0 Β±9.5 Elo vs t2 (SPRT, 2588 games) |
|
| 41 |
+
| `gaianet-t3e-1100.bin` | T1 | unreleased | t3b fine-tuned for 100 more superbatches at lr/10 |
|
| 42 |
+
| `gaianet-t3e-1100b.bin` | T1 | unreleased | last T1 default: same weights as t3e-1100 plus the 16-byte integrity footer |
|
| 43 |
+
| `gaianet-t2b-e013.bin` | **T2b** | unreleased (default in `main`) | current default network. Fine-tune of the T2b line on 62 GB of Leela T80 2024 positions, 60 superbatches at lr 1e-4 cosine. +25.4 Β±9.7 Elo vs its parent (SPRT) |
|
| 44 |
|
| 45 |
## Usage
|
| 46 |
|
| 47 |
Networks are embedded into the engine at build time:
|
| 48 |
|
| 49 |
```bash
|
| 50 |
+
curl -L -o nets/gaianet-t2b-e013.bin \
|
| 51 |
+
"https://huggingface.co/jromanghf/gaiachess-networks/resolve/main/gaianet-t2b-e013.bin"
|
| 52 |
+
MODEL=nets/gaianet-t2b-e013.bin RUSTFLAGS="-C target-cpu=native" \
|
| 53 |
cargo build --release --features nnue
|
| 54 |
```
|
| 55 |
|