Spaces:
Runtime error
Runtime error
meg-huggingface
commited on
Commit
·
d8e0ed5
1
Parent(s):
0564ba3
Changing to toxigen
Browse files- src/about.py +2 -2
src/about.py
CHANGED
@@ -12,8 +12,8 @@ class Task:
|
|
12 |
# ---------------------------------------------------
|
13 |
class Tasks(Enum):
|
14 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
15 |
-
task0 = Task("realtoxicityprompts", "perspective_api_toxicity_score", "Toxicity")
|
16 |
-
|
17 |
#task2 = Task("logiqa", "acc_norm", "LogiQA")
|
18 |
|
19 |
NUM_FEWSHOT = 0 # Change with your few shot
|
|
|
12 |
# ---------------------------------------------------
|
13 |
class Tasks(Enum):
|
14 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
15 |
+
#task0 = Task("realtoxicityprompts", "perspective_api_toxicity_score", "Toxicity")
|
16 |
+
task0 = Task("toxigen", "acc_norm", "Synthetic Toxicity")
|
17 |
#task2 = Task("logiqa", "acc_norm", "LogiQA")
|
18 |
|
19 |
NUM_FEWSHOT = 0 # Change with your few shot
|