Muennighoff
commited on
Commit
•
5159835
1
Parent(s):
9117e32
Fix keys
Browse files- results.py +1 -2
results.py
CHANGED
@@ -167,7 +167,7 @@ class MTEBResults(datasets.GeneratorBasedBuilder):
|
|
167 |
description=_DESCRIPTION,
|
168 |
features=datasets.Features(
|
169 |
{
|
170 |
-
"
|
171 |
"metric": datasets.Value("string"),
|
172 |
"score": datasets.Value("float"),
|
173 |
}
|
@@ -218,7 +218,6 @@ class MTEBResults(datasets.GeneratorBasedBuilder):
|
|
218 |
for sub_metric, sub_score in score.items():
|
219 |
if any([x in sub_metric for x in SKIP_KEYS]): continue
|
220 |
out.append({
|
221 |
-
"mteb_dataset_name": ds_name,
|
222 |
"mteb_dataset_name": ds_name,
|
223 |
"metric": f"{metric}_{sub_metric}" if metric != sub_metric else metric,
|
224 |
"score": sub_score * 100,
|
|
|
167 |
description=_DESCRIPTION,
|
168 |
features=datasets.Features(
|
169 |
{
|
170 |
+
"mteb_dataset_name": datasets.Value("string"),
|
171 |
"metric": datasets.Value("string"),
|
172 |
"score": datasets.Value("float"),
|
173 |
}
|
|
|
218 |
for sub_metric, sub_score in score.items():
|
219 |
if any([x in sub_metric for x in SKIP_KEYS]): continue
|
220 |
out.append({
|
|
|
221 |
"mteb_dataset_name": ds_name,
|
222 |
"metric": f"{metric}_{sub_metric}" if metric != sub_metric else metric,
|
223 |
"score": sub_score * 100,
|