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
From the error, it looks like the keys in the state dict new_model do not match those in the model SeamlessM4TModel. You can check the expected keys in the model by doing model_seam.state_dict().keys().
Note, it's not necessary for you to download and load in a pretrained checkpoint and then load in new weights. You can initialize a new model with the same architecture and empty weights by just downloading the config:
System Info
Python version 3.11
transformers
version: 4.42.3Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
Expected to load the new fintuned model and then save it to a new model file.
The text was updated successfully, but these errors were encountered: