sunitha98 commited on
Commit
1ead97e
1 Parent(s): 6dbff6c

switch to patronus

Browse files
Files changed (2) hide show
  1. src/display/about.py +9 -9
  2. src/envs.py +1 -1
src/display/about.py CHANGED
@@ -11,15 +11,15 @@ class Task:
11
  # Init: to update with your specific keys
12
  class Tasks(Enum):
13
  # task_key in the json file, metric_key in the json file, name to display in the leaderboard
14
- task0 = Task("task_name1", "metric_name", "First task")
15
- task1 = Task("task_name2", "metric_name", "Second task")
16
-
17
- # task0 = Task("finance_bench", "accuracy", "FinanceBench")
18
- # task1 = Task("legal_confidentiality", "accuracy", "Legal Confidentiality")
19
- # task2 = Task("writing-prompts", "coherence", "Writing Prompts")
20
- # task3 = Task("customer-support", "engagement", "Customer Support Dialogue")
21
- # task4 = Task("toxic-prompts", "toxicity", "Toxic Prompts")
22
- # task5 = Task("enterprise-pii", "accuracy", "Enterprise PII")
23
 
24
 
25
  # Your leaderboard name
 
11
  # Init: to update with your specific keys
12
  class Tasks(Enum):
13
  # task_key in the json file, metric_key in the json file, name to display in the leaderboard
14
+ # task0 = Task("task_name1", "metric_name", "First task")
15
+ # task1 = Task("task_name2", "metric_name", "Second task")
16
+
17
+ task0 = Task("finance_bench", "accuracy", "FinanceBench")
18
+ task1 = Task("legal_confidentiality", "accuracy", "Legal Confidentiality")
19
+ task2 = Task("writing-prompts", "coherence", "Writing Prompts")
20
+ task3 = Task("customer-support", "engagement", "Customer Support Dialogue")
21
+ task4 = Task("toxic-prompts", "toxicity", "Toxic Prompts")
22
+ task5 = Task("enterprise-pii", "accuracy", "Enterprise PII")
23
 
24
 
25
  # Your leaderboard name
src/envs.py CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import HfApi
5
  # clone / pull the lmeh eval data
6
  TOKEN = os.environ.get("TOKEN", None)
7
 
8
- OWNER = "demo-leaderboard"
9
  REPO_ID = f"{OWNER}/leaderboard"
10
  QUEUE_REPO = f"{OWNER}/requests"
11
  RESULTS_REPO = f"{OWNER}/results"
 
5
  # clone / pull the lmeh eval data
6
  TOKEN = os.environ.get("TOKEN", None)
7
 
8
+ OWNER = "PatronusAI"
9
  REPO_ID = f"{OWNER}/leaderboard"
10
  QUEUE_REPO = f"{OWNER}/requests"
11
  RESULTS_REPO = f"{OWNER}/results"