-
Notifications
You must be signed in to change notification settings - Fork 2
/
eval_t5_base.sh
46 lines (41 loc) · 1.48 KB
/
eval_t5_base.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
export CUDA_VISIBLE_DEVICES=0,1
DATASET="mtop"
for LANG in en es fr de hi th
do
python run_parsing.py \
--model_name_or_path WillHeld/t5-base-vanilla-$DATASET \
--do_predict \
--lang $LANG \
--output_dir /data/wheld3/mt5-base-$DATASET/eval-$LANG \
--per_device_eval_batch_size=32 \
--dataset_name $DATASET \
--predict_with_generate
done
python run_parsing.py \
--model_name_or_path WillHeld/t5-base-vanilla-top_v2\
--do_predict \
--output_dir /data/wheld3/mt5-base-top_v2/eval-hinglish \
--per_device_eval_batch_size=32 \
--dataset_name hinglish_top \
--predict_with_generate
python run_parsing.py \
--model_name_or_path WillHeld/t5-base-vanilla-top_v2\
--do_predict \
--output_dir /data/wheld3/mt5-base-top_v2/eval-en \
--per_device_eval_batch_size=32 \
--dataset_name top_v2 \
--predict_with_generate
python run_parsing.py \
--model_name_or_path WillHeld/t5-base-vanilla-cstop_artificial\
--do_predict \
--output_dir /data/wheld3/mt5-base-cstop_artificial/eval-spanglish \
--per_device_eval_batch_size=32 \
--dataset_name cstop \
--predict_with_generate
python run_parsing.py \
--model_name_or_path WillHeld/t5-base-vanilla-cstop_artificial\
--do_predict \
--output_dir /data/wheld3/mt5-base-cstop_artificial/eval-en \
--per_device_eval_batch_size=32 \
--dataset_name cstop_artificial \
--predict_with_generate