-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this a small bug in the TAP seed template? #21
Comments
Actually in attacker/TAP_Mehrotra_2023.py, the seed is iniatialized with the first element of the TAP seed strings in seed_template.json, which has "target_str" instead of "reference_responses"(show above). You can view the code of the inialization of the mutator of the TAP method(show below: system_prompt=self.seeds[0] ).EasyJailbreak/easyjailbreak/attacker/TAP_Mehrotra_2023.py Lines 97 to 101 in f82a13c
But I have to admit that it is ugly and it was not fixed during development as it affected nothing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EasyJailbreak/easyjailbreak/seed/seed_template.json
Line 262 in f82a13c
Should the {reference_responses} placeholder in TAP template be changed to {target_str}? This corresponds to the following:
EasyJailbreak/easyjailbreak/mutation/generation/IntrospectGeneration.py
Line 134 in f82a13c
This modification is just my guess, I hope to get your reply.
The text was updated successfully, but these errors were encountered: