-
Notifications
You must be signed in to change notification settings - Fork 615
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 following model_kwargs
are not used by the model: ['encoder_hidden_states', 'encoder_attention_mask']
#121
Comments
I am having a similar error, did you ever find a solution? |
@dxli94 could you take a look at this issue? |
Hi @osi1880vr , @oeatekha , This happens between specific versions of HF transformers. For transformers version >=4.15.0,<4.22.0, and >=4.25.0, the issue is not happening. If you have to stick with otherwise versions, please see explanation and fixes as outlined here: huggingface/transformers#19290 (comment) |
Im on transformers 4.25.1 now and the issue is gone, thanks a lot for the help |
I keep getting this error, I migrated from original BLIP to the new REPO here but the error keeps following.
I did remove all existing models so it would download fresh copies to prevent me having wrong models, did not help, I try your example code kinda close to what its in your example but still it failes. Funny thing is it did work weeks ago and now it keeps failing so it might still be an issue with my box but I fail to find it, could you tell which direction I get shoot at?
I try this
The text was updated successfully, but these errors were encountered: