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

Predictions are wrong. #36

Open
BakingBrains opened this issue Jun 25, 2022 · 1 comment
Open

Predictions are wrong. #36

BakingBrains opened this issue Jun 25, 2022 · 1 comment

Comments

@BakingBrains
Copy link

I am training docformer, 6 epochs completed. The predictions are not good.
Can you please tell what is minimum number of epochs required to get better prediction on document classification?

Also, in hugging face demo, why the id2label is in this sequence?

id2label = ['scientific_report',
            'resume',
            'memo',
            'file_folder',
            'specification',
            'news_article',
            'letter',
            'form',
            'budget',
            'handwritten',
            'email',
            'invoice',
            'presentation',
            'scientific_publication',
            'questionnaire',
            'advertisement']
@uakarsh
Copy link
Collaborator

uakarsh commented Aug 24, 2022

Hi there,

For Q1. I am really not sure, how many epochs would be required to get a good result since I have not experimented with it. But as soon as I something related to it, I would immediately get back to you.
Q2. The id2label is in that specific order because while I was training the model on the Kaggle platform, this was the exact order for label encoding, i.e the 0th class was 'scientific_report' and so on.

Regards,
Akarsh

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