Skip to content

Commit

Permalink
critical fix for score_muc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aethor committed Mar 19, 2024
1 parent 7adb5eb commit 07891ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tibert"
version = "0.3.0"
version = "0.3.1"
description = "BERT for Coreference Resolution"
authors = ["Arthur Amalvy <arthur.amalvy@univ-avignon.fr>"]
license = "GPL-3.0-only"
Expand Down
2 changes: 1 addition & 1 deletion tibert/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def score_muc(
np.int = int # type: ignore
np.bool = bool # type: ignore

precisions, recalls, f1s = []
precisions, recalls, f1s = [], [], []
for pred, ref in zip(preds, refs):
p, r, f1 = _neleval_precision_recall_f1(pred, ref, muc)
precisions.append(p)
Expand Down

0 comments on commit 07891ac

Please sign in to comment.