Download baselines/Search-R1/scripts/nq_hotpotqa/data_process.sh from ryan-superman/selfevo-a100-evacuation: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/ryan-superman/selfevo-a100-evacuation/resolve/main/baselines/Search-R1/scripts/nq_hotpotqa/data_process.sh
- Command line
-
hf download hf://ryan-superman/selfevo-a100-evacuation/baselines/Search-R1/scripts/nq_hotpotqa/data_process.sh
-
curl -L -o data_process.sh https://huggingface.co/ryan-superman/selfevo-a100-evacuation/resolve/main/baselines/Search-R1/scripts/nq_hotpotqa/data_process.sh
469 Bytes
| 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 | |