hnmr293 / sd-webui-cutoff

Cutoff - Cutting Off Prompt Effect
Other
1.2k stars 85 forks source link

what to put in "padding token"??? hints?? please? #6

Closed bryanray closed 1 year ago

bryanray commented 1 year ago

what to put in "padding token"??? hints?? please?

bryanray commented 1 year ago

what is ID and Single token, these words means nothing to me sorry......

hnmr293 commented 1 year ago

Short answer: If you are not familiar with CLIP, do not touch there.

Lengthy answer: Input a token or its ID what you want to use as the padding token. It is used for replacing each target token.

For instance, if you put , (comma) to padding token and put red to target tokens, the word red in your prompt is replaced to ,.

I wrote implementation details here: #5.

If it is blank, the default value _ (underbar) is used.

bryanray commented 1 year ago

https://github.com/hnmr293/sd-webui-cutoff/issues/5

thanks!!! this clarify everything!!! good job but please put it on the readme.md ::))) so noob like me can read,, but sucks at finding them other than frontpage LOL

hnmr293 commented 1 year ago

I have updated Readme. Thank you!