Add top n sigma sampler and other webui fix (#512)

Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
firecoperana
2025-06-12 00:19:26 -05:00
committed by GitHub
parent baa412aa42
commit 07777dde1f
8 changed files with 36 additions and 26 deletions

View File

@@ -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
};