mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-01 09:01:57 +00:00
simple : fix token counting
This commit is contained in:
@@ -81,6 +81,7 @@ int main(int argc, char ** argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
n_cur += tokens_list.size();
|
||||
tokens_list.clear();
|
||||
|
||||
// sample the next token
|
||||
|
||||
Reference in New Issue
Block a user