summaryrefslogtreecommitdiff
path: root/common/common.h
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-01-11 22:46:26 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2024-01-11 22:46:26 +0200
commit7edefbd79cc6dea96640edc54c6b94b2b2496d8b (patch)
tree87bb45314470c015832a82ff7a6a6b07030cf2b3 /common/common.h
parent3ca63b4538dfc78aaec88cd2c3e3f8417c1924e3 (diff)
main : better name for variable n_print (#4874)
Diffstat (limited to 'common/common.h')
-rw-r--r--common/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/common.h b/common/common.h
index 82d23cf5..1359e76a 100644
--- a/common/common.h
+++ b/common/common.h
@@ -64,7 +64,7 @@ struct gpt_params {
int32_t n_beams = 0; // if non-zero then use beam search of given width.
int32_t grp_attn_n = 1; // group-attention factor
int32_t grp_attn_w = 512; // group-attention width
- int32_t token_interval = -1; // show token count every 512 tokens (-1 = disabled)
+ int32_t n_print = -1; // print token count every n tokens (-1 = disabled)
float rope_freq_base = 0.0f; // RoPE base frequency
float rope_freq_scale = 0.0f; // RoPE frequency scaling factor
float yarn_ext_factor = -1.0f; // YaRN extrapolation mix factor