summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2024-04-29 19:56:59 +0200
committerGitHub <noreply@github.com>2024-04-29 13:56:59 -0400
commit5539e6fdd1b97e0c37c54d34df67f334fc344a26 (patch)
tree01723ceb0d1a33aad2af1b89f7e4ded03232e902
parentb8a7a5a90fd3187175d84227dad705ade395ba46 (diff)
main : fix typo in comment in main.cpp (#6985)
Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
-rw-r--r--examples/main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/main/main.cpp b/examples/main/main.cpp
index a74d4d9c..5c693657 100644
--- a/examples/main/main.cpp
+++ b/examples/main/main.cpp
@@ -324,7 +324,7 @@ int main(int argc, char ** argv) {
log_tostr(embd_inp.empty()), n_matching_session_tokens, embd_inp.size(), session_tokens.size(), embd_inp.size());
// if we will use the cache for the full prompt without reaching the end of the cache, force
- // reevaluation of the last token token to recalculate the cached logits
+ // reevaluation of the last token to recalculate the cached logits
if (!embd_inp.empty() && n_matching_session_tokens == embd_inp.size() && session_tokens.size() > embd_inp.size()) {
LOGLN("recalculate the cached logits (do): session_tokens.resize( %zu )", embd_inp.size() - 1);