Hi guys! I’m using Layoulmv3 to extract information from the invoice. There is one thing I’m confused about:
When using Layoutlmv3 for the token classification task, I got the output like this:
(The red boxes and green boxes indicate the objects with the same class). I have a question: Are there any models to detect the relationship between 1 pair (1 green and 1 red)? For example:
These 2 boxes horizontally belong to 1 item.
Thank you so much!
Thank you, @nielsr
For the Relation extraction task, the number of relations is predefined and has a fixed value. In the above image, there are 2 items in total so I understand that I can get 2 “relations” but for another case, I can get 3 “relations” (3 items), and seems like with this approach, you must detect lots of relations. Do you have any recommendations for this case?