Adam Jirkovsky commited on
Commit
f7e666c
·
1 Parent(s): 0d48f0c

Rename model link column

Browse files
Files changed (3) hide show
  1. app.py +1 -0
  2. src/display/utils.py +1 -1
  3. src/populate.py +1 -1
app.py CHANGED
@@ -338,6 +338,7 @@ with demo:
338
  image, text = generate_captcha()
339
  captcha_img = gr.Image(
340
  image,
 
341
  #container=False,
342
  show_download_button=False,
343
  show_fullscreen_button=False,
 
338
  image, text = generate_captcha()
339
  captcha_img = gr.Image(
340
  image,
341
+ label="Prove your humanity",
342
  #container=False,
343
  show_download_button=False,
344
  show_fullscreen_button=False,
src/display/utils.py CHANGED
@@ -75,7 +75,7 @@ AutoEvalColumn = make_dataclass("AutoEvalColumn", auto_eval_column_dict, frozen=
75
  HEADER_MAP = {
76
  "eval_name": "Model",
77
  "precision": "Precision",
78
- "hf_model_id": "Model link (temporary)",
79
  "agree_cs": "AGREE",
80
  "anli_cs": "ANLI",
81
  "arc_challenge_cs": "ARC-Challenge",
 
75
  HEADER_MAP = {
76
  "eval_name": "Model",
77
  "precision": "Precision",
78
+ "hf_model_id": "Model URL",
79
  "agree_cs": "AGREE",
80
  "anli_cs": "ANLI",
81
  "arc_challenge_cs": "ARC-Challenge",
src/populate.py CHANGED
@@ -19,7 +19,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
19
  df.replace(r'\s+', np.nan, regex=True)
20
  # filter out if any of the benchmarks have not been produced
21
  df = df[has_no_nan_values(df, benchmark_cols)]
22
- df['Model'] = df.apply(lambda row: model_hyperlink(row['Model link (temporary)'], row['Model']), axis=1)
23
 
24
  return raw_data, df
25
 
 
19
  df.replace(r'\s+', np.nan, regex=True)
20
  # filter out if any of the benchmarks have not been produced
21
  df = df[has_no_nan_values(df, benchmark_cols)]
22
+ df['Model'] = df.apply(lambda row: model_hyperlink(row['Model URL'], row['Model']), axis=1)
23
 
24
  return raw_data, df
25