-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_all_indic.sh
executable file
·34 lines (32 loc) · 1.09 KB
/
run_all_indic.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
# 8s_random
# for lang in pa or as; do
# python iterate.py \
# -d ../naamapadam/${lang}_test.tsv \
# -sd ../naamapadam/hi_bn_gu_mr_train.tsv \
# -ssim ../naamapadam/sim/random_allsrc_sim.npy \
# -tr 0 -sr 8 -m gpt-4 \
# -p ner_8s_tsv_adapt -e 100 -y \
# -r new_results/gpt4/indic/8s_random/${lang}
# done
# 8s
for lang in or; do
python iterate.py \
-d ../naamapadam/${lang}_test.tsv \
-sd ../naamapadam/hi_bn_gu_mr_train.tsv \
-ssim ../naamapadam/sim/${lang}_allsrc_sim.npy \
-tr 0 -sr 8 -m gpt-4 \
-p ner_8s_tsv_adapt -e 100 -y \
-r new_results/gpt4/indic/8s/${lang}
done
# 8t
for lang in or; do
python iterate.py \
-d ../naamapadam/${lang}_test.tsv \
-sd ../naamapadam/hi_bn_gu_mr_train.tsv \
-td new_results/gpt4/indic/8s/${lang}/responses.json \
-ssim ../naamapadam/sim/${lang}_allsrc_sim.npy \
-tsim ../naamapadam/sim/${lang}_100_sim.npy \
-tr 8 -sr 0 -m gpt-4 \
-p ner_8s_tsv_adapt -e 100 -y \
-r new_results/gpt4/indic/8t/${lang}
done