Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -1576,7 +1576,7 @@ with block:
|
|
| 1576 |
|
| 1577 |
- **Metric:** Various, refer to task tabs
|
| 1578 |
- **Languages:** French
|
| 1579 |
-
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [
|
| 1580 |
""")
|
| 1581 |
with gr.Row():
|
| 1582 |
data_overall_fr = gr.components.Dataframe(
|
|
@@ -1719,7 +1719,7 @@ with block:
|
|
| 1719 |
|
| 1720 |
- **Metric:** [Accuracy](https://huggingface.co/spaces/evaluate-metric/accuracy)
|
| 1721 |
- **Languages:** French
|
| 1722 |
-
- **Credits:**
|
| 1723 |
""")
|
| 1724 |
with gr.Row():
|
| 1725 |
data_classification_fr = gr.components.Dataframe(
|
|
@@ -1865,7 +1865,7 @@ with block:
|
|
| 1865 |
|
| 1866 |
- **Metric:** Validity Measure (v_measure)
|
| 1867 |
- **Languages:** French
|
| 1868 |
-
- **Credits:**
|
| 1869 |
""")
|
| 1870 |
with gr.Row():
|
| 1871 |
data_clustering_fr = gr.components.Dataframe(
|
|
@@ -1970,7 +1970,7 @@ with block:
|
|
| 1970 |
|
| 1971 |
- **Metric:** Average Precision based on Cosine Similarities (cos_sim_ap)
|
| 1972 |
- **Languages:** French
|
| 1973 |
-
- **Credits:**
|
| 1974 |
""")
|
| 1975 |
with gr.Row():
|
| 1976 |
data_pair_classification_fr = gr.components.Dataframe(
|
|
@@ -2054,7 +2054,7 @@ with block:
|
|
| 2054 |
|
| 2055 |
- **Metric:** Mean Average Precision (MAP)
|
| 2056 |
- **Languages:** French
|
| 2057 |
-
- **Credits:**
|
| 2058 |
""")
|
| 2059 |
with gr.Row():
|
| 2060 |
data_reranking_fr = gr.components.Dataframe(
|
|
@@ -2119,7 +2119,7 @@ with block:
|
|
| 2119 |
|
| 2120 |
- **Metric:** Normalized Discounted Cumulative Gain @ k (ndcg_at_10)
|
| 2121 |
- **Languages:** French
|
| 2122 |
-
- **Credits:**
|
| 2123 |
""")
|
| 2124 |
with gr.Row():
|
| 2125 |
data_retrieval_fr = gr.components.Dataframe(
|
|
@@ -2205,7 +2205,7 @@ with block:
|
|
| 2205 |
|
| 2206 |
- **Metric:** Spearman correlation based on cosine similarity
|
| 2207 |
- **Languages:** French
|
| 2208 |
-
- **Credits:**
|
| 2209 |
""")
|
| 2210 |
with gr.Row():
|
| 2211 |
data_sts_fr = gr.components.Dataframe(
|
|
@@ -2277,9 +2277,29 @@ with block:
|
|
| 2277 |
with gr.Row():
|
| 2278 |
data_run = gr.Button("Refresh")
|
| 2279 |
data_run.click(
|
| 2280 |
-
partial(get_mteb_data, tasks=
|
| 2281 |
outputs=data_summarization,
|
| 2282 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2283 |
gr.Markdown(f"""
|
| 2284 |
- **Total Datasets**: {NUM_DATASETS}
|
| 2285 |
- **Total Languages**: 113
|
|
|
|
| 1576 |
|
| 1577 |
- **Metric:** Various, refer to task tabs
|
| 1578 |
- **Languages:** French
|
| 1579 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 1580 |
""")
|
| 1581 |
with gr.Row():
|
| 1582 |
data_overall_fr = gr.components.Dataframe(
|
|
|
|
| 1719 |
|
| 1720 |
- **Metric:** [Accuracy](https://huggingface.co/spaces/evaluate-metric/accuracy)
|
| 1721 |
- **Languages:** French
|
| 1722 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 1723 |
""")
|
| 1724 |
with gr.Row():
|
| 1725 |
data_classification_fr = gr.components.Dataframe(
|
|
|
|
| 1865 |
|
| 1866 |
- **Metric:** Validity Measure (v_measure)
|
| 1867 |
- **Languages:** French
|
| 1868 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 1869 |
""")
|
| 1870 |
with gr.Row():
|
| 1871 |
data_clustering_fr = gr.components.Dataframe(
|
|
|
|
| 1970 |
|
| 1971 |
- **Metric:** Average Precision based on Cosine Similarities (cos_sim_ap)
|
| 1972 |
- **Languages:** French
|
| 1973 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 1974 |
""")
|
| 1975 |
with gr.Row():
|
| 1976 |
data_pair_classification_fr = gr.components.Dataframe(
|
|
|
|
| 2054 |
|
| 2055 |
- **Metric:** Mean Average Precision (MAP)
|
| 2056 |
- **Languages:** French
|
| 2057 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 2058 |
""")
|
| 2059 |
with gr.Row():
|
| 2060 |
data_reranking_fr = gr.components.Dataframe(
|
|
|
|
| 2119 |
|
| 2120 |
- **Metric:** Normalized Discounted Cumulative Gain @ k (ndcg_at_10)
|
| 2121 |
- **Languages:** French
|
| 2122 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 2123 |
""")
|
| 2124 |
with gr.Row():
|
| 2125 |
data_retrieval_fr = gr.components.Dataframe(
|
|
|
|
| 2205 |
|
| 2206 |
- **Metric:** Spearman correlation based on cosine similarity
|
| 2207 |
- **Languages:** French
|
| 2208 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 2209 |
""")
|
| 2210 |
with gr.Row():
|
| 2211 |
data_sts_fr = gr.components.Dataframe(
|
|
|
|
| 2277 |
with gr.Row():
|
| 2278 |
data_run = gr.Button("Refresh")
|
| 2279 |
data_run.click(
|
| 2280 |
+
partial(get_mteb_data, tasks=TASK_LIST_SUMMARIZATION),
|
| 2281 |
outputs=data_summarization,
|
| 2282 |
)
|
| 2283 |
+
with gr.Row():
|
| 2284 |
+
gr.Markdown("""
|
| 2285 |
+
**Summarization Leaderboard** 📜
|
| 2286 |
+
|
| 2287 |
+
- **Metric:** Spearman correlation based on cosine similarity
|
| 2288 |
+
- **Languages:** French
|
| 2289 |
+
- **Credits:** [Lyon-NLP](https://github.com/Lyon-NLP): [Gabriel Sequeira](https://github.com/GabrielSequeira), [Imene Kerboua](https://github.com/imenelydiaker), [wissam-sib](https://github.com/wissam-sib), [Mathieu Ciancone](https://github.com/MathieuCiancone), [Marion Schaeffer](https://github.com/schmarion)
|
| 2290 |
+
""")
|
| 2291 |
+
with gr.Row():
|
| 2292 |
+
data_summarization_fr = gr.components.Dataframe(
|
| 2293 |
+
DATA_SUMMARIZATION_FR,
|
| 2294 |
+
datatype=["number", "markdown"] + ["number"] * 2,
|
| 2295 |
+
type="pandas",
|
| 2296 |
+
)
|
| 2297 |
+
with gr.Row():
|
| 2298 |
+
data_run_summarization_fr = gr.Button("Refresh")
|
| 2299 |
+
data_run_summarization_fr.click(
|
| 2300 |
+
partial(get_mteb_data, tasks=TASK_LIST_SUMMARIZATION_FR),
|
| 2301 |
+
outputs=data_run_summarization_fr,
|
| 2302 |
+
)
|
| 2303 |
gr.Markdown(f"""
|
| 2304 |
- **Total Datasets**: {NUM_DATASETS}
|
| 2305 |
- **Total Languages**: 113
|