document-ai-transformers icon indicating copy to clipboard operation
document-ai-transformers copied to clipboard

layoutlm output formats

Open koyelseba opened this issue 2 years ago • 1 comments

Hi Sir,

Thanks for sharing your tutorial and notebooks, it's really good. I have tried to Fine-tuning LayoutLM for SROIE dataset. But I not getting the proper output format. I also tried Fine-tuning Donut for SROIE dataset. And I got proper output format. (example {'total': '9.30', 'date': '26/11/2017', 'company': 'SANYU STATIONERY SHOP', 'address': 'NO. 31G&33G, JALAN SETIA INDAH X,U13/X 40170 SETIA ALAM'})

  1. Can you tell me how to get the LayoutLM output like Donut output?

koyelseba avatar Nov 23 '22 04:11 koyelseba

You cannot use LayoutLM for "generative" tasks

philschmid avatar Nov 23 '22 07:11 philschmid