add more data processing codes
This commit is contained in:
10
scripts/nq_hotpotqa/data_process.sh
Normal file
10
scripts/nq_hotpotqa/data_process.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
WORK_DIR=your/work/dir
|
||||
LOCAL_DIR=$WORK_DIR/data/nq_hotpotqa_train
|
||||
|
||||
## process multiple dataset search format train file
|
||||
DATA=nq,hotpotqa
|
||||
python $WORK_DIR/scripts/data_process/qa_search_train_merge.py --local_dir $LOCAL_DIR --data_sources $DATA
|
||||
|
||||
## process multiple dataset search format test file
|
||||
DATA=nq,triviaqa,popqa,hotpotqa,2wikimultihopqa,musique,bamboogle
|
||||
python $WORK_DIR/scripts/data_process/qa_search_test_merge.py --local_dir $LOCAL_DIR --data_sources $DATA
|
||||
Reference in New Issue
Block a user