mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 12:06:22 +08:00
Replace "use_raw_nnue_eval" with an uci option "Use NNUE pure"
This commit is contained in:
@@ -44,12 +44,6 @@ namespace Learner
|
||||
static bool detect_draw_by_consecutive_low_score = false;
|
||||
static bool detect_draw_by_insufficient_mating_material = false;
|
||||
|
||||
// Use raw NNUE eval value in the Eval::evaluate().
|
||||
// If hybrid eval is enabled, training data
|
||||
// generation and training don't work well.
|
||||
// https://discordapp.com/channels/435943710472011776/733545871911813221/748524079761326192
|
||||
extern bool use_raw_nnue_eval;
|
||||
|
||||
static SfenOutputType sfen_output_type = SfenOutputType::Bin;
|
||||
|
||||
static bool ends_with(const std::string& lhs, const std::string& end)
|
||||
@@ -1111,8 +1105,6 @@ namespace Learner
|
||||
is >> detect_draw_by_consecutive_low_score;
|
||||
else if (token == "detect_draw_by_insufficient_mating_material")
|
||||
is >> detect_draw_by_insufficient_mating_material;
|
||||
else if (token == "use_raw_nnue_eval")
|
||||
is >> use_raw_nnue_eval;
|
||||
else if (token == "sfen_format")
|
||||
is >> sfen_format;
|
||||
else
|
||||
|
||||
@@ -93,12 +93,6 @@ namespace Learner
|
||||
// data directly. In those cases, we set false to this variable.
|
||||
static bool convert_teacher_signal_to_winning_probability = true;
|
||||
|
||||
// Use raw NNUE eval value in the Eval::evaluate(). If hybrid eval is enabled, training data
|
||||
// generation and training don't work well.
|
||||
// https://discordapp.com/channels/435943710472011776/733545871911813221/748524079761326192
|
||||
// This CANNOT be static since it's used elsewhere.
|
||||
bool use_raw_nnue_eval = false;
|
||||
|
||||
// Using stockfish's WDL with win rate model instead of sigmoid
|
||||
static bool use_wdl = false;
|
||||
|
||||
@@ -1811,7 +1805,6 @@ namespace Learner
|
||||
else if (option == "dest_score_min_value") is >> dest_score_min_value;
|
||||
else if (option == "dest_score_max_value") is >> dest_score_max_value;
|
||||
else if (option == "convert_teacher_signal_to_winning_probability") is >> convert_teacher_signal_to_winning_probability;
|
||||
else if (option == "use_raw_nnue_eval") is >> use_raw_nnue_eval;
|
||||
|
||||
// Otherwise, it's a filename.
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user