mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Update NNUE architecture to SFNNv12 and net nn-7e1657811c6d.nnue
This net is trained with https://github.com/sscg13/nettest/blob/no-king-attacker/threats.yaml. Passed non-regression STC: LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 92640 W: 24371 L: 24209 D: 44060 Ptnml(0-2): 389, 11047, 23322, 11137, 425 https://tests.stockfishchess.org/tests/view/6986345fa259e26d2c32e9c5 Passed non-regression LTC: LLR: 2.96 (-2.94,2.94) <-1.75,0.25> Total: 198636 W: 50960 L: 50919 D: 96757 Ptnml(0-2): 176, 22218, 54511, 22215, 198 https://tests.stockfishchess.org/tests/view/6987ee29b0f3ca5200aafa51 closes https://github.com/official-stockfish/Stockfish/pull/6609 bench: 2465828
This commit is contained in:
committed by
Joost VandeVondele
parent
21b0974f8d
commit
83e42045a6
+1
-1
@@ -33,7 +33,7 @@ namespace Eval {
|
||||
// for the build process (profile-build and fishtest) to work. Do not change the
|
||||
// name of the macro or the location where this macro is defined, as it is used
|
||||
// in the Makefile/Fishtest.
|
||||
#define EvalFileDefaultNameBig "nn-3dd094f3dfcf.nnue"
|
||||
#define EvalFileDefaultNameBig "nn-7e1657811c6d.nnue"
|
||||
#define EvalFileDefaultNameSmall "nn-37f18f62d772.nnue"
|
||||
|
||||
namespace NNUE {
|
||||
|
||||
@@ -30,8 +30,8 @@ class Position;
|
||||
|
||||
namespace Stockfish::Eval::NNUE::Features {
|
||||
|
||||
static constexpr int numValidTargets[PIECE_NB] = {0, 6, 10, 8, 8, 10, 8, 0,
|
||||
0, 6, 10, 8, 8, 10, 8, 0};
|
||||
static constexpr int numValidTargets[PIECE_NB] = {0, 6, 10, 8, 8, 10, 0, 0,
|
||||
0, 6, 10, 8, 8, 10, 0, 0};
|
||||
|
||||
class FullThreats {
|
||||
public:
|
||||
@@ -42,7 +42,7 @@ class FullThreats {
|
||||
static constexpr std::uint32_t HashValue = 0x8f234cb8u;
|
||||
|
||||
// Number of feature dimensions
|
||||
static constexpr IndexType Dimensions = 66864;
|
||||
static constexpr IndexType Dimensions = 60144;
|
||||
|
||||
// clang-format off
|
||||
// Orient a square according to perspective (rotates by 180 for black)
|
||||
@@ -58,12 +58,12 @@ class FullThreats {
|
||||
};
|
||||
|
||||
static constexpr int map[PIECE_TYPE_NB-2][PIECE_TYPE_NB-2] = {
|
||||
{0, 1, -1, 2, -1, -1},
|
||||
{0, 1, 2, 3, 4, -1},
|
||||
{0, 1, 2, 3, -1, -1},
|
||||
{0, 1, 2, 3, -1, -1},
|
||||
{0, 1, 2, 3, 4, -1},
|
||||
{0, 1, 2, 3, -1, -1}
|
||||
{ 0, 1, -1, 2, -1, -1},
|
||||
{ 0, 1, 2, 3, 4, -1},
|
||||
{ 0, 1, 2, 3, -1, -1},
|
||||
{ 0, 1, 2, 3, -1, -1},
|
||||
{ 0, 1, 2, 3, 4, -1},
|
||||
{-1, -1, -1, -1, -1, -1}
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
|
||||
Reference in New Issue
Block a user