Skip to content

sherdencooper/XLLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors