Unispac / Visual-Adversarial-Examples-Jailbreak-Large-Language-Models

Repository for the Paper (AAAI 2024, Oral) --- Visual Adversarial Examples Jailbreak Large Language Models
183 stars 16 forks source link

about different text generation methods #27

Open payphone131 opened 3 months ago

payphone131 commented 3 months ago

hello, i find there are two ways of generating texts in your code: in minigpt_test_manual_prompts_visual_llm.py, you use Chat(), ask() and answer() to generate texts; while in minigpt_inference.py, you use Generator(), Prompt() and generate() to generate texts. what are the differences between them?