UCDP-AEC

Models and data for the UCDP Abstractive Event analysis Corpus paper
git clone https://esimon.eu/repos/UCDP-AEC.git
Log | Files | Refs | README | LICENSE

process_ucdp.sh (463B)


      1 export UCDP_PATH="./UCDP-AEC"
      2 export OUTPUT_PATH="./processed_data/ucdp_bart"
      3 
      4 mkdir $OUTPUT_PATH
      5 
      6 python preprocessing/process_ucdp.py -i "$UCDP_PATH/train.jsonl" -o $OUTPUT_PATH/train.oneie.json -b facebook/bart-large
      7 python preprocessing/process_ucdp.py -i "$UCDP_PATH/validation.jsonl" -o $OUTPUT_PATH/dev.oneie.json -b facebook/bart-large
      8 python preprocessing/process_ucdp.py -i "$UCDP_PATH/test.jsonl" -o $OUTPUT_PATH/test.oneie.json -b facebook/bart-large