tokenizer : special token handling (#3538)
* Rewrite special token handling from #1931 * shorten param name, add st verification by type * use offsets instead of copy by substr * formatting, remove copying iterator on delete * llama : normalize code-style * swift fix * print pfx/sfx if verb, main: split pfx input sfx * dont add space when using special tokens * minor : comment + spacing --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
S
staviq committed
1a159553f921a9209fed8c714494e57b3649f232
Parent: 281ef73
Committed by GitHub <noreply@github.com>
on 10/17/2023, 3:11:01 PM