We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a7566f commit 88fb54eCopy full SHA for 88fb54e
mteb/abstasks/pair_classification.py
@@ -115,7 +115,9 @@ def _evaluate_subset(
115
116
if self.metadata.modalities == ["text"]:
117
# for compatibility with v1 version where datasets were stored in a single row
118
- data_split = data_split[0] if len(data_split) == 1 else data_split
+ data_split = (
119
+ Dataset.from_dict(data_split[0]) if len(data_split) == 1 else data_split
120
+ )
121
evaluator = PairClassificationEvaluator(
122
data_split,
123
self.input1_column_name,
pyproject.toml
@@ -506,3 +506,4 @@ Altas = "Altas"
506
matche = "matche"
507
expresso = "expresso"
508
Expresso = "Expresso"
509
+NIFE = "NIFE"
0 commit comments