system HF staff commited on
Commit
e6a7fbf
1 Parent(s): a7f47ab

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. sepedi_ner.py +4 -2
sepedi_ner.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{sepedi_ner,
27
  author = {D.J. Prinsloo and
@@ -108,7 +110,7 @@ class SepediNer(datasets.GeneratorBasedBuilder):
108
  ]
109
 
110
  def _generate_examples(self, filepath):
111
- logging.info("⏳ Generating examples from = %s", filepath)
112
  with open(filepath, encoding="utf-8") as f:
113
  guid = 0
114
  tokens = []
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{sepedi_ner,
29
  author = {D.J. Prinsloo and
110
  ]
111
 
112
  def _generate_examples(self, filepath):
113
+ logger.info("⏳ Generating examples from = %s", filepath)
114
  with open(filepath, encoding="utf-8") as f:
115
  guid = 0
116
  tokens = []