unilm icon indicating copy to clipboard operation
unilm copied to clipboard

Inference with LayoutXLM

Open bannima opened this issue 2 years ago • 2 comments

**should the layoutxlm model inference 2 times for key-value extraction? ** Hi there, I 'm using the LayoutXLM model for Document Understanding task in Medical Case Picture. In my situation, I should know the semantic entity recognition and relation extraction results as the same time. My question is the released layoutxlm code are separated for ser and re tasks in a pipeline format. So the layoutxlm should inference 2 times and separately for ser and re? Is there any joint model for two tasks at inference time so that we can put the data to layoutxlm just one time?

bannima avatar Oct 24 '22 03:10 bannima

thanks in advance

bannima avatar Oct 24 '22 03:10 bannima

thanks in advance

Yes, just for two times

githublsk avatar Nov 22 '22 09:11 githublsk