Transformers-Tutorials icon indicating copy to clipboard operation
Transformers-Tutorials copied to clipboard

how LayoutLM aggregating words as semantic entities

Open kalelsun opened this issue 1 year ago • 1 comments

I have learned how to use LayoutLM for word-level classification. However, I am unsure how to aggregate words to form an entity. Can someone please provide guidance or resources on this matter

kalelsun avatar Jun 07 '23 08:06 kalelsun

one idea is to aggregate them by a rule-base algorithm,e.g. you can merge the B-question, I-question and e-question if they are close in position and by correct sequence. It should be quite easy and accurate doing so.

yang0369 avatar Jun 08 '23 01:06 yang0369