linmou / cup Goto Github PK
View Code? Open in Web Editor NEWCode for CUP: Curriculum Learning based Prompt Tuning for Implicit Event Argument Extraction
License: MIT License
Code for CUP: Curriculum Learning based Prompt Tuning for Implicit Event Argument Extraction
License: MIT License
start_token = start_token[0]
IndexError: list index out of range
请问您在复现2020年EMNLP会议论文模型EEQA时,这个问题怎么解决的呀,刚刚看到了您在 原作者下面 的问题提问,所以前来冒昧打扰! 期待您的恢复!
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'
can't find the python file indicated in RAMStest.py in test_WikiEvents.sh
Hello! I am also trying to reproduce the results of your paper, but there is a "No module named 'models.constrained_gen'" problem. Is the part of models missing from the code you uploaded? Can you help me solve this problem, thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.