New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow custom stopping strings #903
Conversation
It now works in notebook mode too |
I've just done I'm still getting responses that are multiple lines long, such as:
I've tried other strings (and other amounts of strings), such as first names and what-not, but none seem to have an effect. |
After some extra testing, I think it may be related to the fact that I run a RWKV model. I tried running with these instead: I seem to get proper stopping, though I didn't do a lot of testing. I'm not familiar with proper etiquette, so I haven't created a separate issue regarding this. |
@ShaneTRS the stopping criteria stuff is a part of See https://github.com/oobabooga/text-generation-webui/blob/main/modules/text_generation.py#L139 |
a better #823