Clémentine commited on
Commit
86a6783
1 Parent(s): 5f62bcb
Files changed (2) hide show
  1. src/about.py +1 -0
  2. src/envs.py +1 -1
src/about.py CHANGED
@@ -14,6 +14,7 @@ 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("anli_r1", "acc", "ANLI")
16
  task1 = Task("logiqa", "acc_norm", "LogiQA")
 
17
 
18
  NUM_FEWSHOT = 0 # Change with your few shot
19
  # ---------------------------------------------------
 
14
  # task_key in the json file, metric_key in the json file, name to display in the leaderboard
15
  task0 = Task("anli_r1", "acc", "ANLI")
16
  task1 = Task("logiqa", "acc_norm", "LogiQA")
17
+ task2 = Task("real_toxicity_prompts", "bias", "Real Toxicity Prompt")
18
 
19
  NUM_FEWSHOT = 0 # Change with your few shot
20
  # ---------------------------------------------------
src/envs.py CHANGED
@@ -4,7 +4,7 @@ from huggingface_hub import HfApi
4
 
5
  # Info to change for your repository
6
  # ----------------------------------
7
- TOKEN = os.environ.get("TOKEN") # A read/write token for your org
8
 
9
  OWNER = "Bias-Leaderboard" # Change to your org - don't forget to create a results and request file
10
  DEVICE = "cpu" # cuda:0 if you add compute
 
4
 
5
  # Info to change for your repository
6
  # ----------------------------------
7
+ TOKEN = os.environ.get("TOKEN") # A read/write user token for a user that has access to your org
8
 
9
  OWNER = "Bias-Leaderboard" # Change to your org - don't forget to create a results and request file
10
  DEVICE = "cpu" # cuda:0 if you add compute