This is the implementation code of the paper PAT: Geometry-Aware Hard-Label Black-Box Adversarial Attacks on Text.
We thank the authors of the GitHub repository https://github.com/RishabhMaheshwary/hard-label-attack for sharing their code. Data, victim models, and environment installation can be accessed in their repo.