Skip to content
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

Prediction shows I-LOC without B-LOC #73

Open
varshachawan opened this issue Nov 5, 2018 · 2 comments
Open

Prediction shows I-LOC without B-LOC #73

varshachawan opened this issue Nov 5, 2018 · 2 comments

Comments

@varshachawan
Copy link

@guillaumegenthial

  1. training Dataset used was In B-I-O format Begin Inside Out format
  2. but for some of the predictions it shows I-LOC without B-LOC
    If I assume correctly, Inside should be always after Begin ... Any thoughts where it is going wrong?
    Is there any way to control this transitions
@nihalnayak
Copy link

I was able to resolve this issue by enabling the use_crf flag.

@guillaumegenthial
Copy link
Owner

@varshachawan , as @iampuntre pointed out, using a CRF should prevent you from such patterns, but because there is no actual mechanisms that strictly enforces it, it's still technically possible that this happens in your predictions. Remember, the model knows nothing about the tagging scheme, it's just trying to predict the right tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants