Update polygraph_xsum.py
Browse files- polygraph_xsum.py +1 -1
polygraph_xsum.py
CHANGED
|
@@ -67,7 +67,7 @@ class PolygraphXsum(datasets.GeneratorBasedBuilder):
|
|
| 67 |
})
|
| 68 |
]
|
| 69 |
|
| 70 |
-
def _generate_examples(self, filepath
|
| 71 |
with open(filepath, encoding="utf-8") as f:
|
| 72 |
dataset = datasets.Dataset.from_json(f.read())
|
| 73 |
for i in range(len(item)):
|
|
|
|
| 67 |
})
|
| 68 |
]
|
| 69 |
|
| 70 |
+
def _generate_examples(self, filepath):
|
| 71 |
with open(filepath, encoding="utf-8") as f:
|
| 72 |
dataset = datasets.Dataset.from_json(f.read())
|
| 73 |
for i in range(len(item)):
|