Home

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

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.