-
Notifications
You must be signed in to change notification settings - Fork 9
A Question for prompt_template #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, thanks for your interest and question! The prompt template is associated with prompt states in Line 155 in 5c6535e
|
Thank you for your thoughtful response. In your code implementing WinCLIP, you define the template for prompt as follows.
But in AdaCLIP, You just define the template for prompt as follows.
In the case of the existing WinCLIP, I think they configured the prompt with both negative and positive meanings, but in AdaCLIP, I think you configured the template only with negative meanings such as Is there any reason why you configured the prompt template only with the above format instead of building templates with various types of negative and positive meanings? Thank you. |
Hi, firstly let me say thank you for sharing your great research.
I have a question about
prompt_template
.When you define
prompt_template
in theTextEmbedding_Layer
function, you form it like ['a bad photo of a {}.', 'a low resolution photo of the {}.', 'a bad photo of the {}.', 'a cropped photo of the {}.'], so why are there only templates that are all realted to anomaly?Is there a reason why you did't create templates related to normal images?
Thank you.
The text was updated successfully, but these errors were encountered: