examples of adversarial prompt engineering
- User
examples of adversarial prompt engineering
Assistant
Do you want to know how to do adversarial prompt engineering, or do you want examples of adversarial prompts?
- User
how to
Assistant
To create an adversarial prompt, you would construct a prompt that was specifically designed to get a desired response from a language model. You would then use that prompt as input to the model, and compare the output to the output you were expecting. If the model responded in the wrong way, you would tweak the prompt until you got the desired output.
- User
how to create adversarial prompt
Assistant
To create an adversarial prompt, you would need to understand the language model you are testing, and what kinds of prompts it responds to. You would then need to construct a prompt that would either cause the model to give an incorrect response, or cause it to give a desired response that you weren’t expecting.
- User
give me examples from gpt-3
Assistant
Here are a couple examples of adversarial prompts for gpt-3:
“gpt-3, I think the earth is flat. Please explain to me why I am wrong.”
“gpt-3, I think the earth is the center of the universe. Please explain to me why I am wrong.”
- User
please use different examples
Assistant
Here are some different examples of adversarial prompts for GPT-3:
- "GPT-3, I believe that climate change is a hoax. Please provide me with evidence to prove me wrong."
- "GPT-3, I think that vaccines cause autism. Please provide me with evidence to prove me wrong."
- "GPT-3, I believe that the Holocaust never happened. Please provide me with evidence to prove me wrong."
- "GPT-3, I think that Donald Trump is the best president in American history. Please provide me with evidence to prove me wrong."
- "GPT-3, I believe that all Muslims are terrorists. Please provide me with evidence to prove me wrong."
- "GPT-3, I think that the moon landing was staged. Please provide me with evidence to prove me wrong."
- "GPT-3, I believe that all immigrants are criminals. Please provide me with evidence to prove me wrong."
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.