Home/LLM Frameworks/latent-jailbreak
latent-jailbreak logo

latent-jailbreak

Enrichment pending
qiuhuachuan/latent-jailbreak

latent-jailbreak

GraphCanon updated today · GitHub synced today

39
Stars
2
Forks
1
Open issues
1
Watchers
2y
Last push
Python MITCreated Jul 17, 2023

Trust & integrity

Full report
Maintenance
Dormant (781d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Personal account
As of today · Source: github_public_v1
Security (OSV)
No lockfile
As of today · Source: none

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Capability facts

Languages
python

Source: github.language · Jul 11, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 11, 2026)

python BELLE_7B_2M.py
Source link
Works with ChatGPTChatGPT

Source: README excerpt (regex_v1, Jul 11, 2026)

python ChatGPT.py --api_key 'your key'
Source link

Tags

README

Latent Jailbreak

🎉 Paper

This repository contains the code and data for the paper Latent Jailbreak: A Benchmark for Evaluating Text Safety and Output Robustness of Large Language Models. The paper explores the topic of latent jailbreak and presents a novel approach to evaluate the text safety and output robustness for large language models.

Data

The data used in this paper is included in the data directory.

Templates

Templates for latent jailbreak prompts.

Generate Model Responses

cd src
python BELLE_7B_2M.py
python ChatGLM2-6B.py
python ChatGPT.py --api_key 'your key'

Fine-Tune Model to Perform Automatic Labeling

python finetune.py

Citation

If you use the code or data in this repository, please cite the following paper.

@misc{qiu2023latent,
      title={Latent Jailbreak: A Benchmark for Evaluating Text Safety and Output Robustness of Large Language Models},
      author={Huachuan Qiu and Shuai Zhang and Anqi Li and Hongliang He and Zhenzhong Lan},
      year={2023},
      eprint={2307.08487},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}