How to deal with OSError?

According to the error you are trying to resolve a file from a revision official that does not exist.

Only currently available revision on your model seems to be main ( https://huggingface.co/RustX/donut-base-finetuned-insurance/resolve/main/config.json does resolve successfully).

Next step would either be to change the revision you’re trying to load or publish a new revision of your model with the name official.

1 Like