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
The pretrained models do not load properly with allennlp>=1.2.0. The error reported is:
RuntimeError: Error loading state dict for DeCLUTR
Missing keys: []
Unexpected keys: ['_text_field_embedder.token_embedder_tokens.transformer_model.roberta.pooler.dense.weight', '_text_field_embedder.token_embedder_tokens.transformer_model.roberta.pooler.dense.bias']
For now, I will constrain the dependency to be "allennlp>=1.1.0, <1.2.0", but it would be great to find another solution (short of re-training the model).
The text was updated successfully, but these errors were encountered:
The pretrained models do not load properly with
allennlp>=1.2.0
. The error reported is:For now, I will constrain the dependency to be
"allennlp>=1.1.0, <1.2.0"
, but it would be great to find another solution (short of re-training the model).The text was updated successfully, but these errors were encountered: