4#include <unordered_map>
38 uint32_t
seed = LLAMA_DEFAULT_SEED;
llama_sampler_type
Definition sampling-base.h:8
struct llama_sampling_params llama_sampling_params
Definition sampling-base.h:18
float penalty_repeat
Definition sampling-base.h:31
float penalty_present
Definition sampling-base.h:33
bool use_penalty_prompt_tokens
Definition sampling-base.h:59
float min_p
Definition sampling-base.h:24
int32_t penalty_last_n
Definition sampling-base.h:30
std::string cfg_negative_prompt
Definition sampling-base.h:53
float penalty_freq
Definition sampling-base.h:32
int32_t n_prev
Definition sampling-base.h:19
float top_p
Definition sampling-base.h:23
uint32_t seed
Definition sampling-base.h:38
float tfs_z
Definition sampling-base.h:25
std::vector< llama_token > penalty_prompt_tokens
Definition sampling-base.h:58
std::string grammar
Definition sampling-base.h:49
int32_t min_keep
Definition sampling-base.h:21
int32_t mirostat
Definition sampling-base.h:34
std::vector< llama_sampler_type > samplers_sequence
Definition sampling-base.h:40
std::unordered_map< llama_token, float > logit_bias
Definition sampling-base.h:56
float temp
Definition sampling-base.h:27
int32_t top_k
Definition sampling-base.h:22
float typical_p
Definition sampling-base.h:26
int32_t n_probs
Definition sampling-base.h:20
float dynatemp_range
Definition sampling-base.h:28
float mirostat_eta
Definition sampling-base.h:36
float mirostat_tau
Definition sampling-base.h:35
bool penalize_nl
Definition sampling-base.h:37
float cfg_scale
Definition sampling-base.h:54
float dynatemp_exponent
Definition sampling-base.h:29