garak.probes.visual_jailbreak
Visual Jailbreak
- class garak.probes.visual_jailbreak.FigStep(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)
Bases:
FigStepFull
,Probe
Using another modal - image to assist jailbreak
Title: FigStep: Jailbreaking Large Vision-language Models via Typographic Visual Prompts Link: https://arxiv.org/pdf/2311.05608.pdf Reference: Yichen Gong, Delong Ran, Jinyuan Liu, Conglei Wang, Tianshuo Cong, Anyu Wang, Sisi Duan, and Xiaoyun Wang. 2023. FigStep: Jailbreaking Large Vision-language Models via Typographic Visual Prompts.
Tiny version
- probe(generator)
attempt to exploit the target generator, returning a list of results
- safebench_image_catalog = LocalDataPath('/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/data/safebenchtiny_filenames.txt')
- class garak.probes.visual_jailbreak.FigStepFull(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)
Bases:
Probe
Using another modal - image to assist jailbreak
Title: FigStep: Jailbreaking Large Vision-language Models via Typographic Visual Prompts Link: https://arxiv.org/pdf/2311.05608.pdf Reference: Yichen Gong, Delong Ran, Jinyuan Liu, Conglei Wang, Tianshuo Cong, Anyu Wang, Sisi Duan, and Xiaoyun Wang. 2023. FigStep: Jailbreaking Large Vision-language Models via Typographic Visual Prompts.
- probe(generator)
attempt to exploit the target generator, returning a list of results
- prompts = []
- safebench_image_catalog = LocalDataPath('/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/data/safebench_filenames.txt')
- safebench_image_filenames = []