diff --git a/main.cpp b/main.cpp index a824d46c6..4c0806168 100644 --- a/main.cpp +++ b/main.cpp @@ -539,7 +539,7 @@ bool llama_eval( const std::vector & embd_inp, std::vector & embd_w, size_t & mem_per_token, - const bool embeding_mode) { + const bool embedding_mode) { const int N = embd_inp.size(); const auto & hparams = model.hparams; @@ -725,7 +725,7 @@ bool llama_eval( inpL); } - if(!embeding_mode){ + if(!embedding_mode){ // lm_head { inpL = ggml_mul_mat(ctx0, model.output, inpL);