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

Error "A configuraton of type donut cannot be instantiated because not both encoder and decoder sub-configurations are passed" when run inference after finetuned docvqa without pushing to hugging face? #289

Open
phuchm opened this issue Feb 20, 2024 · 0 comments

Comments

@phuchm
Copy link

phuchm commented Feb 20, 2024

After I finetuned docvq following guideline:
Train

I found in "result" folder and there are some files like:
Data

It's same when downloading base model from hugging face, but when I run inference with new model after finetuned, I got an error message like:
Error

Then I compared config.json between base model and new model after finetuned, they are different.
How can I call or load model after finetuned?

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