Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Muennighoff
commited on
Commit
•
f96a9c9
1
Parent(s):
234d367
New datasets API
Browse files
app.py
CHANGED
@@ -285,9 +285,9 @@ def add_task(examples):
|
|
285 |
return examples
|
286 |
|
287 |
for model in EXTERNAL_MODELS:
|
288 |
-
ds = load_dataset("mteb/results", model
|
289 |
# For local debugging:
|
290 |
-
#, download_mode='force_redownload',
|
291 |
ds = ds.map(add_lang)
|
292 |
ds = ds.map(add_task)
|
293 |
base_dict = {"Model": make_clickable_model(model, link=EXTERNAL_MODEL_TO_LINK.get(model, "https://huggingface.co/spaces/mteb/leaderboard"))}
|
|
|
285 |
return examples
|
286 |
|
287 |
for model in EXTERNAL_MODELS:
|
288 |
+
ds = load_dataset("mteb/results", model, download_mode='force_redownload', verification_mode="no_checks")
|
289 |
# For local debugging:
|
290 |
+
#, download_mode='force_redownload', verification_mode="no_checks")
|
291 |
ds = ds.map(add_lang)
|
292 |
ds = ds.map(add_task)
|
293 |
base_dict = {"Model": make_clickable_model(model, link=EXTERNAL_MODEL_TO_LINK.get(model, "https://huggingface.co/spaces/mteb/leaderboard"))}
|