From 68d2ca65e63a7e51f408bdf7221312b7dda5bdee Mon Sep 17 00:00:00 2001 From: klosax <131523366+klosax@users.noreply.github.com> Date: Fri, 21 Jul 2023 21:19:45 +0200 Subject: [PATCH] Update common.h --- examples/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/common.h b/examples/common.h index 69170dfc0..c936de6fa 100644 --- a/examples/common.h +++ b/examples/common.h @@ -82,6 +82,7 @@ struct gpt_params { bool instruct = false; // instruction mode (used for Alpaca models) bool penalize_nl = true; // consider newlines as a repeatable token bool perplexity = false; // compute perplexity over the prompt + bool perplexity_lines = false; // compute perplexity over each line of the prompt bool use_mmap = true; // use mmap for faster loads bool use_mlock = false; // use mlock to keep model in memory bool mem_test = false; // compute maximum memory usage