This directory contains codes for subevent relation extraction experiments.
- MAVEN-ERE
- Released in this repo.
- HiEve
- Retrieved from this link. We also share a preprocessed copy in
/data
.
- Retrieved from this link. We also share a preprocessed copy in
- On MAVEN-ERE, for the
n
events in each document, we consider each pair of events (altogethern*(n-1)
pairs) and classify them. - On the other datasets, for the
n
events in each document, we consider each pair of events with restriction e1 appears before e2 (altogethern*(n-1)/2
pairs) and classify them. - Our implementations refer to this repo.
data.py
anddata_other.py
handle data processing and loading part for MAVEN-ERE and other datasetsmain.py
is the main access to run on MAVEN-EREmain_other.py
is the main access to run on the other datasets
- Running on MAVEN-ERE
python -u main.py --epochs 20 --eval_steps 100 --log_steps 50
- Running on HiEve
python -u main_other.py \ --dataname hievents \ --epochs 5000 --eval_steps 500 --log_steps 500 --batch_size 16