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
I tried to load the trained model from huggingface using the following lines.
from flair.models import SequenceTagger
tagger = SequenceTagger.load("xiulinyang/deberta_srl")
It worked on Colab, but when I tried to run the model locally on my laptop, it gave me this error message: Exception: data did not match any variant of untagged enum PyPreTokenizerTypeWrapper at line 99 column 3.
I searched the issue online but the solutions like updating tokenizers do not work. Could you please help me? Thanks!
In case the environment information is needed, I list the packages installed in my virtual environment.
Question
Hi,
I tried to load the trained model from huggingface using the following lines.
It worked on Colab, but when I tried to run the model locally on my laptop, it gave me this error message:
Exception: data did not match any variant of untagged enum PyPreTokenizerTypeWrapper at line 99 column 3
.I searched the issue online but the solutions like updating tokenizers do not work. Could you please help me? Thanks!
In case the environment information is needed, I list the packages installed in my virtual environment.
The text was updated successfully, but these errors were encountered: