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 @@ -33,7 +33,7 @@ const CONFIG_DEFAULT = {
33
33
systemMessage : 'You are a helpful assistant.' ,
34
34
showTokensPerSecond : false ,
35
35
// make sure these default values are in sync with `common.h`
36
- samplers : 'dkypmxt ' ,
36
+ samplers : 'edkypmxt ' ,
37
37
temperature : 0.8 ,
38
38
dynatemp_range : 0.0 ,
39
39
dynatemp_exponent : 1.0 ,
You can’t perform that action at this time.
0 commit comments