Skip to content

Some doubts about prompting format #40

Answered by ljleb
gilroff asked this question in Q&A
Discussion options

You must be logged in to vote

As a side note, for the particular prompt you are using: I'm not completely sure what the parser does in this case, as the prompt has extra text at the end.

Each prompt separated by a keyword should try to describe as much as possible the entire image. They split the prompt into chunks that are passed individually to the text encoder, so there is no sharing of concepts or arrangement distribution.

For example, this is not a good prompt:

a formidable
AND_SALT [ flying castle ]
AND_PERP [ with fans as propeller ]

Because the text encoder only sees a formidable and flying castle individually before being passed to the model individually, where you might have wanted instead for a formidable …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@gilroff
Comment options

@ljleb
Comment options

@gilroff
Comment options

@ljleb
Comment options

Answer selected by gilroff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants