Update ChinaOpen.py
Browse files- ChinaOpen.py +2 -1
ChinaOpen.py
CHANGED
|
@@ -94,7 +94,7 @@ class ChinaOpen(datasets.GeneratorBasedBuilder):
|
|
| 94 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
|
| 95 |
#datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
|
| 96 |
]
|
| 97 |
-
|
| 98 |
def _generate_examples(self, filepath):
|
| 99 |
"""This function returns the examples in the raw (text) form."""
|
| 100 |
logger.info("generating examples from = %s", filepath)
|
|
@@ -121,3 +121,4 @@ class ChinaOpen(datasets.GeneratorBasedBuilder):
|
|
| 121 |
},
|
| 122 |
}
|
| 123 |
key += 1
|
|
|
|
|
|
| 94 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
|
| 95 |
#datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
|
| 96 |
]
|
| 97 |
+
'''
|
| 98 |
def _generate_examples(self, filepath):
|
| 99 |
"""This function returns the examples in the raw (text) form."""
|
| 100 |
logger.info("generating examples from = %s", filepath)
|
|
|
|
| 121 |
},
|
| 122 |
}
|
| 123 |
key += 1
|
| 124 |
+
'''
|