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

DocFormer for key-value pairs extraction #45

Open
hjerbii opened this issue Oct 28, 2022 · 1 comment
Open

DocFormer for key-value pairs extraction #45

hjerbii opened this issue Oct 28, 2022 · 1 comment

Comments

@hjerbii
Copy link

hjerbii commented Oct 28, 2022

Hello,

Is it possible to train DocFormer on key-value (or Question/Answer) extraction task?
If so, could you please explain the approach?

Thanks!

@uakarsh
Copy link
Collaborator

uakarsh commented Oct 29, 2022

Since DocFormer is an encoder, I think you can surely use it for your question answering task. You need to add a code for encoding the question and attach a prediction head for the same.

I think this link can help you with it, since conceptually there are a lot of similarity between them https://github.com/uakarsh/latr

Hope this helps

Regards,
Akarsh

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