-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdatasets.sh
112 lines (109 loc) · 2.29 KB
/
datasets.sh
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#!/bin/sh
#SBATCH --time=01:00:00
#SBATCH --mem=16G
#SBATCH -J job
#SBATCH -o ./out/%j-0.out
#SBATCH -e ./err/%j-0.out
#SBATCH -a 0-21%5
module load python/3.7.4 cuda/11.7.1 gcc/10.2
source predicting-venv/bin/activate
if [ "$SLURM_ARRAY_TASK_ID" -eq 0 ];
then
python sva.py --template base --weak lexical
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 1 ];
then
python sva.py --template base --weak agreement
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 2 ];
then
python sva.py --template base --weak plural
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 3 ];
then
python sva.py --template hard --weak lexical
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 4 ];
then
python sva.py --template hard --weak agreement
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 5 ];
then
python sva.py --template hard --weak plural
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 6 ];
then
python sva.py --template hard --weak length
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 7 ];
then
python npi.py --weak lexical
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 8 ];
then
python npi.py --weak plural
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 9 ];
then
python npi.py --weak tense
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 10 ];
then
python npi.py --weak length
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 11 ];
then
python toy.py --true_property 1
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 12 ];
then
python toy.py --true_property 2
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 13 ];
then
python toy.py --true_property 3
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 14 ];
then
python toy.py --true_property 4
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 15 ];
then
python toy.py --true_property 5
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 16 ];
then
python gap.py --template base --weak length
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 17 ];
then
python gap.py --template base --weak lexical
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 18 ];
then
python gap.py --template base --weak plural
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 19 ];
then
python gap.py --template base --weak tense
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 20 ];
then
python gap.py --template hard --weak none
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 21 ];
then
python gap.py --template hard --weak length
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 22 ];
then
python gap.py --template hard --weak lexical
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 23 ];
then
python gap.py --template hard --weak plural
fi
if [ "$SLURM_ARRAY_TASK_ID" -eq 24 ];
then
python gap.py --template hard --weak tense
fi