]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
common : Add top-nsigma sampler to help globally (#15428)
authorGian-Carlo Pascutto <redacted>
Tue, 19 Aug 2025 16:58:14 +0000 (18:58 +0200)
committerGitHub <redacted>
Tue, 19 Aug 2025 16:58:14 +0000 (19:58 +0300)
Fixes #15423.

common/arg.cpp

index d3868018ef20302ef9d89f27c95394d22bdc95f9..d9f6ec96d0afd03403041f7ee426d875c5baa3d6 100644 (file)
@@ -1830,7 +1830,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
         [](common_params & params, const std::string & value) {
             params.sampling.top_n_sigma = std::stof(value);
         }
-    ).set_examples({LLAMA_EXAMPLE_MAIN}).set_sparam());
+    ).set_sparam());
     add_opt(common_arg(
         {"--xtc-probability"}, "N",
         string_format("xtc probability (default: %.1f, 0.0 = disabled)", (double)params.sampling.xtc_probability),