Open alanakbik opened 1 year ago
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: FileNotFoundError: [Errno 2] No such file or directory: 'ner'
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":
FileNotFoundError: [Errno 2] No such file or directory: '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 linker
model, but this was due to a corrupted download. I fixed this going to ~/.flair/models
and deleting the relevant files, for linker this was the linker
folder and the corrupted zelda dataset
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: