You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prompt should not have a max size of --batch-size. if ((int) embd.size() >= params.n_batch) { break; } seems to have no particular usage and should be removed to allow prompting more than 512 tokens.
A side effect is that with the current version, initial prompts are truncated to 512 tokens no matter the --ctx_size or the --batch-size parameter.