Undo multiply by 100

This was mistaken, not sure why my score seemed to be off before.
This commit is contained in:
Paul O'Leary McCann 2022-04-14 18:42:09 +09:00
parent 08729e0fbd
commit afd255c0ed

View File

@ -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)}