forked from salesforce/rng-kbqa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
24 lines (19 loc) · 704 Bytes
/
setup.sh
File metadata and controls
24 lines (19 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#Copyright (c) 2021, salesforce.com, inc.
#All rights reserved.
#SPDX-License-Identifier: BSD-3-Clause
#For full license text, see the LICENSE file in the repo root or https://#opensource.org/licenses/BSD-3-Clause
PWD=$(pwd)
echo ${PWD}
setup_dataset () {
DATASET=$1
echo "SETTING UP"${DATASET}
ln -s ${PWD}/framework/components ${PWD}/${DATASET}
ln -s ${PWD}/framework/models ${PWD}/${DATASET}
ln -s ${PWD}/framework/executor ${PWD}/${DATASET}
ln -s ${PWD}/framework/ontology ${PWD}/${DATASET}
ln -s ${PWD}/framework/run_ranker.py ${PWD}/${DATASET}/
ln -s ${PWD}/framework/run_generator.py ${PWD}/${DATASET}/
}
setup_dataset GrailQA
setup_dataset WebQSP