1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 09:13:08 +00:00
BadFish/src
Linmiao Xu 876906965b Update default net to nn-52471d67216a.nnue
Created by retraining the master net with modifications to the previous best dataset:

* Improving T80 oct+nov 2022 endgame lambda accuracy by rescoring with 12-16tb of syzygy 7p tablebases
* Filtering T78 jun+jul+aug 2022 with d6pv2 search to remove positions with bestmove captures or one good move
* Adding T80 sep 2022 data, rescored with 16tb of 7p tablebases, unfiltered

Trained with max-epoch 900, end-lambda 0.7, and early-fen-skipping 28.

```
python3 easy_train.py \
  --experiment-name leela96-dfrc99-T80octnovT79aprmayT78junjulaugT60novdec-filt-v2-T78sep12tb7p-T77decT80sep16tb7p-lambda7-sk28 \
  --training-dataset /data/leela96-dfrc99-T80octnovT79aprmayT78junjulaugT60novdec-filt-v2-T78sep12tb7p-T77decT80sep16tb7p.binpack \
  --nnue-pytorch-branch linrock/nnue-pytorch/easy-train-early-fen-skipping \
  --early-fen-skipping 28 \
  --start-from-engine-test-net True \
  --gpus "0," \
  --max_epoch 900 \
  --start-lambda 1.0 \
  --end-lambda 0.7 \
  --gamma 0.995 \
  --lr 4.375e-4 \
  --tui False \
  --seed $RANDOM
```

Training data was rescored and d6pv2 filtered in the same way as recent best datasets.
For preparing the merged training dataset:

```
python3 interleave_binpacks.py \
  leela96-eval-filt-v2.binpack \
  dfrc99-eval-filt-v2.binpack \
  test80-oct2022-16tb7p-eval-filt-v2-d6.binpack \
  test80-nov2022-12tb7p-eval-filt-v2-d6.binpack \
  T79-apr2022-12tb7p-eval-filt-v2.binpack \
  T79-may2022-12tb7p-eval-filt-v2.binpack \
  test78-junjulaug2022-16tb7p-eval-filt-v2-d6.binpack \
  T60-nov2021-12tb7p-eval-filt-v2.binpack \
  T60-dec2021-12tb7p-eval-filt-v2.binpack \
  T78-sep2022-12tb7p.binpack \
  test77-dec2021-16gb7p.binpack \
  test80-sep2022-16tb7p.binpack \
  /data/leela96-dfrc99-T80octnovT79aprmayT78junjulaugT60novdec-filt-v2-T78sep12tb7p-T77decT80sep16tb7p.binpack
```

Links for downloading the training data components can be found at:
https://robotmoon.com/nnue-training-data/

Local elo at 25k nodes per move:
nn-epoch839.nnue : 0.6 +/- 1.4

Passed STC:
https://tests.stockfishchess.org/tests/view/63f9ab4be74a12625bcdf02e
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 84656 W: 22681 L: 22302 D: 39673
Ptnml(0-2): 271, 9343, 22734, 9696, 284

Passed LTC:
https://tests.stockfishchess.org/tests/view/63fa3833e74a12625bce0c0e
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 184664 W: 49933 L: 49344 D: 85387
Ptnml(0-2): 111, 17977, 55561, 18578, 105

closes https://github.com/official-stockfish/Stockfish/pull/4416

bench: 4814343
2023-02-27 22:07:52 +01:00
..
incbin Embed default net, and simplify using non-default nets 2020-08-29 21:56:00 +02:00
nnue Unify type alias declarations 2023-02-27 08:29:47 +01:00
syzygy Unify type alias declarations 2023-02-27 08:29:47 +01:00
benchmark.cpp Warn if a global function has no previous declaration 2023-01-09 20:18:39 +01:00
benchmark.h Warn if a global function has no previous declaration 2023-01-09 20:18:39 +01:00
bitbase.cpp Update copyright years 2023-01-02 19:07:38 +01:00
bitboard.cpp Remove precomputed SquareBB 2023-01-22 10:55:32 +01:00
bitboard.h Remove precomputed SquareBB 2023-01-22 10:55:32 +01:00
endgame.cpp Update copyright years 2023-01-02 19:07:38 +01:00
endgame.h Update copyright years 2023-01-02 19:07:38 +01:00
evaluate.cpp Reintroduce nnue pawn scaling with lower lazy thresholds 2023-02-23 13:27:57 +01:00
evaluate.h Update default net to nn-52471d67216a.nnue 2023-02-27 22:07:52 +01:00
main.cpp Update copyright years 2023-01-02 19:07:38 +01:00
Makefile Add support for ARM dot product instructions 2023-02-23 13:22:03 +01:00
material.cpp Update copyright years 2023-01-02 19:07:38 +01:00
material.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
misc.cpp Unify type alias declarations 2023-02-27 08:29:47 +01:00
misc.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
movegen.cpp remove unnecessary variable 2023-02-09 07:42:52 +01:00
movegen.h Update copyright years 2023-01-02 19:07:38 +01:00
movepick.cpp apply if constexpr to additional instances 2023-01-22 13:15:46 +01:00
movepick.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
pawns.cpp Update copyright years 2023-01-02 19:07:38 +01:00
pawns.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
position.cpp update cuckoo link 2023-02-18 13:14:24 +01:00
position.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
psqt.cpp Update copyright years 2023-01-02 19:07:38 +01:00
psqt.h Update copyright years 2023-01-02 19:07:38 +01:00
search.cpp Late counter bonus: boost underestimated moves 2023-02-27 22:03:50 +01:00
search.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
thread.cpp Remove previousDepth in favor of completedDepth + 2 2023-01-28 16:50:46 +01:00
thread.h Remove previousDepth in favor of completedDepth + 2 2023-01-28 16:50:46 +01:00
thread_win32_osx.h Modernize code base a little bit 2023-01-09 20:25:13 +01:00
timeman.cpp Update copyright years 2023-01-02 19:07:38 +01:00
timeman.h Update copyright years 2023-01-02 19:07:38 +01:00
tt.cpp Update copyright years 2023-01-02 19:07:38 +01:00
tt.h Update copyright years 2023-01-02 19:07:38 +01:00
tune.cpp Update copyright years 2023-01-02 19:07:38 +01:00
tune.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
types.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
uci.cpp Update WLD model 2023-02-02 17:58:05 +01:00
uci.h Unify type alias declarations 2023-02-27 08:29:47 +01:00
ucioption.cpp Update UCI_Elo parameterization 2023-01-22 10:54:15 +01:00