Datasets:
Commit
·
5b7f6c0
1
Parent(s):
0fbead7
Update multiconer_v2.py
Browse files- multiconer_v2.py +1 -1
multiconer_v2.py
CHANGED
@@ -283,7 +283,7 @@ class MultiCoNER2(datasets.GeneratorBasedBuilder):
|
|
283 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test"]}),
|
284 |
]
|
285 |
|
286 |
-
|
287 |
logger.info("⏳ Generating examples from = %s", filepath)
|
288 |
with open(filepath, encoding="utf-8") as f:
|
289 |
guid = 0
|
|
|
283 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test"]}),
|
284 |
]
|
285 |
|
286 |
+
def _generate_examples(self, filepath):
|
287 |
logger.info("⏳ Generating examples from = %s", filepath)
|
288 |
with open(filepath, encoding="utf-8") as f:
|
289 |
guid = 0
|