fschlatt commited on
Commit
97af528
1 Parent(s): ef88ddc

compute f1

Browse files
Files changed (1) hide show
  1. ner_eval.py +1 -0
ner_eval.py CHANGED
@@ -397,6 +397,7 @@ def compute_metrics(true_named_entities, pred_named_entities, tags):
397
  "spurious": 0,
398
  "precision": 0,
399
  "recall": 0,
 
400
  }
401
 
402
  # overall results
 
397
  "spurious": 0,
398
  "precision": 0,
399
  "recall": 0,
400
+ "f1": 0,
401
  }
402
 
403
  # overall results