Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
feat: rename retrieval models to retrieval methods
Browse files- app.py +6 -6
- src/display/utils.py +1 -1
app.py
CHANGED
@@ -122,10 +122,10 @@ with demo:
|
|
122 |
)
|
123 |
with gr.Row():
|
124 |
search_bar = gr.Textbox(
|
125 |
-
placeholder=" 🔍 Search for retrieval
|
126 |
show_label=False,
|
127 |
elem_id="search-bar",
|
128 |
-
info="Search the retrieval
|
129 |
)
|
130 |
# select reranking model
|
131 |
reranking_models = list(frozenset([eval_result.reranking_model for eval_result in raw_data]))
|
@@ -279,8 +279,8 @@ with demo:
|
|
279 |
)
|
280 |
with gr.Row():
|
281 |
search_bar = gr.Textbox(
|
282 |
-
info="Search the retrieval
|
283 |
-
placeholder=" 🔍 Search for retrieval
|
284 |
show_label=False,
|
285 |
elem_id="search-bar-long-doc",
|
286 |
)
|
@@ -435,9 +435,9 @@ with demo:
|
|
435 |
gr.Markdown("## ✉️Submit your model here!", elem_classes="markdown-text")
|
436 |
with gr.Row():
|
437 |
with gr.Column():
|
438 |
-
model_name = gr.Textbox(label="Retrieval
|
439 |
with gr.Column():
|
440 |
-
model_url = gr.Textbox(label="Retrieval
|
441 |
with gr.Row():
|
442 |
with gr.Column():
|
443 |
reranking_model_name = gr.Textbox(
|
|
|
122 |
)
|
123 |
with gr.Row():
|
124 |
search_bar = gr.Textbox(
|
125 |
+
placeholder=" 🔍 Search for retrieval methods (separate multiple queries with `;`) and press ENTER...",
|
126 |
show_label=False,
|
127 |
elem_id="search-bar",
|
128 |
+
info="Search the retrieval methods"
|
129 |
)
|
130 |
# select reranking model
|
131 |
reranking_models = list(frozenset([eval_result.reranking_model for eval_result in raw_data]))
|
|
|
279 |
)
|
280 |
with gr.Row():
|
281 |
search_bar = gr.Textbox(
|
282 |
+
info="Search the retrieval methods",
|
283 |
+
placeholder=" 🔍 Search for retrieval methods (separate multiple queries with `;`) and press ENTER...",
|
284 |
show_label=False,
|
285 |
elem_id="search-bar-long-doc",
|
286 |
)
|
|
|
435 |
gr.Markdown("## ✉️Submit your model here!", elem_classes="markdown-text")
|
436 |
with gr.Row():
|
437 |
with gr.Column():
|
438 |
+
model_name = gr.Textbox(label="Retrieval Method name")
|
439 |
with gr.Column():
|
440 |
+
model_url = gr.Textbox(label="Retrieval Method URL")
|
441 |
with gr.Row():
|
442 |
with gr.Column():
|
443 |
reranking_model_name = gr.Textbox(
|
src/display/utils.py
CHANGED
@@ -20,7 +20,7 @@ class ColumnContent:
|
|
20 |
|
21 |
|
22 |
COL_NAME_AVG = "Average ⬆️"
|
23 |
-
COL_NAME_RETRIEVAL_MODEL = "Retrieval
|
24 |
COL_NAME_RERANKING_MODEL = "Reranking Model"
|
25 |
COL_NAME_RETRIEVAL_MODEL_LINK = "Retrieval Model LINK"
|
26 |
COL_NAME_RERANKING_MODEL_LINK = "Reranking Model LINK"
|
|
|
20 |
|
21 |
|
22 |
COL_NAME_AVG = "Average ⬆️"
|
23 |
+
COL_NAME_RETRIEVAL_MODEL = "Retrieval Method"
|
24 |
COL_NAME_RERANKING_MODEL = "Reranking Model"
|
25 |
COL_NAME_RETRIEVAL_MODEL_LINK = "Retrieval Model LINK"
|
26 |
COL_NAME_RERANKING_MODEL_LINK = "Reranking Model LINK"
|