Update perplexity.cpp

This commit is contained in:
klosax 2023-07-22 12:42:22 +02:00 committed by GitHub
parent f62bcfe9e4
commit abd66a9c27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,7 +180,7 @@ void perplexity_lines(llama_context * ctx, const gpt_params & params) {
nllline += -std::log(prob);
++countline;
}
nll += nllline;
counttotal += countline;