We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236da59 commit e862defCopy full SHA for e862def
common/sampling.h
@@ -44,7 +44,7 @@ typedef struct llama_sampling_params {
44
float dry_multiplier = 0.0f; // 0.0f = disabled, recommended value: 0.8f
45
float dry_base = 1.75f;
46
uint32_t dry_allowed_length = 2;
47
- uint32_t dry_penalty_last_n = -1; // DRY last n tokens to penalize (0 = disable penalty, -1 = context size)
+ int32_t dry_penalty_last_n = -1; // DRY last n tokens to penalize (0 = disable penalty, -1 = context size)
48
49
std::vector<llama_sampler_type> samplers_sequence = {
50
llama_sampler_type::TOP_K,
0 commit comments