aboutsummaryrefslogtreecommitdiff
path: root/examples/common.h
diff options
context:
space:
mode:
authorGuillaume "Vermeille" Sanchez <Guillaume.V.Sanchez@gmail.com>2023-07-21 12:58:36 +0200
committerGitHub <noreply@github.com>2023-07-21 13:58:36 +0300
commitab0e26bdfb7b3adb1e3145c61a0fa92d1abd21d0 (patch)
tree84420ac76f4de9304ab23a9835c4feca03171fed /examples/common.h
parent73643f5fb1136dc2b65ae910bdc5a431520d70a2 (diff)
llama : remove cfg smooth factor as it is only a reparameterization of the guidance scale (#2280)
Diffstat (limited to 'examples/common.h')
-rw-r--r--examples/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/common.h b/examples/common.h
index 037a4ee..69170df 100644
--- a/examples/common.h
+++ b/examples/common.h
@@ -55,7 +55,6 @@ struct gpt_params {
// https://arxiv.org/abs/2306.17806
std::string cfg_negative_prompt; // string to help guidance
float cfg_scale = 1.f; // How strong is guidance
- float cfg_smooth_factor = 1.f; // Smooth factor between old and new logits
std::string model = "models/7B/ggml-model.bin"; // model path
std::string model_alias = "unknown"; // model alias