Type fix
This commit is contained in:
parent
dd0d1590f6
commit
a46dfcfd5c
1 changed files with 1 additions and 1 deletions
|
@ -12816,7 +12816,7 @@ static std::vector<llama_vocab::id> llama_tokenize_internal(const llama_vocab &
|
|||
auto raw_text = fragment.raw_text.substr(fragment.offset, fragment.length);
|
||||
|
||||
if (special_token_rtrim) {
|
||||
uint num_whitespaces = 0;
|
||||
size_t num_whitespaces = 0;
|
||||
while (isspace(raw_text[num_whitespaces])) {
|
||||
num_whitespaces++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue