mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 09:04:36 +00:00
add new sampling algorithm mirostat
This commit is contained in:
parent
c8f7eeb7fd
commit
8131bc8b56
3 changed files with 20 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue