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

prompt attack #87

Open
zl-comment opened this issue Oct 16, 2024 · 1 comment
Open

prompt attack #87

zl-comment opened this issue Oct 16, 2024 · 1 comment

Comments

@zl-comment
Copy link

eg
"Determine if the given pair of sentences displays entailment, neutral, or contradiction. Respond with 'entailment', 'neutral', or 'contradiction'\nQuestion: {content}\nAnswer:"
The prompt words Answer and Question cannot be modified. If they are attacked, the accuracy will drop a lot. I did not see this in the prompt words in your conclusion.

@Immortalise
Copy link
Collaborator

Yes, in our setup, terms like ‘entailment’ and ‘Question’ are fixed and unmodifiable because we believe changing them is unnecessary and would cause a significant shift in meaning compared to the original clean prompts.

In this example, you can define your own unmodifiable words.

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

2 participants