Datasets:
Update csatqa.py
Browse files
csatqa.py
CHANGED
@@ -43,7 +43,7 @@ class CSATQA(datasets.GeneratorBasedBuilder):
|
|
43 |
"option#5": datasets.Value("string"),
|
44 |
"gold": datasets.Value("int8"),
|
45 |
"category": datasets.Value("string"),
|
46 |
-
"
|
47 |
}
|
48 |
)
|
49 |
return datasets.DatasetInfo(
|
@@ -94,7 +94,7 @@ class CSATQA(datasets.GeneratorBasedBuilder):
|
|
94 |
"option#5": data["option#5"],
|
95 |
"gold": data["gold"],
|
96 |
"category": data["Category"],
|
97 |
-
"
|
98 |
|
99 |
for idx, dat in enumerate(buffer):
|
100 |
yield idx,dat
|
|
|
43 |
"option#5": datasets.Value("string"),
|
44 |
"gold": datasets.Value("int8"),
|
45 |
"category": datasets.Value("string"),
|
46 |
+
"human_performance": datasets.Value("float16"),
|
47 |
}
|
48 |
)
|
49 |
return datasets.DatasetInfo(
|
|
|
94 |
"option#5": data["option#5"],
|
95 |
"gold": data["gold"],
|
96 |
"category": data["Category"],
|
97 |
+
"human_performance": data["Human_Peformance"]})
|
98 |
|
99 |
for idx, dat in enumerate(buffer):
|
100 |
yield idx,dat
|