AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
141.03k stars 26.67k forks source link

Display a mark for every 75 tokens #2928

Closed A2Sumie closed 1 year ago

A2Sumie commented 1 year ago

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?

aleksusklim commented 1 year ago

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

A2Sumie commented 1 year ago

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?

aleksusklim commented 1 year ago

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".

ClashSAN commented 1 year ago

This is BREAK.