Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Muennighoff
commited on
Commit
•
c00e4c9
1
Parent(s):
2a75cd8
Fix links
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ for model in EXTERNAL_MODELS:
|
|
199 |
ds = load_dataset("mteb/results", model)
|
200 |
ds = ds.map(add_lang)
|
201 |
ds = ds.map(add_task)
|
202 |
-
base_dict = {"Model": make_clickable_model(model, link=EXTERNAL_MODEL_TO_LINK.get(model, "https://huggingface.co/mteb/leaderboard"))}
|
203 |
# For now only one metric per task - Could add more metrics lateron
|
204 |
for task, metric in TASK_TO_METRIC.items():
|
205 |
ds_dict = ds.filter(lambda x: (x["mteb_task"] == task) and (x["metric"] == metric))["test"].to_dict()
|
|
|
199 |
ds = load_dataset("mteb/results", model)
|
200 |
ds = ds.map(add_lang)
|
201 |
ds = ds.map(add_task)
|
202 |
+
base_dict = {"Model": make_clickable_model(model, link=EXTERNAL_MODEL_TO_LINK.get(model, "https://huggingface.co/spaces/mteb/leaderboard"))}
|
203 |
# For now only one metric per task - Could add more metrics lateron
|
204 |
for task, metric in TASK_TO_METRIC.items():
|
205 |
ds_dict = ds.filter(lambda x: (x["mteb_task"] == task) and (x["metric"] == metric))["test"].to_dict()
|