-
Notifications
You must be signed in to change notification settings - Fork 1
/
predict.sh
29 lines (25 loc) · 1.06 KB
/
predict.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
cd xstance/mbert_baseline
# German predictions
allennlp predict mymodel ../../data/raw/statements_raw_2022_de.jsonl \
--include-package allennlp_xstance \
--predictor xstance_predictor \
--cuda-device 0 \
--output-file ../../data/predictions/statements_pred_2022_de.jsonl
# German predictions
allennlp predict mymodel ../../data/raw/statements_raw_2022_fr.jsonl \
--include-package allennlp_xstance \
--predictor xstance_predictor \
--cuda-device 0 \
--output-file ../../data/predictions/statements_pred_2022_fr.jsonl
# German predictions
allennlp predict mymodel ../../data/raw/statements_raw_2022_it.jsonl \
--include-package allennlp_xstance \
--predictor xstance_predictor \
--cuda-device 0 \
--output-file ../../data/predictions/statements_pred_2022_it.jsonl
# Mulilingual predictions
allennlp predict mymodel ../../data/raw/statements_raw_2022_defrit.jsonl \
--include-package allennlp_xstance \
--predictor xstance_predictor \
--cuda-device 0 \
--output-file ../../data/predictions/statements_pred_2022_defrit.jsonl