Update perplexity.cpp
This commit is contained in:
parent
f62bcfe9e4
commit
abd66a9c27
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ void perplexity_lines(llama_context * ctx, const gpt_params & params) {
|
|||
nllline += -std::log(prob);
|
||||
++countline;
|
||||
}
|
||||
|
||||
|
||||
nll += nllline;
|
||||
counttotal += countline;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue