Spaces:
Running
Running
Add instruction for english results on ViDoRe V3 (#15)
Browse files- Upload app.py with huggingface_hub (bf2abe3eb6f2f43f544a2fddcedddef74a72d005)
app.py
CHANGED
|
@@ -77,12 +77,17 @@ def main():
|
|
| 77 |
.markdown {
|
| 78 |
font-size: 1rem;
|
| 79 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
"""
|
| 81 |
|
| 82 |
with gr.Blocks(css=css) as block:
|
| 83 |
with gr.Tabs():
|
| 84 |
with gr.TabItem("ViDoRe V3"):
|
| 85 |
-
# embed in hmtl https://mteb-leaderboard.hf.space/?benchmark_name=ViDoRe(v3)
|
| 86 |
gr.Markdown("# ViDoRe V3: a comprehensive evaluation of retrieval for enterprise use-case 👷♂️")
|
| 87 |
|
| 88 |
gr.Markdown(
|
|
@@ -100,6 +105,15 @@ def main():
|
|
| 100 |
As the reference results are now hosted on the [MTEB Leaderboard](https://mteb-leaderboard.hf.space/?benchmark_name=ViDoRe(v3)),
|
| 101 |
we embed it here.
|
| 102 |
""" )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
gr.HTML(
|
| 104 |
"""
|
| 105 |
<iframe
|
|
|
|
| 77 |
.markdown {
|
| 78 |
font-size: 1rem;
|
| 79 |
}
|
| 80 |
+
|
| 81 |
+
.alert-info {
|
| 82 |
+
background-color: #e3f2fd;
|
| 83 |
+
border-left: 4px solid #2196f3;
|
| 84 |
+
padding: 5px 15px;
|
| 85 |
+
}
|
| 86 |
"""
|
| 87 |
|
| 88 |
with gr.Blocks(css=css) as block:
|
| 89 |
with gr.Tabs():
|
| 90 |
with gr.TabItem("ViDoRe V3"):
|
|
|
|
| 91 |
gr.Markdown("# ViDoRe V3: a comprehensive evaluation of retrieval for enterprise use-case 👷♂️")
|
| 92 |
|
| 93 |
gr.Markdown(
|
|
|
|
| 105 |
As the reference results are now hosted on the [MTEB Leaderboard](https://mteb-leaderboard.hf.space/?benchmark_name=ViDoRe(v3)),
|
| 106 |
we embed it here.
|
| 107 |
""" )
|
| 108 |
+
|
| 109 |
+
gr.Markdown(
|
| 110 |
+
"""**💡 To display English-only results:**
|
| 111 |
+
- Under *Customize this Benchmark*, unselect the French datasets (*Vidore3EnergyRetrieval*, *Vidore3FinanceFrRetrieval*, *Vidore3PhysicsRetrieval*),
|
| 112 |
+
- Go to the *Performance per language* tab (you might have to click on the three dots on the right of the tab bar to see it),
|
| 113 |
+
- The *eng-Latn* column will show English-only results (= English queries on English documents).""",
|
| 114 |
+
elem_classes="alert-info"
|
| 115 |
+
)
|
| 116 |
+
|
| 117 |
gr.HTML(
|
| 118 |
"""
|
| 119 |
<iframe
|