mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-04-29 10:51:51 +00:00
Add top n sigma sampler and other webui fix (#512)
Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user