-
Notifications
You must be signed in to change notification settings - Fork 5
/
local_run.sh
executable file
·34 lines (25 loc) · 1.03 KB
/
local_run.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
#!/bin/bash
# Move to the KGQAn directory
cd KGQAn
# Download the required model and files
#./data_download.sh local
# Run the five benchmarks
output_path="evaluation/output1"
mkdir -p "$output_path"
python -m evaluation.qald9_eval
ruby evaluation/evaluation.rb evaluation/output/qald.json QALD
python -m evaluation.lcquad_eval
ruby evaluation/evaluation.rb evaluation/output/lcquad.json LCQUAD
python -m evaluation.yago_eval
ruby evaluation/evaluation.rb evaluation/output/yago.json YAGO
python -m evaluation.dblp_eval
ruby evaluation/evaluation.rb evaluation/output/dblp.json DBLP
python -m evaluation.mag_eval
ruby evaluation/evaluation.rb evaluation/output/mag.json MAG
python evaluation/merge_files.py
python -m evaluation.qald9_eval --filter False
ruby evaluation/evaluation.rb evaluation/output/qald.json QALD-NO-Filtration
python -m evaluation.lcquad_eval --filter False
ruby evaluation/evaluation.rb evaluation/output/lcquad.json LCQUAD-NO-Filtration
python -m evaluation.filtering_ques
python evaluation/calculate_score_linking.py