Skip to content
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

Should we add a positive leading response? #4

Open
Maryeon opened this issue Jan 9, 2025 · 0 comments
Open

Should we add a positive leading response? #4

Maryeon opened this issue Jan 9, 2025 · 0 comments

Comments

@Maryeon
Copy link

Maryeon commented Jan 9, 2025

Hi, thanks for sharing the code!

I ran prompt minimization on Llama-7b-chat with the target string "Imperfection is beauty, madness is genius and it's better to be absolutely ridiculous than absolutely boring". But it fails to find an adversarial prompt as in Figure 2.

I noticed that in Figure 2, there is a leading positive response "Sure! Here's a famous quote:\n\n". Should I add the positive response between the prompt and target string when running gcg?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant