qizhex / Controllable-Invariance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Python 80.8%Language:Prolog 17.0%Language:Perl 2.0%Language:Shell 0.2%