Skip to content

Latest commit

 

History

98 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The official implementation for paper Mind the Inconspicuous: Revealing the Hidden Weakness in Aligned LLMs’ Ethical Boundaries

Running Environment

Running the code requires a GPU with at least 40GB memory as it requires LLM inference and gradient computation (for GCG).

Requirements

pip install -r requirements.txt

Usage

Each running script is in Scripts folders. For example,

bash ./Scripts/run_GCG.sh

The running results will be saved in the Logs folder.

Close-source LLM Probing

We provide the probing screenshots in the Probing folder.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages