Tomasz Sobczyk
146a6b056e
PascalCase -> snake_case for consistency with the rest of the codebase.
2020-10-19 18:37:23 +09:00
Tomasz Sobczyk
2398d34e87
Move string split to misc
2020-10-19 08:29:51 +09:00
Tomasz Sobczyk
69ea3d30b2
Move the extra new line to after check health.
2020-10-19 08:29:51 +09:00
Tomasz Sobczyk
9023edc3c8
Add missing includes.
2020-10-19 08:29:51 +09:00
Tomasz Sobczyk
77624addf2
Cleanup last ".." in include paths.
2020-10-19 08:29:51 +09:00
Tomasz Sobczyk
497f689aa3
Cleanup nnue
2020-10-19 08:29:51 +09:00
Tomasz Sobczyk
c286f9cd7d
Cleanup trainer.
2020-10-19 08:29:51 +09:00
Tomasz Sobczyk
ea8eb415de
Cleanup trainer features.
2020-10-18 22:24:24 +09:00
Vizvezdenec
560c776397
Do more reductions for late quiet moves in case of consecutive fail highs.
...
Idea of this patch can be described as following - in case we have consecutive fail highs and we reach late enough moves at root node probability of remaining quiet moves being able to produce even bigger value than moves that produced previous cutoff (so ones that should be high in move ordering but now they fail to produce beta cutoff because we actually reached high move count) should be quiet small so we can reduce them more.
passed STC
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 53392 W: 5681 L: 5474 D: 42237
Ptnml(0-2): 214, 4104, 17894, 4229, 255
https://tests.stockfishchess.org/tests/view/5f88501adcdad978fe8c527e
passed LTC
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 59136 W: 2773 L: 2564 D: 53799
Ptnml(0-2): 30, 2117, 25078, 2300, 43
https://tests.stockfishchess.org/tests/view/5f884dbfdcdad978fe8c527a
closes https://github.com/official-stockfish/Stockfish/pull/3184
Bench: 4066972
2020-10-18 13:54:28 +02:00
mstembera
281d520cc2
Update default net to nn-eba324f53044.nnue
...
The new net is based on the previous net 04cf2b4ed1da but with the biases
for the 1st hidden layer tuned SPSA, see the SPSA session on fishtest there:
https://tests.stockfishchess.org/tests/view/5f875213dcdad978fe8c5211
Thanks to @vondele for writing out the net, see discussion in this thread:
432da86721
Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 15000 W: 1640 L: 1483 D: 11877
Ptnml(0-2): 50, 1183, 4908, 1278, 81
https://tests.stockfishchess.org/tests/view/5f8955e20fea1a44ec4f0a5d
Passed LTC:
LLR: 2.96 (-2.94,2.94) {0.25,1.25}
Total: 81272 W: 3948 L: 3682 D: 73642
Ptnml(0-2): 64, 3194, 33856, 3456, 66
https://tests.stockfishchess.org/tests/view/5f89e8efeae8a6e60644d6e7
closes https://github.com/official-stockfish/Stockfish/pull/3187
Bench: 3762411
2020-10-18 13:43:26 +02:00
Tomasz Sobczyk
3041adb080
Cleanup layers.
2020-10-18 19:32:15 +09:00
Tomasz Sobczyk
0d4c3014ca
Cleanup features.
2020-10-17 23:19:16 +09:00
Tomasz Sobczyk
ca760c3a5b
Cleanup architecture files.
2020-10-17 20:01:09 +09:00
Tomasz Sobczyk
c93f8732bf
Force Use NNUE to pure when learning.
2020-10-17 08:44:38 +09:00
Tomasz Sobczyk
3cf193a90e
Properly handle cases in verify and init when SkipLoadingEval is set.
2020-10-17 08:44:38 +09:00
Tomasz Sobczyk
5db46d0c82
Verify whether there is a network being used during training.
2020-10-17 08:44:38 +09:00
Tomasz Sobczyk
e503cc4ea8
Add one more empty line between progress reports.
2020-10-17 00:13:50 +09:00
Tomasz Sobczyk
5856237e3f
Rename hirate to startpos
2020-10-16 09:07:02 +09:00
Tomasz Sobczyk
904adb9a32
Indentation consistency in learn folder
2020-10-15 22:11:31 +09:00
Tomasz Sobczyk
880d23af1c
Move sfen input/output streams to sfen_stream.h
2020-10-15 20:37:03 +09:00
Tomasz Sobczyk
14f83ad7b9
Move public search/qsearch interface from namespace Learner to namespace Search
2020-10-15 20:37:03 +09:00
Tomasz Sobczyk
0494adeb2c
Move nnue evaluation stuff from evaluate.h to nnue/evaluate_nnue.h
2020-10-15 20:37:03 +09:00
Unai Corzo
288a604411
Scale factor tweak
...
Add !pawnsOnBothFlanks heuristic to scale factor.
STC https://tests.stockfishchess.org/tests/view/5f8080575b3847b5d41f9134
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 250960 W: 49779 L: 49168 D: 152013
Ptnml(0-2): 4224, 28822, 58802, 29383, 4249
LTC https://tests.stockfishchess.org/tests/view/5f832f498ea73fb8ddf83ddb
LLR: 2.95 (-2.94,2.94) {0.25,1.25}
Total: 88584 W: 11827 L: 11388 D: 65369
Ptnml(0-2): 585, 8079, 26578, 8412, 638
closes https://github.com/official-stockfish/Stockfish/pull/3179
bench: 3834252
2020-10-14 19:32:12 +02:00
FauziAkram
4a5cc1365f
RookOnQueenFile Removal
...
Removing Rook On Queen File looks beneficial, and it might even bring some ELO.
I will try to reintroduce it with a different method later on.
Passed STC:
https://tests.stockfishchess.org/tests/view/5f7cea204389873867eb10cb
LLR: 2.94 (-2.94,2.94) {-1.25,0.25}
Total: 18624 W: 3800 L: 3568 D: 11256
Ptnml(0-2): 308, 2131, 4257, 2253, 363
Passed LTC:
https://tests.stockfishchess.org/tests/view/5f7d76a4e936c6892bf50598
LLR: 2.95 (-2.94,2.94) {-0.75,0.25}
Total: 117864 W: 15515 L: 15340 D: 87009
Ptnml(0-2): 926, 11127, 34671, 11262, 946
closes https://github.com/official-stockfish/Stockfish/pull/3176
Bench: 3756191
2020-10-14 19:29:22 +02:00
Joost VandeVondele
ba73f8ce0d
Update default net to nn-04cf2b4ed1da.nnue
...
Further tune the net parameters, now the last but one layer (32x32).
To limit the number of parameters optimized, the network layer was
decomposed using SVD, and the singular values were treated
as parameters and tuned.
Tuning branch: https://github.com/vondele/Stockfish/tree/svdTune
Tuner: https://github.com/vondele/nevergrad4sf
passed STC:
https://tests.stockfishchess.org/tests/view/5f83e82f8ea73fb8ddf83e4e
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 8488 W: 944 L: 795 D: 6749
Ptnml(0-2): 39, 609, 2811, 734, 51
passed LTC:
https://tests.stockfishchess.org/tests/view/5f83f4118ea73fb8ddf83e66
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 169016 W: 8043 L: 7589 D: 153384
Ptnml(0-2): 133, 6623, 70538, 7085, 129
closes https://github.com/official-stockfish/Stockfish/pull/3181
Bench: 3945198
2020-10-14 13:28:21 +02:00
Tomasz Sobczyk
4a340ad3b2
Add docs for auto_lr_drop
2020-10-12 23:56:26 +09:00
Tomasz Sobczyk
4a2bf16b30
Add option "auto_lr_drop" that specifies the amount of positions from previous lr drop after which to reduce lr by newbob_decay.
2020-10-12 23:56:26 +09:00
Tomasz Sobczyk
7d62b3f799
Store additional bits for fullmove clock and 50 more rule halfmove clock at the end of the bit stream. This change keeps backwards compatibility.
2020-10-11 20:59:27 +09:00
Tomasz Sobczyk
de20887e11
Update readme. Link to docs.
2020-10-10 14:37:51 +09:00
Tomasz Sobczyk
2af4bf7eac
Move the docs folder one above, it was in src by mistake.
2020-10-10 14:37:51 +09:00
Tomasz Sobczyk
ef57ac78a3
Print gensfen speed when outputting status.
2020-10-09 08:14:48 +09:00
Joost VandeVondele
adddf339bb
Output sfens/second in the trainer, to track performance more easily
2020-10-08 08:29:42 +09:00
Tomasz Sobczyk
3f55b3af42
Change some gensfen parameter defaults.
2020-10-07 23:09:33 +09:00
Tomasz Sobczyk
8830209125
Change some learn parameter defaults.
2020-10-07 23:09:33 +09:00
Tomasz Sobczyk
2e57f3fa22
Switch to set recommended learn UCI options
2020-10-07 23:09:33 +09:00
Tomasz Sobczyk
d1c44dca04
Switch to set recommended gensfen UCI options
2020-10-07 23:09:33 +09:00
Tomasz Sobczyk
5fa28b12fa
Allow setting UCI options programmatically.
2020-10-07 23:09:33 +09:00
Tomasz Sobczyk
80cbc3ffee
Fix grammar and spelling. Add recommendations for UCI options.
2020-10-07 16:08:26 +09:00
Tomasz Sobczyk
31f9d66f12
Initial documentation for learn, gensfen, convert, and binpack.
2020-10-07 16:08:26 +09:00
FauziAkram
767b4f4fbe
Pawn Tuning
...
Tuning of pawns, for classical evaluation:
Passed STC:
https://tests.stockfishchess.org/tests/view/5f771f0e52560f5fc78559ec
LLR: 2.96 (-2.94,2.94) {-0.25,1.25}
Total: 252696 W: 50321 L: 49692 D: 152683
Ptnml(0-2): 4614, 29845, 57049, 29978, 4862
Passed LTC:
https://tests.stockfishchess.org/tests/view/5f77cfef090dcf9aaa16d38b
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 48184 W: 6556 L: 6193 D: 35435
Ptnml(0-2): 335, 4516, 14100, 4733, 408
closes https://github.com/official-stockfish/Stockfish/pull/3169
bench: 4016121
2020-10-05 19:01:46 +02:00
Unai Corzo
17fb3a8ce0
Simplify away futility pruning for captures
...
Remove futility pruning for captures.
STC https://tests.stockfishchess.org/tests/view/5f749bfed930428c36d34c56
LLR: 2.94 (-2.94,2.94) {-1.25,0.25}
Total: 38064 W: 4011 L: 3929 D: 30124
Ptnml(0-2): 192, 3004, 12567, 3068, 201
LTC https://tests.stockfishchess.org/tests/view/5f74d99bf18675b1ce2f7412
LLR: 2.94 (-2.94,2.94) {-0.75,0.25}
Total: 184984 W: 8567 L: 8610 D: 167807
Ptnml(0-2): 146, 7593, 77058, 7548, 147
closes https://github.com/official-stockfish/Stockfish/pull/3166
bench: 3890648
2020-10-05 18:59:02 +02:00
Joost VandeVondele
9382f854b3
Schedule threads fairly under valgrind
...
fixes a rare case that can cause CI to fail when running multithreaded under valgrind.
closes https://github.com/official-stockfish/Stockfish/pull/3165
No functional change.
2020-10-05 18:56:49 +02:00
noobpwnftw
91cb4a6770
Skip eval dampening in Use NNUE = pure case
2020-10-03 19:31:21 +09:00
noobpwnftw
6f7a228707
Minor cleanups
...
Remove unused code and magic numbers
2020-10-01 16:52:20 +09:00
Joost VandeVondele
f848d67341
Use fair scheduling of threads under valgrind
...
fixes some rare case where the master search thread makes no progress,
observed in CI.
2020-10-01 09:36:44 +09:00
nodchip
b889debfb5
Merge pull request #171 from noobpwnftw/sf_merge
...
Merge SFdev
2020-09-30 10:18:41 +09:00
noobpwnftw
d865159bd6
Fix variable initialization in test commands
2020-09-29 17:30:08 +08:00
noobpwnftw
a8b502a975
Merge remote-tracking branch 'remotes/origin/master'
...
Bench: 3618595
2020-09-29 17:09:14 +08:00
noobpwnftw
b44d539c94
Fix a bug that LR is not correctly scaled when initial LR is not 1.0
2020-09-29 16:18:42 +09:00
Stéphane Nicolet
5af09cfda5
Include pawns in NNUE scaling
...
We now include the total pawn count in the scaling factor for the output
of the NNUE evaluation network. This should have the effect of trying to
keep more pawns when SF has the advantage, but exchange them when she
is defending.
Thanks to Alexander Pagel (Lolligerhans) for the idea of using the
value of pawns to ease the comparison with the rest of the material
estimation.
Passed STC:
LLR: 2.93 (-2.94,2.94) {-0.25,1.25}
Total: 15072 W: 1700 L: 1539 D: 11833
Ptnml(0-2): 65, 1202, 4845, 1355, 69
https://tests.stockfishchess.org/tests/view/5f7235a63b22d6afa50699b3
Passed LTC:
LLR: 2.93 (-2.94,2.94) {0.25,1.25}
Total: 25880 W: 1270 L: 1124 D: 23486
Ptnml(0-2): 23, 980, 10788, 1126, 23
https://tests.stockfishchess.org/tests/view/5f723b483b22d6afa5069a99
closes https://github.com/official-stockfish/Stockfish/pull/3164
Bench: 3776081
2020-09-28 22:42:26 +02:00