From 7b1a3eece7e33ce197324f44e839dec430162108 Mon Sep 17 00:00:00 2001 From: firecoperana Date: Thu, 12 Jun 2025 00:19:26 -0500 Subject: Add top n sigma sampler and other webui fix (#512) Co-authored-by: firecoperana --- common/sampling.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/sampling.h') diff --git a/common/sampling.h b/common/sampling.h index 99fb07ac..4fc86595 100644 --- a/common/sampling.h +++ b/common/sampling.h @@ -11,6 +11,7 @@ // sampler types enum class llama_sampler_type : char { + DRY ='d', TOP_K = 'k', TOP_P = 'p', MIN_P = 'm', @@ -53,6 +54,7 @@ typedef struct llama_sampling_params { llama_sampler_type::TYPICAL_P, llama_sampler_type::TOP_P, llama_sampler_type::MIN_P, + llama_sampler_type::TOP_N_SIGMA, llama_sampler_type::TEMPERATURE }; -- cgit v1.2.3