Update TimeTravel.py
Browse files- TimeTravel.py +6 -6
TimeTravel.py
CHANGED
@@ -154,10 +154,10 @@ class TimeTravel(datasets.GeneratorBasedBuilder):
|
|
154 |
with open(filepath, encoding="utf-8") as f:
|
155 |
for key, row in enumerate(f):
|
156 |
yield key, {
|
157 |
-
"story_id":
|
158 |
-
"premise":
|
159 |
-
"initial":
|
160 |
-
"counterfactual":
|
161 |
-
"original_ending":
|
162 |
-
"edited_ending":
|
163 |
}
|
|
|
154 |
with open(filepath, encoding="utf-8") as f:
|
155 |
for key, row in enumerate(f):
|
156 |
yield key, {
|
157 |
+
"story_id": row["story_id"],
|
158 |
+
"premise": row["premise"],
|
159 |
+
"initial": row["initial"],
|
160 |
+
"counterfactual": row["counterfactual"],
|
161 |
+
"original_ending": row["original_ending"],
|
162 |
+
"edited_ending": row["edited_ending"],
|
163 |
}
|