forked from umanlp/XWEAT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
glove_en_cc.sh
22 lines (22 loc) · 889 Bytes
/
glove_en_cc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
#for similarity_type in "cosine" "csls" ; do
for similarity_type in "cosine" "euclidean" ; do
for test_number in 6 7 8 9 10 1 2 3 4 5 ; do
for language in "en" ; do
echo $language
echo $similarity_type
echo $test_number
python weat.py \
--test_number $test_number \
--permutation_number 1000000 \
--output_file ./results/glove_cc_${language}_${similarity_type}_${test_number}_cased.res \
--lower False \
--use_glove False \
--is_vec_format True \
--lang $language \
--embeddings \
~/glove.840B.300d.txt \
--similarity_type $similarity_type |& tee ./results/glove_cc_${language}_${similarity_type}_${test_number}_cased.out
done
done
done