xeon27
commited on
Commit
·
cdca101
1
Parent(s):
36244aa
Remove links to col names due to issues
Browse files- src/populate.py +2 -2
src/populate.py
CHANGED
@@ -46,8 +46,8 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
46 |
for col in benchmark_cols:
|
47 |
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)
|
48 |
|
49 |
-
# make task names clickable and link to inspect-evals repository
|
50 |
-
df = df.rename(columns={col: f"[{col}]({TASK_NAME_INVERSE_MAP[col]['source']})" for col in benchmark_cols})
|
51 |
|
52 |
return df
|
53 |
|
|
|
46 |
for col in benchmark_cols:
|
47 |
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)
|
48 |
|
49 |
+
# # make task names clickable and link to inspect-evals repository - this creates issues later
|
50 |
+
# df = df.rename(columns={col: f"[{col}]({TASK_NAME_INVERSE_MAP[col]['source']})" for col in benchmark_cols})
|
51 |
|
52 |
return df
|
53 |
|