fixed a bug with token timings, updated lite
This commit is contained in:
parent
c5ae3f50a7
commit
537ff22ec9
2 changed files with 4 additions and 3 deletions
|
@ -1265,6 +1265,7 @@ generation_outputs gpttype_generate(const generation_inputs inputs, generation_o
|
||||||
|
|
||||||
if(unbanTokens && id==eosID)
|
if(unbanTokens && id==eosID)
|
||||||
{
|
{
|
||||||
|
stopper_unused_tokens = remaining_tokens;
|
||||||
printf("\n(EOS token triggered!)");
|
printf("\n(EOS token triggered!)");
|
||||||
remaining_tokens = 0;
|
remaining_tokens = 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue