Datasets:

Multilinguality:
translation
Size Categories:
10K<n<100K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
system HF staff commited on
Commit
c7b8cc8
1 Parent(s): 5032fe2

Update files from the datasets library (from 1.4.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.4.0

Files changed (1) hide show
  1. 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
- logging.info("⏳ Generating %s examples from = %s", split, data_dir)
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(