fix: change ignore_merges to bool

This commit is contained in:
Haoxiang Fei 2024-05-10 19:19:29 +08:00
parent 1fb5b55894
commit c3d0f41d50

View file

@ -12200,7 +12200,7 @@ struct llm_tokenizer_bpe {
void tokenize(const std::string & text, std::vector<llama_vocab::id> & output) {
int final_prev_index = -1;
int ignore_merges = false;
bool ignore_merges = false;
std::vector<std::string> word_collection;
switch (vocab.type) {