arobey1 / smooth-llmLinks
☆104Updated last year
Alternatives and similar repositories for smooth-llm
Users that are interested in smooth-llm are comparing it to the libraries listed below
Sorting:
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆55Updated 11 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆157Updated last year
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆135Updated 11 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆68Updated 8 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆25Updated last year
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆52Updated 8 months ago
- ☆91Updated 5 months ago
- This is the starter kit for the Trojan Detection Challenge 2023 (LLM Edition), a NeurIPS 2023 competition.☆90Updated last year
- ☆175Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆56Updated 4 months ago
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆101Updated 4 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆62Updated 6 months ago
- ☆56Updated 5 months ago
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆57Updated 8 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆81Updated 9 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆43Updated last month
- ☆39Updated 8 months ago
- Official implementation of ICLR'24 paper, "Curiosity-driven Red Teaming for Large Language Models" (https://openreview.net/pdf?id=4KqkizX…☆77Updated last year
- A toolkit to assess data privacy in LLMs (under development)☆59Updated 6 months ago
- A fast + lightweight implementation of the GCG algorithm in PyTorch☆255Updated 2 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆54Updated last year
- Official repository for ICML 2024 paper "On Prompt-Driven Safeguarding for Large Language Models"☆92Updated last month
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆50Updated 8 months ago
- Python package for measuring memorization in LLMs.☆159Updated this week
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆42Updated last year
- Code for our paper "Defending ChatGPT against Jailbreak Attack via Self-Reminder" in NMI.☆51Updated last year
- A curated list of trustworthy Generative AI papers. Daily updating...☆73Updated 10 months ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆154Updated 2 weeks ago
- Code and data of the EMNLP 2022 paper "Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversaria…☆52Updated 2 years ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆47Updated 8 months ago