Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
Co-authored-by: Georgi Gerganov <[email protected]>
  • Loading branch information
mscheong01 and ggerganov committed Aug 16, 2024
1 parent f67f474 commit 7e1b315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7736,7 +7736,7 @@ static int llama_model_load(const std::string & fname, llama_model & model, llam

llm_load_print_meta(ml, model);

if (model.vocab.type != LLAMA_VOCAB_TYPE_NONE &&
if (model.vocab.type != LLAMA_VOCAB_TYPE_NONE &&
model.hparams.n_vocab != model.vocab.id_to_token.size()) {
throw std::runtime_error("vocab size mismatch");
}
Expand Down

0 comments on commit 7e1b315

Please sign in to comment.