Commit Graph

11 Commits

Author SHA1 Message Date
Georgi Gerganov
e8c206be61 unicode : shot in the dark to fix tests on Windows 2024-04-26 14:57:12 +03:00
Georgi Gerganov
06d3e693db unicode : fix? unicode_wstring_to_utf8 2024-04-26 12:55:11 +03:00
Kazim Abrar Mahi
36d983262e Fixed issue with gpt2 regex custom preprocessor 2024-04-26 11:43:29 +03:00
Kazim Abrar Mahi
feeaf4f39c Added needed functionality, testing remains 2024-04-26 11:43:29 +03:00
Kazim Abrar Mahi
7e308ed212 Adding unicode regex function 2024-04-26 11:43:29 +03:00
Kazim Abrar Mahi
4056dc5b1e added and refactored unicode_regex_split and related functions 2024-04-26 11:43:28 +03:00
Kazim Abrar Mahi
1c924e4b35 Resolved issues 2024-04-26 11:43:28 +03:00
Kazim Abrar Mahi
54f93eb50b Moved header files 2024-04-26 11:43:28 +03:00
Kazim Abrar Mahi
d2cfc2225f Moved regex patterns to unicode.cpp and updated unicode.h 2024-04-26 11:43:28 +03:00
Jared Van Bortel
32c8486e1f wpm : portable unicode tolower (#6305)
Also use C locale for ispunct/isspace, and split unicode-data.cpp from unicode.cpp.
2024-03-26 17:46:21 -04:00
Georgi Gerganov
83796e62bc llama : refactor unicode stuff (#5992)
* llama : refactor unicode stuff

ggml-ci

* unicode : names

* make : fix c++ compiler

* unicode : names

* unicode : straighten tables

* zig : fix build

* unicode : put nfd normalization behind API

ggml-ci

* swift : fix build

* unicode : add BOM

* unicode : add <cstdint>

ggml-ci

* unicode : pass as cpts as const ref
2024-03-11 17:47:47 +02:00