File size: 800 Bytes
7332c68 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
#!/bin/sh
# perturb.sh
# author: Julie Kallini
echo "
-------------------------------------------------------------------------------
Arguments
-------------------------------------------------------------------------------
"
echo "Perturbation type: $1"
echo "Train set: $2"
# Create perturbed dataset for all splits
echo "
-------------------------------------------------------------------------------
Creating perturbed dataset for all splits
-------------------------------------------------------------------------------
"
cd ../data
echo "python3 perturb.py $1 $2"
python3 perturb.py $1 $2
echo "
python3 perturb.py $1 dev"
python3 perturb.py $1 dev
echo "
python3 perturb.py $1 test"
python3 perturb.py $1 test
echo "
python3 perturb.py $1 unittest"
python3 perturb.py $1 unittest
cd .. |