Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Fixed icon column display
Browse files- app.py +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=["
|
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="?")
|