fixed an offset bug?

This commit is contained in:
Concedo 2023-04-15 00:30:00 +08:00
parent 1b1c0730f5
commit c3b810868d

View file

@ -313,7 +313,7 @@ void print_tok_vec(std::vector<float> &embd)
{
break;
}
if ((i + 2) >= embd_inp_len)
if ((i + 2 - offset_fix) >= embd_inp_len)
{
break;
}