Revert bad merge with dynatemp flags
This commit is contained in:
parent
b65c863947
commit
7bbe511b8e
1 changed files with 12 additions and 0 deletions
|
@ -403,6 +403,18 @@ bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sparams.penalty_present = std::stof(argv[i]);
|
sparams.penalty_present = std::stof(argv[i]);
|
||||||
|
} else if (arg == "--dynatemp-range") {
|
||||||
|
if (++i >= argc) {
|
||||||
|
invalid_param = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
sparams.dynatemp_range = std::stof(argv[i]);
|
||||||
|
} else if (arg == "--dynatemp-exp") {
|
||||||
|
if (++i >= argc) {
|
||||||
|
invalid_param = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
sparams.dynatemp_exponent = std::stof(argv[i]);
|
||||||
} else if (arg == "--mirostat") {
|
} else if (arg == "--mirostat") {
|
||||||
if (++i >= argc) {
|
if (++i >= argc) {
|
||||||
invalid_param = true;
|
invalid_param = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue