- Install libraries:
pytorch
,fairseq
pip install -r requirements.txt
- Download NL2Bash data and AInix data in
train/data
directory - Setup submodule TellinaTool
./0.setup_submodule.sh
- Convert the file format of AInix
./1.convert_ainix_data.sh
(make a sh file for doing 2, 3, and 4 at once) - Run preprocess
./2.preprocess.sh
- Train template predictor
./3.train_template_predictor.sh
- Train argument predictor
./4.train_argument_predictor.sh