Spaces:
Running
Running
update scripts
Browse files
app.py
CHANGED
|
@@ -119,11 +119,40 @@ with demo:
|
|
| 119 |
leaderboard_table,
|
| 120 |
)
|
| 121 |
with gr.TabItem("π
M3Exam", elem_id="llm-benchmark-M3Exam", id=1):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
leaderboard_table = gr.components.Dataframe(
|
| 123 |
value=df_m3exam,
|
| 124 |
interactive=False,
|
| 125 |
visible=True,
|
| 126 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
with gr.TabItem("π
MMLU", elem_id="llm-benchmark-MMLU", id=2):
|
| 128 |
leaderboard_table = gr.components.Dataframe(
|
| 129 |
value=df_mmlu,
|
|
|
|
| 119 |
leaderboard_table,
|
| 120 |
)
|
| 121 |
with gr.TabItem("π
M3Exam", elem_id="llm-benchmark-M3Exam", id=1):
|
| 122 |
+
with gr.Row():
|
| 123 |
+
search_bar = gr.Textbox(
|
| 124 |
+
placeholder=" π Search for your model (separate multiple queries with `;`) and press ENTER...",
|
| 125 |
+
show_label=False,
|
| 126 |
+
elem_id="search-bar",
|
| 127 |
+
)
|
| 128 |
+
|
| 129 |
leaderboard_table = gr.components.Dataframe(
|
| 130 |
value=df_m3exam,
|
| 131 |
interactive=False,
|
| 132 |
visible=True,
|
| 133 |
)
|
| 134 |
+
|
| 135 |
+
hidden_leaderboard_table_for_search = gr.components.Dataframe(
|
| 136 |
+
value=df_m3exam,
|
| 137 |
+
interactive=False,
|
| 138 |
+
visible=False,
|
| 139 |
+
)
|
| 140 |
+
|
| 141 |
+
search_bar.submit(
|
| 142 |
+
update_table,
|
| 143 |
+
[
|
| 144 |
+
# df_avg,
|
| 145 |
+
hidden_leaderboard_table_for_search,
|
| 146 |
+
# shown_columns,
|
| 147 |
+
# filter_columns_type,
|
| 148 |
+
# filter_columns_precision,
|
| 149 |
+
# filter_columns_size,
|
| 150 |
+
# deleted_models_visibility,
|
| 151 |
+
search_bar,
|
| 152 |
+
],
|
| 153 |
+
leaderboard_table,
|
| 154 |
+
)
|
| 155 |
+
|
| 156 |
with gr.TabItem("π
MMLU", elem_id="llm-benchmark-MMLU", id=2):
|
| 157 |
leaderboard_table = gr.components.Dataframe(
|
| 158 |
value=df_mmlu,
|