Shaltiel commited on
Commit
3c9a434
β€’
1 Parent(s): c87dbbe

Fixed icon column display

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. src/display/utils.py +1 -1
app.py CHANGED
@@ -197,13 +197,13 @@ with demo:
197
  [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
198
  + shown_columns.value
199
  + [AutoEvalColumn.dummy.name]
200
- ],
201
  headers=[c.name for c in fields(AutoEvalColumn) if c.never_hidden] + shown_columns.value,
202
  datatype=TYPES,
203
  elem_id="leaderboard-table",
204
  interactive=False,
205
  visible=True,
206
- column_widths=["2.5%", "33%"] ,
207
  height=600
208
  )
209
 
 
197
  [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
198
  + shown_columns.value
199
  + [AutoEvalColumn.dummy.name]
200
+ ][leaderboard_df[AutoEvalColumn.still_on_hub.name] == True],
201
  headers=[c.name for c in fields(AutoEvalColumn) if c.never_hidden] + shown_columns.value,
202
  datatype=TYPES,
203
  elem_id="leaderboard-table",
204
  interactive=False,
205
  visible=True,
206
+ column_widths=["3%", "33%"] ,
207
  height=600
208
  )
209
 
src/display/utils.py CHANGED
@@ -66,7 +66,7 @@ class ModelDetails:
66
 
67
  class ModelType(Enum):
68
  PT = ModelDetails(name="pretrained", symbol="🟒")
69
- FT = ModelDetails(name="fine-tuned", symbol="πŸ”Ά")
70
  IFT = ModelDetails(name="instruction-tuned", symbol="β­•")
71
  RL = ModelDetails(name="RL-tuned", symbol="🟦")
72
  Unknown = ModelDetails(name="", symbol="?")
 
66
 
67
  class ModelType(Enum):
68
  PT = ModelDetails(name="pretrained", symbol="🟒")
69
+ FT = ModelDetails(name="fine-tuned on domain-specific datasets", symbol="πŸ”Ά")
70
  IFT = ModelDetails(name="instruction-tuned", symbol="β­•")
71
  RL = ModelDetails(name="RL-tuned", symbol="🟦")
72
  Unknown = ModelDetails(name="", symbol="?")