mathemakitten commited on
Commit
37d48a5
1 Parent(s): ac01f17
Files changed (1) hide show
  1. glue-suite-v2.py +3 -3
glue-suite-v2.py CHANGED
@@ -18,16 +18,16 @@ class SubTask:
18
  args_for_task: Optional[dict] = None
19
 
20
 
21
- class EvaluationSuite:
22
 
23
  def _info(self):
24
- super().__init__()
25
  return EvaluationModuleInfo(
26
  description="dummy metric for tests",
27
  citation="insert citation here",
28
  features=Features({"predictions": Value("int64"), "references": Value("int64")}))
29
 
30
  def __init__(self):
 
31
  self.preprocessor = None #lambda x: x["text"].lower()
32
 
33
  self.suite = [
@@ -59,4 +59,4 @@ class EvaluationSuite:
59
  }
60
  }
61
  )
62
- ]
 
18
  args_for_task: Optional[dict] = None
19
 
20
 
21
+ class Suite(EvaluationSuite):
22
 
23
  def _info(self):
 
24
  return EvaluationModuleInfo(
25
  description="dummy metric for tests",
26
  citation="insert citation here",
27
  features=Features({"predictions": Value("int64"), "references": Value("int64")}))
28
 
29
  def __init__(self):
30
+ super().__init__()
31
  self.preprocessor = None #lambda x: x["text"].lower()
32
 
33
  self.suite = [
 
59
  }
60
  }
61
  )
62
+ ]