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
I was trying to run an alpaca model on a framework with a relatively large context window, and the following message keeps popping up: llama_tokenize: too many tokens
how could i bypass this, and what is the maximum number of tokens in this case?
@gjmulder@ylchin fixed, you can now tokenize longer prompts, while this doesn't help with processing longer contexts it should help with chunking conversations / documents embeddings.
Activity
gjmulder commentedon May 12, 2023
I believe this may be a limit in
llama.cpp. There was a discussion about having to increase some memory buffers to support larger context sizes.abetlen commentedon May 12, 2023
@gjmulder @ylchin fixed, you can now tokenize longer prompts, while this doesn't help with processing longer contexts it should help with chunking conversations / documents embeddings.
Update to current status (#2)
Add quantize script for batch quantization (abetlen#92)
Allow model to tokenize strings longer than context length and set ad…