xeon27
commited on
Commit
·
ca19cea
1
Parent(s):
346f5e5
Fix bug
Browse files- src/populate.py +1 -5
src/populate.py
CHANGED
@@ -46,11 +46,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
46 |
|
47 |
# make values clickable and link to log files
|
48 |
for col in benchmark_cols:
|
49 |
-
df[col] = df[[AutoEvalColumn.model.name, col]].apply(lambda x:
|
50 |
-
f"[{x[col]}]({get_inspect_log_url(
|
51 |
-
model_name=x[AutoEvalColumn.model.name].split('>')[1].split('<')[0],
|
52 |
-
benchmark_name=TASK_NAME_INVERSE_MAP[col]['name'],
|
53 |
-
)})", axis=1)
|
54 |
|
55 |
return df
|
56 |
|
|
|
46 |
|
47 |
# make values clickable and link to log files
|
48 |
for col in benchmark_cols:
|
49 |
+
df[col] = df[[AutoEvalColumn.model.name, col]].apply(lambda x: f"[{x[col]}]({get_inspect_log_url(model_name=x[AutoEvalColumn.model.name].split('>')[1].split('<')[0], benchmark_name=TASK_NAME_INVERSE_MAP[col]['name'])})", axis=1)
|
|
|
|
|
|
|
|
|
50 |
|
51 |
return df
|
52 |
|