Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Muennighoff
commited on
Commit
•
d20b8c5
1
Parent(s):
cd84165
Upload 2 files
Browse files- EXTERNAL_MODEL_RESULTS.json +0 -0
- app.py +7 -7
EXTERNAL_MODEL_RESULTS.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
app.py
CHANGED
@@ -2100,17 +2100,17 @@ with block:
|
|
2100 |
- **Credits:** [FlagEmbedding](https://github.com/FlagOpen/FlagEmbedding)
|
2101 |
""")
|
2102 |
with gr.Row():
|
2103 |
-
|
2104 |
-
|
2105 |
# Add support for more columns than existing as a buffer for CQADupstack & other Retrieval tasks (e.g. MSMARCOv2)
|
2106 |
-
datatype=["number", "markdown"] + ["number"] * len(
|
2107 |
type="pandas",
|
2108 |
)
|
2109 |
with gr.Row():
|
2110 |
-
|
2111 |
-
|
2112 |
-
partial(get_mteb_data, tasks=["Retrieval"], datasets=
|
2113 |
-
outputs=
|
2114 |
)
|
2115 |
with gr.TabItem("French"):
|
2116 |
with gr.Row():
|
|
|
2100 |
- **Credits:** [FlagEmbedding](https://github.com/FlagOpen/FlagEmbedding)
|
2101 |
""")
|
2102 |
with gr.Row():
|
2103 |
+
data_retrieval_zh = gr.components.Dataframe(
|
2104 |
+
DATA_RETRIEVAL_ZH,
|
2105 |
# Add support for more columns than existing as a buffer for CQADupstack & other Retrieval tasks (e.g. MSMARCOv2)
|
2106 |
+
datatype=["number", "markdown"] + ["number"] * len(DATA_RETRIEVAL_ZH.columns) * 2,
|
2107 |
type="pandas",
|
2108 |
)
|
2109 |
with gr.Row():
|
2110 |
+
data_run_retrieval_zh = gr.Button("Refresh")
|
2111 |
+
data_run_retrieval_zh.click(
|
2112 |
+
partial(get_mteb_data, tasks=["Retrieval"], datasets=TASK_LIST_RETRIEVAL_ZH),
|
2113 |
+
outputs=data_retrieval_zh,
|
2114 |
)
|
2115 |
with gr.TabItem("French"):
|
2116 |
with gr.Row():
|