Awesome
HQA-Attack
This is the implementation code of the paper HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text
implementation Instruction
-
follow the instruction of https://github.com/RishabhMaheshwary/hard-label-attack.git in the main directory
-
follow the instruction of https://github.com/dugu9sword/dne.git in the "dne"
-
follow the instruction of https://github.com/lethaiq/shield-defend-adversarial-texts.git in the "sda"
How to Run:
HQAAttack_Text_Classifier.py and HQAAttack_NLI_Classifier.py are our attack files. The corresponding commands are in the <code>commands</code> file.