Skip to content

Commit 1e19f5d

Browse files
authored
common : Add top-nsigma sampler to help globally (ggml-org#15428)
Fixes ggml-org#15423.
1 parent d2fcd91 commit 1e19f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
18301830
[](common_params & params, const std::string & value) {
18311831
params.sampling.top_n_sigma = std::stof(value);
18321832
}
1833-
).set_examples({LLAMA_EXAMPLE_MAIN}).set_sparam());
1833+
).set_sparam());
18341834
add_opt(common_arg(
18351835
{"--xtc-probability"}, "N",
18361836
string_format("xtc probability (default: %.1f, 0.0 = disabled)", (double)params.sampling.xtc_probability),

0 commit comments

Comments
 (0)