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

chore: strip BIO tag in NEROutput comparison #289

Merged
merged 4 commits into from
Apr 6, 2023

Conversation

JulesBelveze
Copy link
Contributor

@JulesBelveze JulesBelveze commented Apr 5, 2023

This PR aims at stripping the BIO tag in NER predictions (see #119).

Checklist:

  • I've added Google style docstrings to my code.
  • I've used pydantic for typing when/where necessary.
  • I have linted my code
  • I have added tests to cover my changes.

Copy link
Contributor Author

@JulesBelveze JulesBelveze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luca-martial I had to implement my own functions because the transformers.pipeline also aggregates the "O" entities together.

@JulesBelveze JulesBelveze linked an issue Apr 5, 2023 that may be closed by this pull request
@luca-martial
Copy link
Contributor

Thanks, ill check how we can implement this in jsl as well

@luca-martial luca-martial merged commit bc7bd50 into fix/keep-track-of-transformations Apr 6, 2023
@JulesBelveze JulesBelveze deleted the chore/strip-bio-tag branch April 6, 2023 08:05
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

Successfully merging this pull request may close these issues.

clarify inconsistency in model handler predictions
3 participants