mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 05:48:47 +01:00
perplexity : more meaningful ETA number - 2 decimal points
This commit is contained in:
parent
604b8bdfa6
commit
e9b12c332e
@ -88,7 +88,7 @@ void perplexity(llama_context * ctx, const gpt_params & params) {
|
|||||||
fprintf(stderr, "%d hours ", total_seconds / (60*60));
|
fprintf(stderr, "%d hours ", total_seconds / (60*60));
|
||||||
total_seconds = 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)
|
// We get the logits for all the tokens in the context window (params.n_ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user