Here is the code for "Explicit Role Interaction Network for Event Argument Extraction".
1.Split datasets and preprocess data from ACE2005 preprocessing
2.Process the data into the format in ./data/ace/example.json. I add the flag id to indicate whether this event type is accurately classified in the upstream task
In this paper, we employ a pre-trained BERT model and stack a softmax layer.
Replace the golden start and end index of triggers with ED predicted results in both files dev.json and test.json.
python train.py