mathemakitten commited on
Commit
5be8698
·
1 Parent(s): 26431f6
Files changed (1) hide show
  1. evaluation-suite-ci.py +4 -10
evaluation-suite-ci.py CHANGED
@@ -16,12 +16,9 @@ class Suite(evaluate.EvaluationSuite):
16
  data_preprocessor=self.preprocessor,
17
  args_for_task={
18
  "metric": "accuracy",
19
- "input_column": "text",
20
  "label_column": "label",
21
- "label_mapping": {
22
- "LABEL_0": 0.0,
23
- "LABEL_1": 1.0
24
- }
25
  }
26
  ),
27
  SubTask(
@@ -31,12 +28,9 @@ class Suite(evaluate.EvaluationSuite):
31
  data_preprocessor=None,
32
  args_for_task={
33
  "metric": "accuracy",
34
- "input_column": "text",
35
  "label_column": "label",
36
- "label_mapping": {
37
- "LABEL_0": 0.0,
38
- "LABEL_1": 1.0
39
- }
40
  }
41
  )
42
  ]
 
16
  data_preprocessor=self.preprocessor,
17
  args_for_task={
18
  "metric": "accuracy",
19
+ "input_column": "sentence",
20
  "label_column": "label",
21
+ "label_mapping": {"negative": 0, "positive": 1}
 
 
 
22
  }
23
  ),
24
  SubTask(
 
28
  data_preprocessor=None,
29
  args_for_task={
30
  "metric": "accuracy",
31
+ "input_column": "sentence",
32
  "label_column": "label",
33
+ "label_mapping": {"negative": 0, "positive": 1}
 
 
 
34
  }
35
  )
36
  ]