/attackPrefixTree

Code of "Exploiting Prefix-Tree in Structured Output Interfaces for Enhancing Jailbreak Attacking"

Primary LanguagePythonApache License 2.0Apache-2.0

attackPrefixTree

Implementation of "Exploiting Prefix-Tree in Structured Output Interfaces for Enhancing Jailbreak Attacking"

The entry of this project is models.py. It can be migrated to different benchmark or test case conveniently.