text-generation-webui
text-generation-webui copied to clipboard
Add stop tokens to API
Pretty much what it says on the tin- it'd be nice to be able to pass an array of strings to the API which will terminate a completion early if they're detected in the output.
Yes +1 on this for sure.
I think that this can be done through an extension that creates an additional API endpoint. I will try to do it later.
Thanks... is there any way to set a stop token / sequence at the moment in the webui? I can't seem to see anything.
This is now implemented in the API extension https://github.com/oobabooga/text-generation-webui/pull/744