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
5fefaa5d
Commit
5fefaa5d
authored
Jul 14, 2023
by
Michael Yang
Browse files
fix typo
parent
77dc1a6d
Changes
1
Hide 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 @
5fefaa5d
...
...
@@ -57,7 +57,7 @@ func (r *GenerateResponse) Summary() {
}
if
r
.
EvalDuration
>
0
{
fmt
.
Fprintf
(
os
.
Stderr
,
"eval dura
i
ton: %s
\n
"
,
r
.
EvalDuration
)
fmt
.
Fprintf
(
os
.
Stderr
,
"eval durat
i
on: %s
\n
"
,
r
.
EvalDuration
)
fmt
.
Fprintf
(
os
.
Stderr
,
"eval rate: %.2f tokens/s
\n
"
,
float64
(
r
.
EvalCount
)
/
r
.
EvalDuration
.
Seconds
())
}
}
...
...
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