From ef49f1bccc33d37d95afb8d006271b1325f4c2ff Mon Sep 17 00:00:00 2001 From: John <78893154+cmp-nct@users.noreply.github.com> Date: Mon, 15 Jan 2024 02:30:59 +0100 Subject: [PATCH] sampling_temperature_fix --- common/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.cpp b/common/common.cpp index c11006bcb..1be0fd88e 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -322,7 +322,7 @@ bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params) { break; } sparams.temp = std::stof(argv[i]); - sparams.temp = std::max(sparams.temp, 0.0f); + // sparams.temp = std::max(sparams.temp, 0.0f); } else if (arg == "--tfs") { if (++i >= argc) { invalid_param = true;