daniel-de-leon commited on
Commit
7aa6f86
·
1 Parent(s): b75744c

test-suite.py

Browse files
Files changed (1) hide show
  1. test-suite.py +14 -0
test-suite.py CHANGED
@@ -23,5 +23,19 @@ class Suite(evaluate.EvaluationSuite):
23
  "IDK": 1.0
24
  }
25
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  )
27
  ]
 
23
  "IDK": 1.0
24
  }
25
  }
26
+ ),
27
+ SubTask(
28
+ task_type="text-classification",
29
+ data="mteb/toxic_conversations_50k",
30
+ split="test[:10]",
31
+ args_for_task={
32
+ "metric": "accuracy",
33
+ "input_column": "text",
34
+ "label_column": "label",
35
+ "label_mapping": {
36
+ "not toxic": 1.0,
37
+ "toxic": 1.0
38
+ }
39
+ }
40
  )
41
  ]