From afd255c0ed14eb183e9f5ab5dff6878e2309d55c Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Thu, 14 Apr 2022 18:42:09 +0900 Subject: [PATCH] Undo multiply by 100 This was mistaken, not sure why my score seemed to be off before. --- spacy/pipeline/coref.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline/coref.py b/spacy/pipeline/coref.py index ab315720f..98d411b0d 100644 --- a/spacy/pipeline/coref.py +++ b/spacy/pipeline/coref.py @@ -631,4 +631,4 @@ class SpanPredictor(TrainablePipe): correct = (starts == pred_starts) * (ends == pred_ends) accuracy = correct.mean() scores.append(float(accuracy)) - return {"span_accuracy": 100 * mean(scores)} + return {"span_accuracy": mean(scores)}