-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading some Flair models causes "FileNotFoundError: [Errno 2] No such file or directory" #3187
Comments
ontonotes as well? Still works for me! |
Ontonotes-large works, but the smaller LSTM-based ones do not seem to work in my setups. |
makes sense, I only used the large one. Thanks again! |
Same here. The first example code for the flair library gives the same error: |
Could you please check de-ner-large? We started getting problems with it as well: FileNotFoundError: [Errno 2] No such file or directory: 'de-ner-large' |
Hi! I'm encountering the same problem for "pos-multi": FileNotFoundError: [Errno 2] No such file or directory: 'pos-multi' |
I am getting the same problem with "linker": |
Same problem with 'chunk'. |
Hello @pazzo83 and @kkarski - I just tested "linker" and "chunk" in a fresh colab install of master branch, and they both work. Unfortunately @TessDejaeghere the pos-multi is an old LSTM-based model that we haven't updated yet for torch-2.0. See issue text above. |
I was having the same issue with flair 0.13.0 when trying to load the |
When using Flair with Torch 2.0, our "oldest" models can no longer be loaded. This is because they serialized LSTM properties that no longer exist in Torch 2.0.
This issue tracks the process of identifying and fixing these models:
The text was updated successfully, but these errors were encountered: