/ASCC

Primary LanguagePythonMIT LicenseMIT

ASCC

Pytorch implementation of ICLR 2021 spotlight paper, "Towards Robustness Against Natural Language Word Substitutions"(https://openreview.net/forum?id=ks5nebunVn_). Our code is partly based on https://github.com/robinjia/certified-word-sub and https://github.com/JHL-HUST/PWWS .

Environment

conda env create --name ascc --file environment.yml

Data

Run

See train_imdb.sh