Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
6db3691b
Commit
6db3691b
authored
Nov 02, 2023
by
Michael Yang
Browse files
update default NumKeep
parent
2e537046
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api/types.go
api/types.go
+1
-1
No files found.
api/types.go
View file @
6db3691b
...
@@ -293,7 +293,7 @@ func DefaultOptions() Options {
...
@@ -293,7 +293,7 @@ func DefaultOptions() Options {
return
Options
{
return
Options
{
// options set on request to runner
// options set on request to runner
NumPredict
:
-
1
,
NumPredict
:
-
1
,
NumKeep
:
-
1
,
NumKeep
:
0
,
Temperature
:
0.8
,
Temperature
:
0.8
,
TopK
:
40
,
TopK
:
40
,
TopP
:
0.9
,
TopP
:
0.9
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment