Busani
commited on
Commit
·
dad7e48
1
Parent(s):
16b2891
Some initial bug recon
Browse files
cosuju.py
CHANGED
@@ -95,7 +95,7 @@ class Cosuju(datasets.GeneratorBasedBuilder):
|
|
95 |
def _generate_examples(self, filepath):
|
96 |
"""This function returns the examples in the raw (text) form."""
|
97 |
logger.info('generating examples from = %s', filepath)
|
98 |
-
with open('
|
99 |
cosuju = json.loads(f.read())
|
100 |
for row in cosuju['data']:
|
101 |
if self.config.name == 'exclude_no_summary':
|
|
|
95 |
def _generate_examples(self, filepath):
|
96 |
"""This function returns the examples in the raw (text) form."""
|
97 |
logger.info('generating examples from = %s', filepath)
|
98 |
+
with open('train-v1.0.json', 'r') as f:
|
99 |
cosuju = json.loads(f.read())
|
100 |
for row in cosuju['data']:
|
101 |
if self.config.name == 'exclude_no_summary':
|