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

LayoutLMv2ForRelationExtraction is missing in transformers #18091

Closed
binkjakub opened this issue Jul 11, 2022 · 3 comments
Closed

LayoutLMv2ForRelationExtraction is missing in transformers #18091

binkjakub opened this issue Jul 11, 2022 · 3 comments

Comments

@binkjakub
Copy link

Feature request

Microsoft's unilim repository, which originally implements all LayoutLM models, contains implementation of the model for relation extraction with Biaffine Attention Classifier, namely LayoutLMv2ForRelationExtraction. However, this class wasn't included in transfromers, due to unknown reasons. Therefore, the implementation for relation extraction LayoutLMv2ForRelationExtraction should be included to extend current LayoutLMv2 and LayoutXLM.

Motivation

This repository should implement all tasks included in papers (LayoutLMv2, LayoutXLM) and unilim repository, thus this missing part should be added to transformers. It would enable users to easily reproduce entire paper as well as convenient use of relation extraction in their downstream applications.

Your contribution

If there are no obstacles unknown to me, I could try to move the implementation from unilim to transformers.

@LysandreJik
Copy link
Member

cc @NielsRogge

@sijunhe
Copy link
Contributor

sijunhe commented Jul 12, 2022

+1 to this

@github-actions
Copy link

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

3 participants