Update files from the datasets library (from 1.4.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.4.0
- id_panl_bppt.py +4 -2
id_panl_bppt.py
CHANGED
@@ -16,12 +16,14 @@
|
|
16 |
|
17 |
from __future__ import absolute_import, division, print_function
|
18 |
|
19 |
-
import logging
|
20 |
import os
|
21 |
|
22 |
import datasets
|
23 |
|
24 |
|
|
|
|
|
|
|
25 |
_CITATION = """\
|
26 |
@inproceedings{id_panl_bppt,
|
27 |
author = {PAN Localization - BPPT},
|
@@ -110,7 +112,7 @@ class IdPanlBppt(datasets.GeneratorBasedBuilder):
|
|
110 |
]
|
111 |
|
112 |
def _generate_examples(self, data_dir, split):
|
113 |
-
|
114 |
id = 0
|
115 |
for topic in self.config.topics:
|
116 |
src_path = "PANL-BPPT-{}-{}-{}w.txt".format(
|
|
|
16 |
|
17 |
from __future__ import absolute_import, division, print_function
|
18 |
|
|
|
19 |
import os
|
20 |
|
21 |
import datasets
|
22 |
|
23 |
|
24 |
+
logger = datasets.logging.get_logger(__name__)
|
25 |
+
|
26 |
+
|
27 |
_CITATION = """\
|
28 |
@inproceedings{id_panl_bppt,
|
29 |
author = {PAN Localization - BPPT},
|
|
|
112 |
]
|
113 |
|
114 |
def _generate_examples(self, data_dir, split):
|
115 |
+
logger.info("⏳ Generating %s examples from = %s", split, data_dir)
|
116 |
id = 0
|
117 |
for topic in self.config.topics:
|
118 |
src_path = "PANL-BPPT-{}-{}-{}w.txt".format(
|