#include <sampling-base.h>
◆ cfg_negative_prompt
std::string llama_sampling_params::cfg_negative_prompt |
◆ cfg_scale
float llama_sampling_params::cfg_scale = 1.f |
◆ dynatemp_exponent
float llama_sampling_params::dynatemp_exponent = 1.00f |
◆ dynatemp_range
float llama_sampling_params::dynatemp_range = 0.00f |
◆ grammar
std::string llama_sampling_params::grammar |
◆ logit_bias
std::unordered_map<llama_token, float> llama_sampling_params::logit_bias |
◆ min_keep
int32_t llama_sampling_params::min_keep = 0 |
◆ min_p
float llama_sampling_params::min_p = 0.05f |
◆ mirostat
int32_t llama_sampling_params::mirostat = 0 |
◆ mirostat_eta
float llama_sampling_params::mirostat_eta = 0.10f |
◆ mirostat_tau
float llama_sampling_params::mirostat_tau = 5.00f |
◆ n_prev
int32_t llama_sampling_params::n_prev = 64 |
◆ n_probs
int32_t llama_sampling_params::n_probs = 0 |
◆ penalize_nl
bool llama_sampling_params::penalize_nl = false |
◆ penalty_freq
float llama_sampling_params::penalty_freq = 0.00f |
◆ penalty_last_n
int32_t llama_sampling_params::penalty_last_n = 64 |
◆ penalty_present
float llama_sampling_params::penalty_present = 0.00f |
◆ penalty_prompt_tokens
std::vector<llama_token> llama_sampling_params::penalty_prompt_tokens |
◆ penalty_repeat
float llama_sampling_params::penalty_repeat = 1.00f |
◆ samplers_sequence
◆ seed
uint32_t llama_sampling_params::seed = LLAMA_DEFAULT_SEED |
◆ temp
float llama_sampling_params::temp = 0.80f |
◆ tfs_z
float llama_sampling_params::tfs_z = 1.00f |
◆ top_k
int32_t llama_sampling_params::top_k = 40 |
◆ top_p
float llama_sampling_params::top_p = 0.95f |
◆ typical_p
float llama_sampling_params::typical_p = 1.00f |
◆ use_penalty_prompt_tokens
bool llama_sampling_params::use_penalty_prompt_tokens = false |
The documentation for this struct was generated from the following file: