-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtransport_data.sh
More file actions
executable file
·50 lines (43 loc) · 933 Bytes
/
transport_data.sh
File metadata and controls
executable file
·50 lines (43 loc) · 933 Bytes
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
if [[ $1 -le 0 ]]
then
echo "Invalid setup number: $1. Choose from [1,2,3]."
exit 1
elif [[ $1 -eq "1" ]]
then
if [[ $2 = "bert" ]]
then
#echo "bert"
cp dataset/setup_1/bert/*.tsv data/Inputs/
elif [[ $2 = "prolocal" ]]
then
#echo "prolocal"
cp dataset/setup_1/prolocal/*.tsv data/Inputs/
else
echo "Invalid model '$2' for setup $1. Choose from [bert,prolocal]."
exit 1
fi
elif [[ $1 -eq "2" ]]
then
if [[ $2 = "bert" ]]
then
#echo "bert"
cp dataset/setup_2/bert/*.tsv data/Inputs/
else
echo "Invalid model '$2' for setup $1. Choose from [bert]."
exit 1
fi
elif [[ $1 -eq "3" ]]
then
if [[ $2 = "bert" ]]
then
#echo "bert"
cp dataset/setup_3/bert/*.tsv data/Inputs/
else
echo "Invalid model '$2' for setup $1. Choose from [bert]."
exit 1
fi
else
echo "Invalid setup number $1. Choose from [1,2,3]."
exit 1
fi
echo "[INFO] Data files setup for $2 model for setup $1 complete."