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
as noted in flairNLP/flair#3382, some (or all?) models depend on deprecated embeddings and cannot be loaded in newer versions.
The issue is not only that it was trained on an older flair version, but also that it used the pytorch_transformers library that was deprecated in favour of the transformers library.
I tried to use some engineering tricks, to map the pytorch_transformers classes to the transformers objects, however I then ended up having a mismatch in the vocab size.
I suppose the easiest fix would be to retrain the models and host the new versions on your website.
The text was updated successfully, but these errors were encountered:
Hello @redewiedergabe
as noted in flairNLP/flair#3382, some (or all?) models depend on deprecated embeddings and cannot be loaded in newer versions.
The issue is not only that it was trained on an older flair version, but also that it used the
pytorch_transformers
library that was deprecated in favour of thetransformers
library.I tried to use some engineering tricks, to map the pytorch_transformers classes to the transformers objects, however I then ended up having a mismatch in the vocab size.
I suppose the easiest fix would be to retrain the models and host the new versions on your website.
The text was updated successfully, but these errors were encountered: