王子傲 commited on
Commit ·
35dbb7c
1
Parent(s): 229aa0a
fix loading s
Browse files- roc_stories.py +5 -1
roc_stories.py
CHANGED
|
@@ -137,6 +137,10 @@ class RocStories(datasets.GeneratorBasedBuilder):
|
|
| 137 |
yield index, {
|
| 138 |
"storyid": row["storyid"],
|
| 139 |
"storytitle": row["storytitle"],
|
| 140 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
}
|
| 142 |
|
|
|
|
| 137 |
yield index, {
|
| 138 |
"storyid": row["storyid"],
|
| 139 |
"storytitle": row["storytitle"],
|
| 140 |
+
"sentence1": row["sentence1"],
|
| 141 |
+
"sentence2": row["sentence2"],
|
| 142 |
+
"sentence3": row["sentence3"],
|
| 143 |
+
"sentence4": row["sentence4"],
|
| 144 |
+
"sentence5": row["sentence5"],
|
| 145 |
}
|
| 146 |
|