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
Yes, and the --n-predict option in llama.cpp won't work unless you ignore the EOS token, as explained here. Thus, I don't know if it was what you were looking for, to sample until the --n-predict value is reached and then truncate.
I was not able to find such option on the high level API of this repo, maybe you can have a look at this example, that adopts the low level api.
In
llama.cpp
,--n-predict
option is used to set the number of tokens to predict when generating text/I don't find the binding for that in doc.
The text was updated successfully, but these errors were encountered: