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

The predicion do not display anything at all when I was training #314

Open
monarchmio opened this issue Sep 26, 2024 · 0 comments
Open

The predicion do not display anything at all when I was training #314

monarchmio opened this issue Sep 26, 2024 · 0 comments

Comments

@monarchmio
Copy link

monarchmio commented Sep 26, 2024

Previously, when I trained on Japanese data, the predictions only displayed or the same character. Then, I downgraded the transformers version to 4.25.1, which resulted in a "NotImplementedError: Make sure _init_weights is implemented for <class 'donut.model.DonutModel'>" error. I resolved this error by modifying the class pretrained model method in the relevant Python file according to the new version. However, now when I train, the predictions do not display anything at all. I'm not sure where the issue lies; do I need to change any settings for my Japanese dataset?

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

1 participant