djstrong commited on
Commit
ea6148c
1 Parent(s): 2a37ba0

change model name

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. src/leaderboard/read_evals.py +3 -0
app.py CHANGED
@@ -58,6 +58,7 @@ except Exception:
58
 
59
  raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
60
  leaderboard_df = original_df.copy()
 
61
 
62
  (
63
  finished_eval_queue_df,
 
58
 
59
  raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
60
  leaderboard_df = original_df.copy()
61
+ leaderboard_df.style.background_gradient(cmap="viridis")
62
 
63
  (
64
  finished_eval_queue_df,
src/leaderboard/read_evals.py CHANGED
@@ -52,6 +52,9 @@ class EvalResult:
52
  if re.match(r"^pretrained=(.*/(plgkwrobel|plggspkl)/)(models/)?", org_and_model):
53
  org_and_model = re.sub(r"^pretrained=(.*/(plgkwrobel|plggspkl)/)(models/)?", SPICHLERZ_ORG, org_and_model)
54
 
 
 
 
55
  org_and_model = re.sub(r"^pretrained=", "", org_and_model)
56
  org_and_model = org_and_model.split("/", 1)
57
 
 
52
  if re.match(r"^pretrained=(.*/(plgkwrobel|plggspkl)/)(models/)?", org_and_model):
53
  org_and_model = re.sub(r"^pretrained=(.*/(plgkwrobel|plggspkl)/)(models/)?", SPICHLERZ_ORG, org_and_model)
54
 
55
+ org_and_model=org_and_model.replace("models/hf_v7_e1", "APT3-1B-Instruct-e1")
56
+ org_and_model=org_and_model.replace("models/hf_v7_e2", "APT3-1B-Instruct-e2")
57
+
58
  org_and_model = re.sub(r"^pretrained=", "", org_and_model)
59
  org_and_model = org_and_model.split("/", 1)
60