Controllable-Invariance

Code for the paper: Controllable Invariance through Adversarial Feature Learning. Qizhe Xie, Zihang Dai, Yulun Du, Eduard Hovy and Graham Neubig. NIPS 2017

Requirement:

  • Python 2.7
  • Pytorch 0.1.11

Steps:

  • conda install pytorch=0.1.11 cuda80 -c soumith
  • tar xzvf data.tar.gz
  • cd MT
  • mkdir obj
  • cd src
  • bash train.sh