Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /