Spaces:
Sleeping
Sleeping
[Update]Change the table
Browse files
app.py
CHANGED
@@ -170,26 +170,26 @@ with demo:
|
|
170 |
with gr.Column(min_width=320):
|
171 |
#with gr.Box(elem_id="box-filter"):
|
172 |
filter_columns_type = gr.CheckboxGroup(
|
173 |
-
label="
|
174 |
choices=[t.to_str() for t in ModelType],
|
175 |
value=[t.to_str() for t in ModelType],
|
176 |
interactive=True,
|
177 |
elem_id="filter-columns-type",
|
178 |
)
|
179 |
-
filter_columns_precision = gr.CheckboxGroup(
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
)
|
186 |
-
filter_columns_size = gr.CheckboxGroup(
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
)
|
193 |
|
194 |
leaderboard_table = gr.components.Dataframe(
|
195 |
value=leaderboard_df[
|
|
|
170 |
with gr.Column(min_width=320):
|
171 |
#with gr.Box(elem_id="box-filter"):
|
172 |
filter_columns_type = gr.CheckboxGroup(
|
173 |
+
label="Unlearning types",
|
174 |
choices=[t.to_str() for t in ModelType],
|
175 |
value=[t.to_str() for t in ModelType],
|
176 |
interactive=True,
|
177 |
elem_id="filter-columns-type",
|
178 |
)
|
179 |
+
# filter_columns_precision = gr.CheckboxGroup(
|
180 |
+
# label="Precision",
|
181 |
+
# choices=[i.value.name for i in Precision],
|
182 |
+
# value=[i.value.name for i in Precision],
|
183 |
+
# interactive=True,
|
184 |
+
# elem_id="filter-columns-precision",
|
185 |
+
# )
|
186 |
+
# filter_columns_size = gr.CheckboxGroup(
|
187 |
+
# label="Model sizes (in billions of parameters)",
|
188 |
+
# choices=list(NUMERIC_INTERVALS.keys()),
|
189 |
+
# value=list(NUMERIC_INTERVALS.keys()),
|
190 |
+
# interactive=True,
|
191 |
+
# elem_id="filter-columns-size",
|
192 |
+
#)
|
193 |
|
194 |
leaderboard_table = gr.components.Dataframe(
|
195 |
value=leaderboard_df[
|