Skip to content

Commit

Permalink
update o200k_base regex too
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Nov 9, 2024
1 parent c9aaf1b commit fc753fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openai_public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl EncodingFactory {
r"\p{N}{1,3}",
r" ?[^\s\p{L}\p{N}]+[\r\n/]*",
r"\s*[\r\n]+",
r"\s+(?!\S)",
r"\s+$",
r"\s+",
].join("|");

Expand Down

0 comments on commit fc753fa

Please sign in to comment.