Skip to content

Commit

Permalink
Fix tap.PAIR run error - run_tap param evaluator_model (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin-tech committed Dec 16, 2024
2 parents 2714226 + d071c96 commit 3f004ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion garak/probes/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ class PAIR(Probe):
"depth": 10,
"n_streams": 1,
"keep_last_n": 1,
"pruning": True,
}

def __init__(self, config_root=_config):
Expand All @@ -284,7 +285,7 @@ def probe(self, generator) -> List[garak.attempt.Attempt]:
attack_model_config=self.attack_model_config,
attack_max_attempts=self.attack_max_attempts,
evaluator_model_type=self.evaluator_model_type,
evaluator_model=self.evaluator_model_name,
evaluator_model_name=self.evaluator_model_name,
evaluator_model_config=self.evaluator_model_config,
branching_factor=self.branching_factor,
width=self.width,
Expand Down

0 comments on commit 3f004ac

Please sign in to comment.