mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-05-14 21:14:10 +00:00
Fixed issue with gpt2 regex custom preprocessor
This commit is contained in:
committed by
Georgi Gerganov
parent
753580360b
commit
36d983262e
@@ -357,6 +357,7 @@ static std::vector<size_t> unicode_gpt2_regex_preprocess(const std::wstring & wt
|
||||
token += utf_char;
|
||||
}
|
||||
}
|
||||
start += offset;
|
||||
}
|
||||
|
||||
return bpe_offsets;
|
||||
|
||||
Reference in New Issue
Block a user