Ver código fonte

llguidance : set tokenizer slices to default (#13424)

Sigbjørn Skjæret 8 meses atrás
pai
commit
43dfd741a5
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      common/llguidance.cpp

+ 1 - 0
common/llguidance.cpp

@@ -189,6 +189,7 @@ static LlgTokenizer * llama_sampler_llg_new_tokenizer(const llama_vocab * vocab)
         /* .tokenize_fn                        = */ llama_sampler_llg_tokenize_fn,
         /* .use_approximate_greedy_tokenize_fn = */ false,
         /* .tokenize_user_data                 = */ vocab,
+        /* .slices                             = */ nullptr,
     };
 
     char           error_buffer[1024];