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
First of all, thanks for making this library publicly available!
Description of the bug
When using Flair 0.11 and higher, I noticed that in some documents my spans were not aligned as to how they are represented in the data. Downgrading to Flair 0.10 or lower seemed to fixed that issue.
How to Reproduce
I created an example txt where the issue is prevalent. Using the following example and code snippet should allow you to reproduce the issue.
Why am I listing it as a bug if it's fixable?
I spent over a week debugging this issue. The code runs, the model "seems" to learn, loss decreases but F1 stays 0, the data seems correct. It's very difficult to spot this almost "invisible" issue that I believe others will overlook as well. Moreover, Flair <= 0.10 gracefully resolves this issue (I assume there is a failsafe check somewhere).
If you have any questions, please shoot and I will get back to you quickly.
Kind regards,
Guust
The text was updated successfully, but these errors were encountered:
Unfortunately the machine on which I train the models does not allow me to install from a specific Github branch, only through pip/conda which the proxy manages.
I took a look at your code and saw that you included the example I gave here as a test case, therefore if the code you wrote fixes this case then it should solve my issue as well. Thanks!
Hello,
First of all, thanks for making this library publicly available!
Description of the bug
When using Flair 0.11 and higher, I noticed that in some documents my spans were not aligned as to how they are represented in the data. Downgrading to Flair 0.10 or lower seemed to fixed that issue.
How to Reproduce
I created an example txt where the issue is prevalent. Using the following example and code snippet should allow you to reproduce the issue.
Create some fake ner data:
This creates the following file:
Load in the generated data.
"And" incorrectly received the CITY span, coffee is not listed as an entity.
I assume this is due to the \t being matched as a column seperator.
Expected behavior
Using the exact same code snippet in Flair 0.10 or lower I get the following (which is also what I expect to have).
Environment (please complete the following information):
How I managed to load in my data correctly
This issue is fixable by specifying the column delimiter.
Why am I listing it as a bug if it's fixable?
I spent over a week debugging this issue. The code runs, the model "seems" to learn, loss decreases but F1 stays 0, the data seems correct. It's very difficult to spot this almost "invisible" issue that I believe others will overlook as well. Moreover, Flair <= 0.10 gracefully resolves this issue (I assume there is a failsafe check somewhere).
If you have any questions, please shoot and I will get back to you quickly.
Kind regards,
Guust
The text was updated successfully, but these errors were encountered: