diff options
| author | Dylan <boss@tehbox.org> | 2026-11-08 17:32:09 +1300 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2026-11-08 17:32:09 +1300 |
| commit | 312318ad6548f65cc6af118c24811dfd40280b27 (patch) | |
| tree | 0a2bb29cf2f3a6aa83d43ab076d3a0b263bbf6a0 /plans.org | |
| parent | 94f3df190a91898eb344b9214a57eb31792bcb1c (diff) | |
| download | tigers-and-sheep-312318ad6548f65cc6af118c24811dfd40280b27.tar.gz tigers-and-sheep-312318ad6548f65cc6af118c24811dfd40280b27.zip | |
feat: Resume training from any weights; balance training by outcome
- train --from <weights> starts from any saved network; without it,
training still carries on from the out dir's newest generation
- Each epoch takes as many positions from sheep-win games as from
tiger-win games (Config::balance_outcomes, on by default)
- Training output shows the error on tiger-win and sheep-win positions
separately, before and after training
- Fix a broken sentence in CLAUDE.md's cache description
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'plans.org')
| -rw-r--r-- | plans.org | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -67,3 +67,14 @@ Before the fix, tigers won ~97% of self-play games and the net only reached ~15- *** Next candidates - Pick exploratory moves among near-best ones (softmax over root scores) rather than uniformly - Sheep are still the weaker side: report the match score for each side separately +** DONE Balance tiger-win and sheep-win positions +The unbalanced net (gen 100) had 7x the error on positions from sheep-win games (0.045) as on +tiger-win ones (0.0065), so it leaned towards tiger wins, though not a constant prediction (that +would give errors near 2). =balance_outcomes= trains on equal numbers of each. +| vs =ClaudePlayer= (depth 3, 100 games) | gen 25 | gen 50 | gen 75 | gen 100 | +|----------------------------------------+--------+--------+--------+---------| +| Unbalanced | 25% | 50% | 54% | 62% | +| Balanced | 22% | 19% | 51% | 62% | +- The T and S errors are now similar (both ~0.02), but the strength reached is the same; balanced was slower + in the middle. Self-play is still ~95% tiger wins, from the random sheep moves. +- "vs prev" stays at ~50% because after 4 random plies both sides play deterministically; it says little. |
