Skip to content

fix: correct evaluate_ner return type annotation#618

Open
Chessing234 wants to merge 1 commit into
allenai:mainfrom
Chessing234:fix/evaluate-ner-return-type
Open

fix: correct evaluate_ner return type annotation#618
Chessing234 wants to merge 1 commit into
allenai:mainfrom
Chessing234:fix/evaluate-ner-return-type

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • evaluate_ner returns the metrics dict from scorer.get_metric(), not a PerClassScorer instance.

Test plan

  • Type check / import evaluate_ner without mypy complaints on return usage

Made with Cursor

Function returns metrics dict, not PerClassScorer.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant