export ACE_PATH="../../Dataset/ace_2005_td_v7/data/"
export OUTPUT_PATH="./processed_data/ace05ep_bart"

mkdir $OUTPUT_PATH

python preprocessing/process_ace05ep.py -i $ACE_PATH -o $OUTPUT_PATH -s resource/splits/ACE05-EP -b facebook/bart-large -w 1 -l english

export BASE_PATH="./processed_data/"
export SPLIT_PATH="./resource/low_resource_split/ace05ep"

python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_001 -o $BASE_PATH/ace05ep_bart/train.001.w1.oneie.json
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_002 -o $BASE_PATH/ace05ep_bart/train.002.w1.oneie.json
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_003 -o $BASE_PATH/ace05ep_bart/train.003.w1.oneie.json
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_005 -o $BASE_PATH/ace05ep_bart/train.005.w1.oneie.json
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_010 -o $BASE_PATH/ace05ep_bart/train.010.w1.oneie.json
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_020 -o $BASE_PATH/ace05ep_bart/train.020.w1.oneie.json
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_030 -o $BASE_PATH/ace05ep_bart/train.030.w1.oneie.json
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_050 -o $BASE_PATH/ace05ep_bart/train.050.w1.oneie.json      
python preprocessing/split_dataset.py -i $BASE_PATH/ace05ep_bart/train.w1.oneie.json -s $SPLIT_PATH/doc_list_075 -o $BASE_PATH/ace05ep_bart/train.075.w1.oneie.json
