mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-07-21 10:15:35 +00:00
Add Unicode allowlist (#1597)
* initial commit * cleanup * fix whitelist arg parsing and simplify keyword search state * rename white* to allow* * add vocab_pieces init function, rename update functions, delete accidentally added file * delete temporary bias code * auto-generate fill function with script data inside * deduplicate allowlist unicode rule parsing * minor cleanup * delete unnecessary header * refactor allowlist to support sequential rule sets via keywords * add early exit for zero-rules case * delete accidentally added file
This commit is contained in:
@@ -1559,4 +1559,6 @@ llama_token llama_sample_token_with_rng(struct llama_context * ctx, llama_token_
|
||||
|
||||
#endif // LLAMA_API_INTERNAL
|
||||
|
||||
size_t llama_fill_from_utf8(void* utf8, void* cpts, void* scripts);
|
||||
|
||||
#endif // LLAMA_H
|
||||
|
||||
Reference in New Issue
Block a user