Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
feat: add v2024.05
Browse files- app.py +1 -5
- src/envs.py +1 -1
app.py
CHANGED
@@ -133,7 +133,7 @@ with demo:
|
|
133 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
134 |
with gr.TabItem("Results", elem_id="results-tab-table"):
|
135 |
with gr.Row():
|
136 |
-
selected_version = get_version_dropdown(
|
137 |
|
138 |
with gr.TabItem("QA", elem_id="qa-benchmark-tab-table", id=0):
|
139 |
with gr.Row():
|
@@ -146,8 +146,6 @@ with demo:
|
|
146 |
selected_langs = get_language_dropdown(LANG_COLS_QA, LANG_COLS_QA)
|
147 |
|
148 |
with gr.Column():
|
149 |
-
with gr.Row():
|
150 |
-
selected_version = get_version_dropdown()
|
151 |
# select the metric
|
152 |
selected_metric = get_metric_dropdown(METRIC_LIST, DEFAULT_METRIC_QA)
|
153 |
with gr.Row():
|
@@ -289,8 +287,6 @@ with demo:
|
|
289 |
LANG_COLS_LONG_DOC, LANG_COLS_LONG_DOC
|
290 |
)
|
291 |
with gr.Column():
|
292 |
-
with gr.Row():
|
293 |
-
selected_version = get_version_dropdown()
|
294 |
# select the metric
|
295 |
with gr.Row():
|
296 |
selected_metric = get_metric_dropdown(METRIC_LIST, DEFAULT_METRIC_LONG_DOC)
|
|
|
133 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
134 |
with gr.TabItem("Results", elem_id="results-tab-table"):
|
135 |
with gr.Row():
|
136 |
+
selected_version = get_version_dropdown()
|
137 |
|
138 |
with gr.TabItem("QA", elem_id="qa-benchmark-tab-table", id=0):
|
139 |
with gr.Row():
|
|
|
146 |
selected_langs = get_language_dropdown(LANG_COLS_QA, LANG_COLS_QA)
|
147 |
|
148 |
with gr.Column():
|
|
|
|
|
149 |
# select the metric
|
150 |
selected_metric = get_metric_dropdown(METRIC_LIST, DEFAULT_METRIC_QA)
|
151 |
with gr.Row():
|
|
|
287 |
LANG_COLS_LONG_DOC, LANG_COLS_LONG_DOC
|
288 |
)
|
289 |
with gr.Column():
|
|
|
|
|
290 |
# select the metric
|
291 |
with gr.Row():
|
292 |
selected_metric = get_metric_dropdown(METRIC_LIST, DEFAULT_METRIC_LONG_DOC)
|
src/envs.py
CHANGED
@@ -27,7 +27,7 @@ BM25_LINK = model_hyperlink("https://github.com/castorini/pyserini", "BM25")
|
|
27 |
|
28 |
BENCHMARK_VERSION_LIST = [
|
29 |
"AIR-Bench_24.04",
|
30 |
-
|
31 |
]
|
32 |
|
33 |
LATEST_BENCHMARK_VERSION = BENCHMARK_VERSION_LIST[-1]
|
|
|
27 |
|
28 |
BENCHMARK_VERSION_LIST = [
|
29 |
"AIR-Bench_24.04",
|
30 |
+
"AIR-Bench_24.05",
|
31 |
]
|
32 |
|
33 |
LATEST_BENCHMARK_VERSION = BENCHMARK_VERSION_LIST[-1]
|