xinleihe / toxic-prompt
☆24Updated last year
Alternatives and similar repositories for toxic-prompt
Users that are interested in toxic-prompt are comparing it to the libraries listed below
Sorting:
- Implementation of the paper "Exploring the Universal Vulnerability of Prompt-based Learning Paradigm" on Findings of NAACL 2022☆29Updated 2 years ago
- Code for the paper "BadPrompt: Backdoor Attacks on Continuous Prompts"☆36Updated 10 months ago
- ☆21Updated last year
- Code for the paper "Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models" (NAACL-…☆40Updated 3 years ago
- ☆43Updated 3 months ago
- Official Code for ACL 2023 paper: "Ethicist: Targeted Training Data Extraction Through Loss Smoothed Soft Prompting and Calibrated Confid…☆23Updated 2 years ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆51Updated 9 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆33Updated last year
- Towards Safe LLM with our simple-yet-highly-effective Intention Analysis Prompting☆16Updated last year
- ☆1Updated 11 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆51Updated 7 months ago
- ☆35Updated last year
- Code and data for paper "A Semantic Invariant Robust Watermark for Large Language Models" accepted by ICLR 2024.☆30Updated 6 months ago
- Data for our paper "Defending ChatGPT against Jailbreak Attack via Self-Reminder"☆18Updated last year
- Fingerprint large language models☆36Updated 10 months ago
- Code for the paper "RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models" (EMNLP 2021)☆24Updated 3 years ago
- ICL backdoor attack☆12Updated 6 months ago
- Code for the paper "Rethinking Stealthiness of Backdoor Attack against NLP Models" (ACL-IJCNLP 2021)☆24Updated 3 years ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆72Updated 7 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆53Updated last year
- ☆25Updated 10 months ago
- ☆13Updated 2 years ago
- ☆6Updated 2 years ago
- The code for paper "The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)", exploring the privacy risk o…☆48Updated 3 months ago
- A curated list of trustworthy Generative AI papers. Daily updating...☆71Updated 8 months ago
- ☆13Updated 2 months ago
- Code for paper "Defending aginast LLM Jailbreaking via Backtranslation"☆29Updated 9 months ago
- ☆18Updated 2 months ago
- Official implementation of the EMNLP 2021 paper "ONION: A Simple and Effective Defense Against Textual Backdoor Attacks"☆33Updated 3 years ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆19Updated 9 months ago