Skip to content

huawei-lin/UniGuardian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniGuardian

The implementation for paper "UniGuardian: A Unified Defense for Detecting Prompt Injection, Backdoor Attacks and Adversarial Attacks in Large Language Models".

Quick Start

Create a new environment and install the dependencies.

conda create -n uniguardian python=3.10
conda activate uniguardian 
pip install -r requirements.txt

Here’s an example command to execute the program. Make sure to replace the placeholders with actual paths.

python main.py --config_path ./config.json

About

The implementation for paper "UniGuardian: A Unified Defense for Detecting Prompt Injection, Backdoor Attacks and Adversarial Attacks in Large Language Models".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages