Home

Awesome

LIT: auto-generator for contrast set

This is the code for out EMNLP 2020 paper: Linguistically-Informed Transformations (LIT): A Method forAutomatically Generating Contrast Sets

Citation

Coming soon

Processed Dataset

Note: This is not complete parallel datasets of the original SNLI and MNLI. There are some sentences missing because the parser sometimes can’t parse the representation. You might need to run your transformation on some missed out data.

Environment setup

conda env create -f environment.yml
conda activate lit

Structure of Repo

transfer: module that contain all functions we mentioned in our paper. Within it, :

post-process: after processing the dataset, you need some cleaning of the parsed dataset to put in the right form.