stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

Support for BREAK pseudo-token, to break clip chunks.

Open ursg opened this issue 1 year ago • 1 comments

Similarly to the other major implementations, this supports the user manually breaking the prompt into 77-token-chunks by adding a manual "BREAK" token.

ursg avatar Jun 11 '24 11:06 ursg

With this modified regex this seems to delete all the white space in the prompt tokens.

grauho avatar Jul 24 '24 11:07 grauho