mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 18:34:34 +00:00
parent
6fe1c62741
commit
52399254b3
3 changed files with 13 additions and 13 deletions
|
@ -13246,7 +13246,7 @@ struct llm_tokenizer_wpm {
|
|||
const std::vector<uint32_t> cpts_nfd = unicode_cpts_normalize_nfd(unicode_cpts_from_utf8(text));
|
||||
std::vector<std::string> words(1, "");
|
||||
|
||||
for (const char32_t cpt : cpts_nfd) {
|
||||
for (const uint32_t cpt : cpts_nfd) {
|
||||
const auto flags = unicode_cpt_flags(cpt);
|
||||
|
||||
if (flags.is_whitespace) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue