Merge pull request #79 from jmorganca/fix-typo

fix typo
This commit is contained in:
Michael Yang 2023-07-14 10:50:44 -07:00 committed by GitHub
commit 5d1c6b7499
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ func (r *GenerateResponse) Summary() {
}
if r.EvalDuration > 0 {
fmt.Fprintf(os.Stderr, "eval duraiton: %s\n", r.EvalDuration)
fmt.Fprintf(os.Stderr, "eval duration: %s\n", r.EvalDuration)
fmt.Fprintf(os.Stderr, "eval rate: %.2f tokens/s\n", float64(r.EvalCount)/r.EvalDuration.Seconds())
}
}