sampling_temperature_fix
This commit is contained in:
parent
a836c8f534
commit
ef49f1bccc
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sparams.temp = std::stof(argv[i]);
|
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") {
|
} else if (arg == "--tfs") {
|
||||||
if (++i >= argc) {
|
if (++i >= argc) {
|
||||||
invalid_param = true;
|
invalid_param = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue