mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02:00
add new sampling algorithm mirostat
This commit is contained in:
@@ -371,6 +371,9 @@ generation_outputs gpttype_generate(const generation_inputs inputs, generation_o
|
||||
params.temp = inputs.temperature;
|
||||
params.repeat_last_n = inputs.rep_pen_range;
|
||||
params.repeat_penalty = inputs.rep_pen;
|
||||
params.mirostat = inputs.mirostat;
|
||||
params.mirostat_eta = inputs.mirostat_eta;
|
||||
params.mirostat_tau = inputs.mirostat_tau;
|
||||
params.n_ctx = inputs.max_context_length;
|
||||
params.n_batch = n_batch;
|
||||
params.n_threads = n_threads;
|
||||
|
||||
Reference in New Issue
Block a user