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

Can you get Q/A links from LayoutLM #14330

Closed
gregg-ADP opened this issue Nov 8, 2021 · 3 comments
Closed

Can you get Q/A links from LayoutLM #14330

gregg-ADP opened this issue Nov 8, 2021 · 3 comments

Comments

@gregg-ADP
Copy link

We are fine tuning the LayoutLM model from microsoft and we can’t see where you can get the links from the inference output. We get the list of labels for each word (if it is a question, answer, title) but we don’t get the links from the question to the answer.
Can someone tell us where to find that?

I think @NielsRogge is an expert on this?

@NielsRogge
Copy link
Contributor

NielsRogge commented Nov 8, 2021

Hi,

This is a question that is asked a lot. The LayoutXLM authors have implemented a LayoutLMv2ForRelationExtraction, of which an example script can be found here.

@gregg-ADP
Copy link
Author

Thanks so much for the quick response @NielsRogge. That does look like it will help with what we are looking for.
Right now we are fixing dependency and other issues to get it running. We will share what we learned so that the next person won't have to go through the fixes.

Thanks again!

@github-actions
Copy link

github-actions bot commented Dec 9, 2021

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

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

2 participants