Spaces:
Runtime error
Runtime error
Santi Diana
commited on
Commit
·
82d6c9a
1
Parent(s):
a0497a5
Added some Markdown
Browse files
app.py
CHANGED
@@ -2,13 +2,28 @@ import gradio as gr
|
|
2 |
import pandas as pd
|
3 |
|
4 |
block = gr.Blocks()
|
|
|
|
|
|
|
5 |
|
6 |
with block:
|
7 |
-
gr.Markdown("Leaderboard de modelos de Embeddings en español
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
with gr.Tabs():
|
9 |
with gr.TabItem("Overall"):
|
10 |
with gr.Row():
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
overall = pd.DataFrame({
|
13 |
'Model name': ['hiiamsid/sentence_similarity_spanish_es', 'clibrain/paraphrase-multilingual-mpnet-base-v2-ft-stsb_multi_mt-embeddings', 'intfloat/mulilingua-e5-large','hackathon-pln-es/paraphrase-spanish-distilroberta'],
|
14 |
'Model Size (GB)': 100,
|
|
|
2 |
import pandas as pd
|
3 |
|
4 |
block = gr.Blocks()
|
5 |
+
NUM_DATASETS = 0
|
6 |
+
NUM_SCORES = 0
|
7 |
+
NUM_MODELS = 0
|
8 |
|
9 |
with block:
|
10 |
+
gr.Markdown(f"""**Leaderboard de modelos de Embeddings en español
|
11 |
+
Massive Text Embedding Benchmark (MTEB) Leaderboard.**
|
12 |
+
- **Total Datasets**: {NUM_DATASETS}
|
13 |
+
- **Total Languages**: 1
|
14 |
+
- **Total Scores**: {NUM_SCORES}
|
15 |
+
- **Total Models**: {NUM_MODELS}
|
16 |
+
""")
|
17 |
with gr.Tabs():
|
18 |
with gr.TabItem("Overall"):
|
19 |
with gr.Row():
|
20 |
+
gr.Markdown("""
|
21 |
+
**Tabla General de Embeddings**
|
22 |
+
|
23 |
+
- **Metricas:** Varias, con sus respectivas medias.
|
24 |
+
- **Idioma:** Español
|
25 |
+
""")
|
26 |
+
with gr.Row():
|
27 |
overall = pd.DataFrame({
|
28 |
'Model name': ['hiiamsid/sentence_similarity_spanish_es', 'clibrain/paraphrase-multilingual-mpnet-base-v2-ft-stsb_multi_mt-embeddings', 'intfloat/mulilingua-e5-large','hackathon-pln-es/paraphrase-spanish-distilroberta'],
|
29 |
'Model Size (GB)': 100,
|