Update llama.cpp

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
goerch 2023-10-02 09:18:51 +02:00 committed by GitHub
parent 28778f8ad3
commit a9a2af93ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4460,7 +4460,7 @@ struct llm_bigram_bpe {
struct llm_tokenizer_bpe {
llm_tokenizer_bpe(const llama_vocab & vocab): vocab(vocab) {}
void tokenize(const std::string & text, std::vector<llama_vocab::id>& output) {
void tokenize(const std::string & text, std::vector<llama_vocab::id> & output) {
int final_prev_index = -1;
auto word_collection = bpe_gpt2_preprocess(text);