diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-08-18 12:48:55 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-08-18 12:48:55 +0300 |
commit | e9b12c332ec6e215fbac4b2ef165353acbcd8319 (patch) | |
tree | e89b8c7fed74b506b851afe595f2d9a4986cf0af /examples/perplexity | |
parent | 604b8bdfa6320bbcb018eebcc1252dfede603c6b (diff) |
perplexity : more meaningful ETA number - 2 decimal points
Diffstat (limited to 'examples/perplexity')
-rw-r--r-- | examples/perplexity/perplexity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/perplexity/perplexity.cpp b/examples/perplexity/perplexity.cpp index 62433e98..b9b28a20 100644 --- a/examples/perplexity/perplexity.cpp +++ b/examples/perplexity/perplexity.cpp @@ -88,7 +88,7 @@ void perplexity(llama_context * ctx, const gpt_params & params) { fprintf(stderr, "%d hours ", total_seconds / (60*60)); total_seconds = total_seconds % (60*60); } - fprintf(stderr, "%d minutes\n", total_seconds / 60); + fprintf(stderr, "%.2f minutes\n", total_seconds / 60.0); } // We get the logits for all the tokens in the context window (params.n_ctx) |