We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
window = 1
mode = "independent"
eds.ner_crf pipeline needs argument window = 1 to remove CRF instead of the argument mode = "independent"
The mode "independent" is supposed to remove the CRF in the architecture model.
When "mode = independent" assigns window = 1
import edsnlp nlp = edsnlp.blank("eds") nlp.add_pipe( "eds.ner_crf" name="ner", config={ "mode": "independent", "embedding": { "@factory": "eds.transformer", "model": "prajjwal1/bert-tiny", }, }, )
The text was updated successfully, but these errors were encountered:
Hi Adam, it's true that the current options are a bit confusing!
mode = independent
mode = marginal/joint
window = 0
window = n
Everything else is incorrect:
window != 1
window == 1
Looking at it this way, I wonder if we could remove the independent mode and replace it with window=1.
independent
window=1
Sorry, something went wrong.
btw, the bug we were discussing the other day was fixed in #259
Yes I agree, it seems that "independent" mode is not necessary, as we can remove CRF with the window argument (window = 1)
percevalw
No branches or pull requests
eds.ner_crf pipeline needs argument
window = 1
to remove CRF instead of the argumentmode = "independent"
Description
The mode "independent" is supposed to remove the CRF in the architecture model.
Possible solution
When "mode = independent" assigns
window = 1
How to reproduce the bug
Your Environment
The text was updated successfully, but these errors were encountered: