You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tokenizer.cpp you have: char* str_buffer = new char[str_buffer_size];, but later there is: free(str_buffer). You should replace it with delete[] str_buffer.
There is also probindex = new ProbIndex[vocab_size]; freed with free(probindex);. You should replace it with delete[] probindex.
The text was updated successfully, but these errors were encountered:
In tokenizer.cpp you have:
char* str_buffer = new char[str_buffer_size];
, but later there is:free(str_buffer)
. You should replace it withdelete[] str_buffer
.There is also
probindex = new ProbIndex[vocab_size];
freed withfree(probindex);
. You should replace it withdelete[] probindex
.The text was updated successfully, but these errors were encountered: