ForeverZyh / ASCC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Python 99.8%Language:Shell 0.2%