diff options
| author | Dylan <boss@tehbox.org> | 2026-11-09 16:38:13 +1300 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2026-11-09 16:38:13 +1300 |
| commit | 478e7568f5eda9780d1409bb8dccc86221126281 (patch) | |
| tree | 2f4ec7a90d0c65505b757bdce0ddd2f9778ccaa5 /README.md | |
| parent | 0fd43eb6d9a4bae8d4c29fd614f9cf2a362f7b7c (diff) | |
| download | tigers-and-sheep-478e7568f5eda9780d1409bb8dccc86221126281.tar.gz tigers-and-sheep-478e7568f5eda9780d1409bb8dccc86221126281.zip | |
feat: Multi-threaded training; play matches every 10 generations
Gradients and losses are computed on rayon's pool in fixed-size chunks
summed in order, so the weights are the same on any number of threads.
Self-play uses the same pool, and the output shows the training time.
The matches against the earlier network and ClaudePlayer now run only
every --match-every generations (default 10), against the generation
that last played them, read back from its saved file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,8 +67,8 @@ cargo run --release -- train [generations] [games per generation] [out dir] [--f ``` The defaults are 50 generations of 500 games, saved to `weights/`. Each generation, the network -plays itself, learns from how those games went, then plays matches against the previous generation -and against `ClaudePlayer`. The score against `ClaudePlayer` is the best guide to progress. +plays itself and learns from how those games went. Every 10 generations (`--match-every`) it also +plays matches against the generation it last tested (10 generations back) and against `ClaudePlayer`. The score against `ClaudePlayer` is the best guide to progress. `ClaudePlayer` is only a yardstick, never something the network learns from. Each generation is saved as `gen-NNN.bin`, and the newest as `latest.bin`. Running `train` again |
