by executesorder66 · 2y ago · 0 comments
Try "ramen without egg" or "ramen with no egg" and it will show ramen WITH egg.
Or "man without striped shirt" will give "man WITH striped shirt"
Set the seed to 0 and prompt to "man in a loud shirt" - you get flowers. Sweet the negative prompt to "floral shirt" - no not flowers.
Sentence processors can definitely understand negation, (any non-trivial LLM can) but it would be a waste of time to train that in the image generators -vs- making other ideas better.
> That’s what negative prompt is for.
This is what I mean by it "not understanding negations" You need whole separate prompt, just to say you want e.g. "ramen without egg" instead of just saying it in a single prompt that it understands.
If you want to generate ramen without egg, you'll want _negative weighted_ prompts. "eating ramen, (egg:-1)"
Likewise, zero-weight tokens don't act like the token is absent from the prompt.
AIs are able to understand negations, just ask an LLM a question. Text-to-image models are the ones that struggle the most with this, they usually do not have a very nuanced understanding of text.