Spaces:
Running
Running
XufengDuan
commited on
Commit
•
fb7f810
1
Parent(s):
f1a09e2
updated scripts
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def init_space():
|
|
33 |
# sync model_type with open-llm-leaderboard
|
34 |
ui_snapshot_download(repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30)
|
35 |
ui_snapshot_download(repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30)
|
36 |
-
raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH,
|
37 |
|
38 |
finished_eval_queue_df, running_eval_queue_df, pending_eval_queue_df = get_evaluation_queue_df(EVAL_REQUESTS_PATH, utils.EVAL_COLS)
|
39 |
return original_df, finished_eval_queue_df, running_eval_queue_df, pending_eval_queue_df
|
|
|
33 |
# sync model_type with open-llm-leaderboard
|
34 |
ui_snapshot_download(repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30)
|
35 |
ui_snapshot_download(repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30)
|
36 |
+
raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, utils.COLS, utils.BENCHMARK_COLS)
|
37 |
|
38 |
finished_eval_queue_df, running_eval_queue_df, pending_eval_queue_df = get_evaluation_queue_df(EVAL_REQUESTS_PATH, utils.EVAL_COLS)
|
39 |
return original_df, finished_eval_queue_df, running_eval_queue_df, pending_eval_queue_df
|