- Get fairseq submodule:
(git submodule init) && (git submodule update)
- Install fairseq:
cd fairseq && pip install --editable .
- Prepare iwslt14.de-en:
./prepare_iwslt14_de_en.sh
- Prepare edit samples: run notebook
generate_edit_datasets_samples.ipynb
Train Editable Transformer: ./train.sh
Evaluate trained model run notebook: evaluate.ipynb