File tree 2 files changed +2
-2
lines changed
examples/server/webui/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,14 +139,14 @@ struct common_params_sampling {
139
139
140
140
141
141
std::vector<enum common_sampler_type> samplers = {
142
+ COMMON_SAMPLER_TYPE_PENALTIES,
142
143
COMMON_SAMPLER_TYPE_DRY,
143
144
COMMON_SAMPLER_TYPE_TOP_K,
144
145
COMMON_SAMPLER_TYPE_TYPICAL_P,
145
146
COMMON_SAMPLER_TYPE_TOP_P,
146
147
COMMON_SAMPLER_TYPE_MIN_P,
147
148
COMMON_SAMPLER_TYPE_XTC,
148
149
COMMON_SAMPLER_TYPE_TEMPERATURE,
149
- COMMON_SAMPLER_TYPE_PENALTIES,
150
150
};
151
151
152
152
std::string grammar; // optional BNF-like grammar to constrain sampling
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const CONFIG_DEFAULT = {
21
21
systemMessage : 'You are a helpful assistant.' ,
22
22
showTokensPerSecond : false ,
23
23
// make sure these default values are in sync with `common.h`
24
- samplers : 'dkypmxt ' ,
24
+ samplers : 'edkypmxt ' ,
25
25
temperature : 0.8 ,
26
26
dynatemp_range : 0.0 ,
27
27
dynatemp_exponent : 1.0 ,
You can’t perform that action at this time.
0 commit comments