Spaces:
Runtime error
Runtime error
pminervini
commited on
Commit
•
caf88bb
1
Parent(s):
a8ede2f
update
Browse files- app.py +1 -1
- src/envs.py +5 -5
app.py
CHANGED
@@ -55,7 +55,7 @@ except Exception:
|
|
55 |
|
56 |
|
57 |
raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
58 |
-
update_collections(original_df.copy())
|
59 |
leaderboard_df = original_df.copy()
|
60 |
|
61 |
plot_df = create_plot_df(create_scores_df(raw_data))
|
|
|
55 |
|
56 |
|
57 |
raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
58 |
+
# update_collections(original_df.copy())
|
59 |
leaderboard_df = original_df.copy()
|
60 |
|
61 |
plot_df = create_plot_df(create_scores_df(raw_data))
|
src/envs.py
CHANGED
@@ -6,11 +6,11 @@ from huggingface_hub import HfApi
|
|
6 |
H4_TOKEN = os.environ.get("H4_TOKEN", None)
|
7 |
|
8 |
REPO_ID = "HuggingFaceH4/open_llm_leaderboard"
|
9 |
-
QUEUE_REPO = "
|
10 |
-
RESULTS_REPO = "
|
11 |
|
12 |
-
PRIVATE_QUEUE_REPO = "
|
13 |
-
PRIVATE_RESULTS_REPO = "
|
14 |
|
15 |
IS_PUBLIC = bool(os.environ.get("IS_PUBLIC", True))
|
16 |
|
@@ -22,7 +22,7 @@ EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-results")
|
|
22 |
EVAL_REQUESTS_PATH_PRIVATE = "eval-queue-private"
|
23 |
EVAL_RESULTS_PATH_PRIVATE = "eval-results-private"
|
24 |
|
25 |
-
PATH_TO_COLLECTION = "
|
26 |
|
27 |
# Rate limit variables
|
28 |
RATE_LIMIT_PERIOD = 7
|
|
|
6 |
H4_TOKEN = os.environ.get("H4_TOKEN", None)
|
7 |
|
8 |
REPO_ID = "HuggingFaceH4/open_llm_leaderboard"
|
9 |
+
QUEUE_REPO = "hallucinations-leaderboard/requests"
|
10 |
+
RESULTS_REPO = "hallucinations-leaderboard/results"
|
11 |
|
12 |
+
PRIVATE_QUEUE_REPO = "hallucinations-leaderboard/private-requests"
|
13 |
+
PRIVATE_RESULTS_REPO = "hallucinations-leaderboard/private-results"
|
14 |
|
15 |
IS_PUBLIC = bool(os.environ.get("IS_PUBLIC", True))
|
16 |
|
|
|
22 |
EVAL_REQUESTS_PATH_PRIVATE = "eval-queue-private"
|
23 |
EVAL_RESULTS_PATH_PRIVATE = "eval-results-private"
|
24 |
|
25 |
+
PATH_TO_COLLECTION = "hallucinations-leaderboard/llm-leaderboard-best-models-652d6c7965a4619fb5c27a03"
|
26 |
|
27 |
# Rate limit variables
|
28 |
RATE_LIMIT_PERIOD = 7
|