OpenAttack icon indicating copy to clipboard operation
OpenAttack copied to clipboard

generate adversarial samples API needed

Open Opdoop opened this issue 3 years ago • 0 comments

After updating, attack_evals.DefaultAttackEval no longer exist. The test below is broken. https://github.com/thunlp/OpenAttack/blob/bfedfa74f37c69db6d7092d9cc61822ee324919d/slow_tests/test_multi_process.py#L32 Because we don't have DefaultAttackEval anymore, it seems like we don't have a function to generate adversarial examples. The TODO below implementation is now emergent. https://github.com/thunlp/OpenAttack/blob/bfedfa74f37c69db6d7092d9cc61822ee324919d/OpenAttack/attack_eval/attack_eval.py#L257

Opdoop avatar Oct 18 '21 03:10 Opdoop