Skip to content

Add --ner-label-index option to validate#9

Merged
ConstantineLignos merged 5 commits into
devfrom
ner-label-index
Jun 3, 2026
Merged

Add --ner-label-index option to validate#9
ConstantineLignos merged 5 commits into
devfrom
ner-label-index

Conversation

@claire-yq
Copy link
Copy Markdown
Collaborator

Modifies the validate method by adding an optional --ner-label-index flag, which specifies the column for the NER label. The default value is -1.

Copy link
Copy Markdown
Member

@ConstantineLignos ConstantineLignos left a comment

Choose a reason for hiding this comment

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

Some quick comments to look at before we meet tomorrow. Can you check what is causing the test failures as well?

Comment thread seqscore/conll.py Outdated
Comment thread tests/test_validation_click.py Outdated
@ConstantineLignos
Copy link
Copy Markdown
Member

ConstantineLignos commented Jun 2, 2026

We’ll meet this afternoon, but before then please sort out why tests only pass on some Python versions and make sure to explicitly block the NER label index being zero (that is reserved for the token at the moment, but we’ll revisit).

@ConstantineLignos ConstantineLignos changed the base branch from main to dev June 3, 2026 14:18
@ConstantineLignos ConstantineLignos force-pushed the ner-label-index branch 2 times, most recently from 10aa0e8 to b4b7b78 Compare June 3, 2026 16:09
@ConstantineLignos ConstantineLignos merged commit 0e2050f into dev Jun 3, 2026
5 checks passed
@ConstantineLignos ConstantineLignos deleted the ner-label-index branch June 3, 2026 16: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.

2 participants