Muennighoff
commited on
Commit
•
4610cb0
1
Parent(s):
3206215
Skip
Browse files- results.py +3 -1
results.py
CHANGED
@@ -186,7 +186,9 @@ class MTEBResults(datasets.GeneratorBasedBuilder):
|
|
186 |
split = "validation"
|
187 |
elif (ds_name in DEV_SPLIT) and ("dev" in res_dict):
|
188 |
split = "dev"
|
189 |
-
else:
|
|
|
|
|
190 |
res_dict = res_dict.get(split)
|
191 |
is_multilingual = any(x in res_dict for x in EVAL_LANGS)
|
192 |
langs = res_dict.keys() if is_multilingual else ["en"]
|
|
|
186 |
split = "validation"
|
187 |
elif (ds_name in DEV_SPLIT) and ("dev" in res_dict):
|
188 |
split = "dev"
|
189 |
+
else:
|
190 |
+
print(f"Skipping {ds_name} as split {split} not present.")
|
191 |
+
continue
|
192 |
res_dict = res_dict.get(split)
|
193 |
is_multilingual = any(x in res_dict for x in EVAL_LANGS)
|
194 |
langs = res_dict.keys() if is_multilingual else ["en"]
|