lukehinds commited on
Commit
5403e9d
·
1 Parent(s): dc0acc8

Revert "Unview T"

Browse files

This reverts commit dc0acc8419a894b07275432f5c6940b5ef9c81bf.

Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +1 -1
  3. src/display/utils.py +2 -1
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Secure LLM Leaderboard (work-in-progress)
3
  emoji: 🥇
4
  colorFrom: green
5
  colorTo: indigo
 
1
  ---
2
+ title: Secure Llm Leaderboard
3
  emoji: 🥇
4
  colorFrom: green
5
  colorTo: indigo
app.py CHANGED
@@ -72,7 +72,7 @@ def init_leaderboard(df):
72
  col_count=(len(COLS), "fixed"),
73
  value=df,
74
  wrap=True,
75
- column_widths=[None] * len(COLS), # All columns get auto width
76
  type="pandas",
77
  )
78
 
 
72
  col_count=(len(COLS), "fixed"),
73
  value=df,
74
  wrap=True,
75
+ column_widths=[50] + [None] * (len(COLS) - 1),
76
  type="pandas",
77
  )
78
 
src/display/utils.py CHANGED
@@ -30,6 +30,7 @@ auto_eval_column_dict = []
30
 
31
  # Add model information columns
32
  model_info_columns = [
 
33
  ("Model", "markdown", True, False, True),
34
  ("Security Score ⬆️", "number", True, False, False),
35
  ("Safetensors", "bool", True, False, False),
@@ -126,7 +127,7 @@ class Precision(Enum):
126
 
127
  # Column selection
128
  COLS = [
129
- "Model", "Security Score ⬆️", "Safetensors", "Type", "Architecture",
130
  "Weight Format", "Precision", "Hub License", "Hub ❤️", "#Params (B)",
131
  "Available on Hub", "Model SHA"
132
  ]
 
30
 
31
  # Add model information columns
32
  model_info_columns = [
33
+ ("T", "str", True, False, True), # name, type, displayed_by_default, hidden, never_hidden
34
  ("Model", "markdown", True, False, True),
35
  ("Security Score ⬆️", "number", True, False, False),
36
  ("Safetensors", "bool", True, False, False),
 
127
 
128
  # Column selection
129
  COLS = [
130
+ "T", "Model", "Security Score ⬆️", "Safetensors", "Type", "Architecture",
131
  "Weight Format", "Precision", "Hub License", "Hub ❤️", "#Params (B)",
132
  "Available on Hub", "Model SHA"
133
  ]