Update agieval.py
Browse files- agieval.py +2 -2
agieval.py
CHANGED
|
@@ -128,7 +128,7 @@ class AgiEval(datasets.GeneratorBasedBuilder):
|
|
| 128 |
"passage": datasets.Value("string"),
|
| 129 |
"question": datasets.Value("string"),
|
| 130 |
"options": datasets.features.Sequence(datasets.Value("string")),
|
| 131 |
-
"label": datasets.
|
| 132 |
"solution": datasets.Value("string"),
|
| 133 |
}
|
| 134 |
)
|
|
@@ -138,7 +138,7 @@ class AgiEval(datasets.GeneratorBasedBuilder):
|
|
| 138 |
"passage": datasets.Value("string"),
|
| 139 |
"question": datasets.Value("string"),
|
| 140 |
"options": datasets.features.Sequence(datasets.Value("string")),
|
| 141 |
-
"label": datasets.
|
| 142 |
"solution": datasets.Value("string"),
|
| 143 |
}
|
| 144 |
)
|
|
|
|
| 128 |
"passage": datasets.Value("string"),
|
| 129 |
"question": datasets.Value("string"),
|
| 130 |
"options": datasets.features.Sequence(datasets.Value("string")),
|
| 131 |
+
"label": datasets.ClassLabel(num_classes=4, names=["A", "B", "C", "D"]),
|
| 132 |
"solution": datasets.Value("string"),
|
| 133 |
}
|
| 134 |
)
|
|
|
|
| 138 |
"passage": datasets.Value("string"),
|
| 139 |
"question": datasets.Value("string"),
|
| 140 |
"options": datasets.features.Sequence(datasets.Value("string")),
|
| 141 |
+
"label": datasets.features.Sequence(datasets.Value("string")),
|
| 142 |
"solution": datasets.Value("string"),
|
| 143 |
}
|
| 144 |
)
|