Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docvqa data and its format #10

Open
omeryasar opened this issue May 12, 2023 · 3 comments
Open

Docvqa data and its format #10

omeryasar opened this issue May 12, 2023 · 3 comments

Comments

@omeryasar
Copy link

Hi, Thanks for sharing your valuable work.
I try to finetune dessurt model to my own dataset. Contains receipt like documents. What is the exact supervision that ı need to provide. And Do ı have to give bounding boxes of answers etc... I would be so happy if you share the dataset you used or format of the dataset you used for docqva task.

Thanks in advance

@herobd
Copy link
Owner

herobd commented May 12, 2023

If you just want textual answers/supervision, the MyDataset class should meet your needs: https://github.com/herobd/dessurt#mydataset
It just requires a very simple json annotation format. The only tricky part is picking the task token, which depends on what your doing. "natural_q~" is the one for answering questions like DocVQA

@omeryasar
Copy link
Author

If you just want textual answers/supervision, the MyDataset class should meet your needs: https://github.com/herobd/dessurt#mydataset It just requires a very simple json annotation format. The only tricky part is picking the task token, which depends on what your doing. "natural_q~" is the one for answering questions like DocVQA

Thanks for the answer, so I dont have to locate my questions or answers with bounding boxes in related document ?

@herobd
Copy link
Owner

herobd commented May 18, 2023

Correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants