Update src/llama.cpp
Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
parent
05f138551f
commit
1e1e78a324
1 changed files with 1 additions and 1 deletions
|
@ -15850,7 +15850,7 @@ struct llm_tokenizer_bpe {
|
||||||
regex_exprs = {
|
regex_exprs = {
|
||||||
"<sentinel:[0-9]+>", // Sentinel tokens
|
"<sentinel:[0-9]+>", // Sentinel tokens
|
||||||
"(IMGIMG)((A|B|C|D|E|F|G|H|I){1,4})Z", // Image tokens
|
"(IMGIMG)((A|B|C|D|E|F|G|H|I){1,4})Z", // Image tokens
|
||||||
"([\t\n]| | )", // directly from tokenizer.json
|
"([\\t\\n]| | )", // directly from tokenizer.json
|
||||||
"\\p{N}", // Individual digits
|
"\\p{N}", // Individual digits
|
||||||
"[\\p{P}\\$\\+<=>\\^~\\|`]+", // Punctuation
|
"[\\p{P}\\$\\+<=>\\^~\\|`]+", // Punctuation
|
||||||
"'s|'t|'re|'ve|'m|'ll|'d| ?\\p{L}+| ?\\p{N}+| ?[^\\s\\p{L}\\p{N}]+|\\s+(?!\\S)",
|
"'s|'t|'re|'ve|'m|'ll|'d| ?\\p{L}+| ?\\p{N}+| ?[^\\s\\p{L}\\p{N}]+|\\s+(?!\\S)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue