speculative : add grammar support
This commit is contained in:
parent
3103568144
commit
69f2fafebc
3 changed files with 100 additions and 2 deletions
2
llama.h
2
llama.h
|
@ -410,6 +410,8 @@ extern "C" {
|
|||
|
||||
LLAMA_API void llama_grammar_free(struct llama_grammar * grammar);
|
||||
|
||||
LLAMA_API struct llama_grammar * llama_grammar_copy(const struct llama_grammar * grammar);
|
||||
|
||||
//
|
||||
// Sampling functions
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue