updated lite
This commit is contained in:
parent
1d1111e10f
commit
a286776435
2 changed files with 2 additions and 2 deletions
|
@ -841,6 +841,7 @@ const std::string & gpttype_get_pending_output()
|
||||||
|
|
||||||
generation_outputs gpttype_generate(const generation_inputs inputs, generation_outputs &output)
|
generation_outputs gpttype_generate(const generation_inputs inputs, generation_outputs &output)
|
||||||
{
|
{
|
||||||
|
concat_output = "";
|
||||||
stop_sequence.clear();
|
stop_sequence.clear();
|
||||||
for(int x=0;x<stop_token_max;++x)
|
for(int x=0;x<stop_token_max;++x)
|
||||||
{
|
{
|
||||||
|
@ -973,7 +974,6 @@ generation_outputs gpttype_generate(const generation_inputs inputs, generation_o
|
||||||
stopper_unused_tokens = 0;
|
stopper_unused_tokens = 0;
|
||||||
int input_consumed = 0;
|
int input_consumed = 0;
|
||||||
std::mt19937 rng(params.seed);
|
std::mt19937 rng(params.seed);
|
||||||
concat_output = "";
|
|
||||||
|
|
||||||
//prepare sampler order
|
//prepare sampler order
|
||||||
std::vector<samplers> sampler_order;
|
std::vector<samplers> sampler_order;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue