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

Support for NoisyNER dataset #3463

Merged
merged 20 commits into from
Jul 16, 2024
Merged

Support for NoisyNER dataset #3463

merged 20 commits into from
Jul 16, 2024

Conversation

teresaloeffelhardt
Copy link
Collaborator

Hi,

This PR adds support for the NoisyNER dataset as proposed in this paper and released in this repo:

NoisyNER is a dataset for the evaluation of methods to handle noisy labels when training machine learning models. It is from the NLP/Information Extraction domain and was created through a realistic distant supervision technique. Some highlights and interesting aspects of the data are:

  • Seven sets of labels with differing noise patterns to evaluate different noise levels on the same instances
  • Full parallel clean labels available to compute upper performance bounds or study scenarios where a small amount of gold-standard data can be leveraged
  • Skewed label distribution (typical for Named Entity Recognition tasks)
  • For some label sets: noise level higher than the true label probability
  • Sequential dependencies between the labels

@teresaloeffelhardt teresaloeffelhardt marked this pull request as ready for review June 6, 2024 11:10
flair/datasets/sequence_labeling.py Outdated Show resolved Hide resolved
flair/datasets/sequence_labeling.py Outdated Show resolved Hide resolved
flair/datasets/sequence_labeling.py Outdated Show resolved Hide resolved
) -> None:
"""Initialize the NoisyNER corpus.

:param version: Chooses the labelset for the data.
Copy link
Collaborator

Choose a reason for hiding this comment

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

please use the google docstring format as described in our docs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hi. I have made all the requested changes. Is the description in the correct format now?

@alanakbik alanakbik merged commit 4b89763 into master Jul 16, 2024
1 check passed
@alanakbik
Copy link
Collaborator

@teresaloeffelhardt thanks a lot for adding this!

@alanakbik alanakbik deleted the low-resource-noisy-NER branch July 16, 2024 06:14
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.

None yet

4 participants