mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
force clear some DRY state vars on new generation - not sure if this helps
This commit is contained in:
parent
689a17d756
commit
e12ab53488
2 changed files with 5 additions and 2 deletions
|
@ -1949,6 +1949,10 @@ generation_outputs gpttype_generate(const generation_inputs inputs)
|
|||
last_stop_reason = stop_reason::OUT_OF_TOKENS;
|
||||
stop_sequence.clear();
|
||||
special_stop_sequence.clear();
|
||||
dry_repeat_count.clear();
|
||||
dry_sequence_breakers.clear();
|
||||
dry_max_token_repeat.clear();
|
||||
|
||||
for(int x=0;x<stop_token_max;++x)
|
||||
{
|
||||
std::string stopper = inputs.stop_sequence[x];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue