mathemakitten commited on
Commit
47ba2bd
1 Parent(s): 9e18a44
Files changed (1) hide show
  1. glue-suite-v2.py +1 -1
glue-suite-v2.py CHANGED
@@ -29,7 +29,7 @@ class Suite(evaluate.EvaluationSuite):
29
  task_type="text-classification",
30
  data="sst2",
31
  split="test[:10]",
32
- data_preprocessor=self.preprocessor,
33
  args_for_task={
34
  "metric": "accuracy",
35
  "input_column": "sentence",
 
29
  task_type="text-classification",
30
  data="sst2",
31
  split="test[:10]",
32
+ data_preprocessor=lambda x: {"sentence": x["sentence"].lower()},
33
  args_for_task={
34
  "metric": "accuracy",
35
  "input_column": "sentence",