fixed an offset bug?
This commit is contained in:
parent
1b1c0730f5
commit
c3b810868d
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ void print_tok_vec(std::vector<float> &embd)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ((i + 2) >= embd_inp_len)
|
if ((i + 2 - offset_fix) >= embd_inp_len)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue