Skip to content

ASK FOR prompt_guard #1

Description

@ngocdai101004

Hello, I’m currently studying methods for content control in images generated by generative models, and I’m glad to see that your paper/source code is available. However, I’m having some issues with the source code.

I’d like to ask about the parameter

--placeholder_token="<prompt_guard>"

Is there any standard or rule for what prompt_guard should be? Should it be a sentence or a single word?

Also, for a pretrained model, the variable

token_list = [token1, token2, ...]  # the corresponding tokens of your embeddings

— what exactly are these tokens referring to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions