diff options
Diffstat (limited to 'common/common.h')
-rw-r--r-- | common/common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/common.h b/common/common.h index 4635e05d..a7f476c1 100644 --- a/common/common.h +++ b/common/common.h @@ -223,14 +223,14 @@ void llama_batch_add( std::vector<llama_token> llama_tokenize( const struct llama_context * ctx, const std::string & text, - bool add_bos, - bool special = false); + bool add_special, + bool parse_special = false); std::vector<llama_token> llama_tokenize( const struct llama_model * model, const std::string & text, - bool add_bos, - bool special = false); + bool add_special, + bool parse_special = false); // tokenizes a token into a piece // should work similar to Python's `tokenizer.id_to_piece` |