xeon27
commited on
Commit
·
346f5e5
1
Parent(s):
bbde2b0
Fix bug
Browse files- src/populate.py +2 -2
src/populate.py
CHANGED
@@ -48,8 +48,8 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
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(
|
52 |
-
benchmark_name=TASK_NAME_INVERSE_MAP[col][
|
53 |
)})", axis=1)
|
54 |
|
55 |
return df
|
|
|
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
|