kimvu commited on
Commit
2b58c40
·
1 Parent(s): ee70cf7

Update agieval.py

Browse files
Files changed (1) hide show
  1. 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.features.Sequence(datasets.Value("string")),
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.ClassLabel(num_classes=4, names=["A", "B", "C", "D"]),
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
  )