Skip to content

Commit d1e5c60

Browse files
committed
add missing values to common_params_sampling::print()
1 parent 965bcc9 commit d1e5c60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/sampling.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ std::string common_params_sampling::print() const {
151151
"\trepeat_last_n = %d, repeat_penalty = %.3f, frequency_penalty = %.3f, presence_penalty = %.3f\n"
152152
"\tdry_multiplier = %.3f, dry_base = %.3f, dry_allowed_length = %d, dry_penalty_last_n = %d\n"
153153
"\ttop_k = %d, top_p = %.3f, min_p = %.3f, xtc_probability = %.3f, xtc_threshold = %.3f, typical_p = %.3f, top_n_sigma = %.3f, temp = %.3f\n"
154-
"\tmirostat = %d, mirostat_lr = %.3f, mirostat_ent = %.3f",
154+
"\tmirostat = %d, mirostat_lr = %.3f, mirostat_ent = %.3f, power_law_target = %.3f, power_law_decay = %.3f",
155155
penalty_last_n, penalty_repeat, penalty_freq, penalty_present,
156156
dry_multiplier, dry_base, dry_allowed_length, dry_penalty_last_n,
157157
top_k, top_p, min_p, xtc_probability, xtc_threshold, typ_p, top_n_sigma, temp,
158-
mirostat, mirostat_eta, mirostat_tau);
158+
mirostat, mirostat_eta, mirostat_tau, power_law_target, power_law_decay);
159159

160160
return std::string(result);
161161
}

0 commit comments

Comments
 (0)