XFUND icon indicating copy to clipboard operation
XFUND copied to clipboard

How to convert FUNSD to XFUN format?

Open yang0369 opened this issue 1 year ago • 0 comments

Dear all, I am trying to train layoutLM Relation extraction model with FUNSD, as the RE model was pre-trained on XFUN, so I need to convert FUNSD to XFUN format, thus I would like to ask if anyone has any idea on how to convert the FUNSD to XFUN? Very much appreciated your help!

Ps: I have tried to build the conversion script, but am a bit confused with the derivation of word level bboxes, in another word, how can we derive the word level bboxes based on FUNSD? (because the texts in FUNSD is entity level instead of word level)

yang0369 avatar May 17 '23 01:05 yang0369