mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-10-01 01:06:01 -04:00
Merge pull request #53 from ravenscroftj/feature/expose-temp-top_p
fix cast problem due to incorrect float notation
This commit is contained in:
commit
6d90e5d870
@ -44,13 +44,13 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
program.add_argument("--temperature")
|
program.add_argument("--temperature")
|
||||||
.help("Set the generation temperature")
|
.help("Set the generation temperature")
|
||||||
.default_value(0.2)
|
.default_value(0.2f)
|
||||||
.scan<'g', double>();
|
.scan<'g', float>();
|
||||||
|
|
||||||
program.add_argument("--top-p")
|
program.add_argument("--top-p")
|
||||||
.help("Set the generation top_p")
|
.help("Set the generation top_p")
|
||||||
.default_value(0.1)
|
.default_value(0.1f)
|
||||||
.scan<'g', double>();
|
.scan<'g', float>();
|
||||||
|
|
||||||
|
|
||||||
program.add_argument("prompt").remaining();
|
program.add_argument("prompt").remaining();
|
||||||
|
Loading…
Reference in New Issue
Block a user