djstrong commited on
Commit
de1d88f
β€’
1 Parent(s): bd5b131
Files changed (3) hide show
  1. app.py +3 -0
  2. src/about.py +2 -0
  3. src/display/formatting.py +2 -0
app.py CHANGED
@@ -64,6 +64,9 @@ with demo:
64
  leaderboard_df = leaderboard_df.sort_values(by=["Benchmark Score", "Num Questions Parseable"],
65
  ascending=[False, False])
66
 
 
 
 
67
  leaderboard_df_styled = leaderboard_df.style.background_gradient(cmap="RdYlGn")
68
  rounding = {}
69
  # for col in ["Benchmark Score", "Num Questions Parseable"]:
 
64
  leaderboard_df = leaderboard_df.sort_values(by=["Benchmark Score", "Num Questions Parseable"],
65
  ascending=[False, False])
66
 
67
+ #rename column
68
+ leaderboard_df = leaderboard_df.rename(columns={"Model Path": "Model"})
69
+
70
  leaderboard_df_styled = leaderboard_df.style.background_gradient(cmap="RdYlGn")
71
  rounding = {}
72
  # for col in ["Benchmark Score", "Num Questions Parseable"]:
src/about.py CHANGED
@@ -11,6 +11,8 @@ TITLE = """<div style="display: flex; flex-wrap: wrap; justify-content: space-ar
11
  INTRODUCTION_TEXT = """
12
  Polish Emotional Intelligence Benchmark for LLMs
13
 
 
 
14
  We gratefully acknowledge Polish high-performance computing infrastructure PLGrid (HPC Centers: ACK Cyfronet AGH) for providing computer facilities and support within computational grant no. PLG/2024/016951.
15
  """
16
 
 
11
  INTRODUCTION_TEXT = """
12
  Polish Emotional Intelligence Benchmark for LLMs
13
 
14
+ Help us develop Polish Large Language Model Bielik by using [Arena](https://arena.speakleash.org.pl/).
15
+
16
  We gratefully acknowledge Polish high-performance computing infrastructure PLGrid (HPC Centers: ACK Cyfronet AGH) for providing computer facilities and support within computational grant no. PLG/2024/016951.
17
  """
18
 
src/display/formatting.py CHANGED
@@ -3,6 +3,8 @@ def model_hyperlink(link, model_name):
3
 
4
 
5
  def make_clickable_model(model_name):
 
 
6
  link = f"https://huggingface.co/{model_name}"
7
  return model_hyperlink(link, model_name)
8
 
 
3
 
4
 
5
  def make_clickable_model(model_name):
6
+ if model_name.count("/") != 1:
7
+ return model_name
8
  link = f"https://huggingface.co/{model_name}"
9
  return model_hyperlink(link, model_name)
10