mathemakitten commited on
Commit
220f6b8
·
1 Parent(s): 4b0c5f1
Files changed (1) hide show
  1. glue-suite-v2.py +2 -1
glue-suite-v2.py CHANGED
@@ -8,10 +8,10 @@ class Suite(evaluate.EvaluationSuite):
8
  super().__init__(name)
9
 
10
  def setup(self):
11
- self.task_type = "text-classification"
12
  self.preprocessor = None #lambda x: x["text"].lower()
13
  self.suite = [
14
  SubTask(
 
15
  data="imdb",
16
  split="test[:10]",
17
  data_preprocessor=lambda x: x["text"].lower(),#self.preprocessor,
@@ -26,6 +26,7 @@ class Suite(evaluate.EvaluationSuite):
26
  }
27
  ),
28
  SubTask(
 
29
  data="sst2",
30
  split="test[:10]",
31
  data_preprocessor=self.preprocessor,
 
8
  super().__init__(name)
9
 
10
  def setup(self):
 
11
  self.preprocessor = None #lambda x: x["text"].lower()
12
  self.suite = [
13
  SubTask(
14
+ task_type = "text-classification",
15
  data="imdb",
16
  split="test[:10]",
17
  data_preprocessor=lambda x: x["text"].lower(),#self.preprocessor,
 
26
  }
27
  ),
28
  SubTask(
29
+ task_type="text-classification",
30
  data="sst2",
31
  split="test[:10]",
32
  data_preprocessor=self.preprocessor,