Path: blob/main/a5/scripts/run_vanilla.sh
1003 views
##! /bin/bash12# Pretrain the model3python src/run.py pretrain vanilla wiki.txt \4--writing_params_path vanilla.pretrain.params56# Finetune the model7python src/run.py finetune vanilla wiki.txt \8--reading_params_path vanilla.pretrain.params \9--writing_params_path vanilla.finetune.params \10--finetune_corpus_path birth_places_train.tsv1112# Evaluate on the dev set; write to disk13python src/run.py evaluate vanilla wiki.txt \14--reading_params_path vanilla.finetune.params \15--eval_corpus_path birth_dev.tsv \16--outputs_path vanilla.pretrain.dev.predictions1718# Evaluate on the test set; write to disk19python src/run.py evaluate vanilla wiki.txt \20--reading_params_path vanilla.finetune.params \21--eval_corpus_path birth_test_inputs.tsv \22--outputs_path vanilla.pretrain.test.predictions232425