This is the implementation code of the paper TextHoaxer: Budgeted Hard-Label Adversarial Attacks on Text in AAAI 2022.
- Fork the repository https://github.com/RishabhMaheshwary/hard-label-attack and follow its instruction for preparing the data, victim models, environment and so on
- Place the files of this repository in the previous directory
- Follow the commands and make necessary modifications to run the TextHoaxer attack
We thank the authors of the GitHub repository https://github.com/RishabhMaheshwary/hard-label-attack for sharing their code.