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
Tried to run the 'example_search_library.py' code but got this error:
RuntimeError: Error(s) in loading state_dict for ChemClipModel:
Unexpected key(s) in state_dict: "smiles_model.smiles_model.embeddings.position_ids", "smiles_model.model.embeddings.position_ids".
size mismatch for smiles_model.smiles_model.embeddings.word_embeddings.weight: copying a param with shape torch.Size([181, 768]) from checkpoint, the shape in current model is torch.Size([30522, 768]).
size mismatch for smiles_model.model.embeddings.word_embeddings.weight: copying a param with shape torch.Size([181, 768]) from checkpoint, the shape in current model is torch.Size([30522, 768]).
I couldn't fix it so I'd like to know what should I change to make it run.
The text was updated successfully, but these errors were encountered:
Tried to run the 'example_search_library.py' code but got this error:
RuntimeError: Error(s) in loading state_dict for ChemClipModel:
Unexpected key(s) in state_dict: "smiles_model.smiles_model.embeddings.position_ids", "smiles_model.model.embeddings.position_ids".
size mismatch for smiles_model.smiles_model.embeddings.word_embeddings.weight: copying a param with shape torch.Size([181, 768]) from checkpoint, the shape in current model is torch.Size([30522, 768]).
size mismatch for smiles_model.model.embeddings.word_embeddings.weight: copying a param with shape torch.Size([181, 768]) from checkpoint, the shape in current model is torch.Size([30522, 768]).
I couldn't fix it so I'd like to know what should I change to make it run.
The text was updated successfully, but these errors were encountered: