Datasets:
Update mindgames.py
Browse files- mindgames.py +13 -3
mindgames.py
CHANGED
@@ -74,11 +74,21 @@ class mindgames(datasets.GeneratorBasedBuilder):
|
|
74 |
]
|
75 |
|
76 |
def _info(self):
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
return datasets.DatasetInfo(
|
80 |
description=DESCRIPTION,
|
81 |
-
|
82 |
citation=self.config.citation + "\n" + CITATION,
|
83 |
)
|
84 |
|
|
|
74 |
]
|
75 |
|
76 |
def _info(self):
|
77 |
+
features = {
|
78 |
+
"hypothesis": datasets.Value("string"),
|
79 |
+
"premise": datasets.Value("string"),
|
80 |
+
"label": datasets.Value("int32"),
|
81 |
+
"n_announcements": datasets.Value("int32"),
|
82 |
+
"n_agents": datasets.Value("int32"),
|
83 |
+
"hypothesis_depth": datasets.Value("int32"),
|
84 |
+
"index": datasets.Value("int32")
|
85 |
+
|
86 |
+
}
|
87 |
+
for k in ['smcdel_problem',"pbcheck","names","setup","s-l","deberta_pred","deberta_confidence","difficulty"]:
|
88 |
+
features[k]=datasets.Value("string")
|
89 |
return datasets.DatasetInfo(
|
90 |
description=DESCRIPTION,
|
91 |
+
features=datasets.Features(features),
|
92 |
citation=self.config.citation + "\n" + CITATION,
|
93 |
)
|
94 |
|