simple : fix token counting

This commit is contained in:
Georgi Gerganov 2023-09-19 11:45:33 +03:00
parent 25bd254089
commit 467e307931
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -81,6 +81,7 @@ int main(int argc, char ** argv) {
return 1;
}
n_cur += tokens_list.size();
tokens_list.clear();
// sample the next token