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

How to get all object super link of $$H_{link}$$ in last-layer hidden states during testing ? #14

Open
zc-zhao opened this issue Nov 19, 2024 · 0 comments

Comments

@zc-zhao
Copy link

zc-zhao commented Nov 19, 2024

I have read issue 11, but still have some questions.
During testing, you utilize the forward function for testing

result = model.forward(**data, return_dict=True)

But as far as I know, the forward function cannot perform the next token generation, resulting in struggling to output answer and [DET] token. Why don't you use the generate function? Is it possible that the inputs ids in your test contain the answer?

When will you make the training and testing datasets and dataloader public?

dataset = eval_dataloader.dataset

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

1 participant