linmou / CUP

Code for CUP: Curriculum Learning based Prompt Tuning for Implicit Event Argument Extraction
MIT License
13 stars 2 forks source link

evt_triggers not found in dataset #3

Open SapaePhyu opened 1 year ago

SapaePhyu commented 1 year ago

Hi, I'm trying to get the results described in your paper, and facing this issue while running the code. But 'evt_triggers' cannot be found in WikiEvents dataset, may I know how can I solve this issue?

82 args are discarded due to the limitation of context len. 461 args in total. Avg doc_len =175.31929824561402 Traceback (most recent call last): File "CUP/train.py", line 626, in curriculum_learnig(args) File "CUP/train.py", line 474, in curriculum_learnig plm, tokenizer, model_config, WrapperClass, template, dataset, train_dataloader, amr_dataloader, validation_dataloader, test_dataloader = setup_all( File "CUP/train.py", line 201, in setup_all dataset['AmrGraph_train'] = AmrGraphProcesser().get_train_examples( File "CUP/openprompt/data_utils/data_processor.py", line 100, in get_train_examples return self.get_examples(data_dir, "train",**kwargs) File "CUP/DataProcessers.py", line 687, in get_examples event_type = instance["evt_triggers"][0][2][0][0] KeyError: 'evt_triggers'

JaneGDTOP commented 9 months ago

Hi, may I know if you have successfully reproduced this paper? I cannot reproduce it recently. Thank you.