mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-07-09 20:50:21 +00:00
llama : fix Viking pre-tokenizer regex
The order was previously wrong, which caused errors in some tests.
This commit is contained in:
+1
-1
@@ -15440,8 +15440,8 @@ struct llm_tokenizer_bpe {
|
||||
break;
|
||||
case LLAMA_VOCAB_PRE_TYPE_VIKING:
|
||||
regex_exprs = {
|
||||
"\\p{N}",
|
||||
" ?[^(\\s|.,!?…。,、।۔،)]+",
|
||||
"\\p{N}",
|
||||
};
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user