stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Display a mark for every 75 tokens

Open A2Sumie opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. Managing lots of tokens is hard.

Describe the solution you'd like A mark for every 75 tokens to help management

Additional context Add any other context or screenshots about the feature request here. Is there something that acts like an empty token that just push other tokens away into the next 75 token group?

A2Sumie avatar Oct 17 '22 05:10 A2Sumie

Is there something that acts like an empty token that just push other tokens away into the next 75 token group?

Yes, there will be "OR", when the changes end up merged: Issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/2305 – PR: https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/2642

aleksusklim avatar Oct 17 '22 06:10 aleksusklim

Is there something that acts like an empty token that just push other tokens away into the next 75 token group?

Yes, there will be "OR", when the changes end up merged: Issue: #2305 – PR: #2642

after a future merge, enter …,OR,OR,OR,OR,……will do? Am I taking this right?

A2Sumie avatar Oct 17 '22 06:10 A2Sumie

No, just a photo of the cat OR a painting by van gogh – if you want to make sure that a new term string will not be split by implicit "OR" that is technically inserted at each 75 tokens.

When this will be implemented, users could experiment with it further to find out new use-cases for this, aside of using OR as an alternative to AND (which is also might work correctly with my example above).

P.S. Anyway, as I understood from previous PR's, currently they split at 75 not strictly, but "at the next comma to the left".

aleksusklim avatar Oct 17 '22 07:10 aleksusklim

This is BREAK.

ClashSAN avatar May 02 '23 06:05 ClashSAN