nevikw39 commited on
Commit
0f24b18
1 Parent(s): dc76a90

remove wrong typing annotations

Browse files
Files changed (1) hide show
  1. specificity.py +2 -2
specificity.py CHANGED
@@ -114,8 +114,8 @@ class Specificity(evaluate.Metric):
114
 
115
  def _compute(
116
  self,
117
- predictions: datasets.Sequence(datasets.Value("int32")) | datasets.Value("int32"),
118
- references: datasets.Sequence(datasets.Value("int32")) | datasets.Value("int32"),
119
  labels=None,
120
  neg_label=0,
121
  average="binary",
 
114
 
115
  def _compute(
116
  self,
117
+ predictions,
118
+ references,
119
  labels=None,
120
  neg_label=0,
121
  average="binary",