PromptAttack: Prompt-based Attack for Language Models via Gradient Search

Open in new window