You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you try installing transformers==4.41.2? There is a bug in newer versions that breaks fine-tuned IDEFICS 2 models, see huggingface/transformers#33763.
shape mismatch: value tensor of shape [128, 4096] cannot be broadcast to indexing result of shape [0, 4096]
How to solve it?
The text was updated successfully, but these errors were encountered: