Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data require #3

Open
WatsonWangZh opened this issue May 11, 2024 · 2 comments
Open

data require #3

WatsonWangZh opened this issue May 11, 2024 · 2 comments

Comments

@WatsonWangZh
Copy link

Thanks for your early reply. But there is still an issue:

1.Traceback (most recent call last): File "train.py", line 252, in train(opt) File "train.py", line 149, in train output = model(words=d['context_idxs'], File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl result = self.forward(*input, **kwargs) File "/hy-tmp/document-level-relation-extraction/DocRE-CLiP/code/models/DRN.py", line 401, in forward if(params["modeltype"]=="test"): KeyError: 'modeltype'

Could you provide the /DOCREDlink/linkpredictiondata dataset? How to split the dataset?

@joker1125
Copy link

Hello, I encountered an issue while reviewing your experiment. I need the linkpredictiondata, but I couldn't find the code that generates this file.

@nanyu999
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants