mirror of
https://github.com/dongdongunique/EvoSynth.git
synced 2026-02-12 17:22:44 +00:00
Complete EvoSynth framework setup
- Updated README.md with comprehensive documentation - Added requirements.txt with verified dependencies - Added .gitignore to exclude sensitive files - Implemented context length protection for access_runcontext_history - Removed torch dependency to avoid confusion - All changes tested and verified
This commit is contained in:
@@ -41,7 +41,7 @@ def parse_args():
|
||||
# Model configurations (non-attack parameters)
|
||||
parser.add_argument("--attacker-model", type=str, default="deepseek-chat",
|
||||
help="Attacker model name (default: deepseek-chat)")
|
||||
parser.add_argument("--judge-model", type=str, default="gpt-4o",
|
||||
parser.add_argument("--judge-model", type=str, default="gpt-4o-mini",
|
||||
help="Judge model name")
|
||||
parser.add_argument("--target-models", nargs="+",
|
||||
default=["gpt-4o"],
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,35 +1,4 @@
|
||||
"""
|
||||
Blackbox attack implementations for the Jailbreak Toolbox.
|
||||
|
||||
This module contains implementations of various blackbox attacks against language models.
|
||||
Each attack is automatically registered with the attack_registry when imported.
|
||||
"""
|
||||
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.genetic_attack import GeneticAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.autodan import AutoDAN_Attack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.pair_attack import PAIRAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.renellm_attack import ReNeLLMAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.gptfuzzer import GPTFuzzerAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.cipherchat import CipherChatAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.deepinception_attack import DeepInceptionAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.ica_attack import ICAAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.jailbroken_attack import JailBrokenAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.xteaming_attack import XTeamingAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.redqueen_attack import RedQueenAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.actor_attack import ActorAttack
|
||||
from jailbreak_toolbox.attacks.blackbox.implementations.evosynth.evosynth_attack import EvosynthAttack
|
||||
__all__ = [
|
||||
'GeneticAttack',
|
||||
'AutoDAN_Attack',
|
||||
'PAIRAttack',
|
||||
'ReNeLLMAttack',
|
||||
'GPTFuzzerAttack',
|
||||
'CipherChatAttack',
|
||||
'DeepInceptionAttack',
|
||||
'ICAAttack',
|
||||
'JailBrokenAttack',
|
||||
'XTeamingAttack',
|
||||
'RedQueenAttack',
|
||||
'ActorAttack',
|
||||
'EvosynthAttack',
|
||||
]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user