Datasets:

Languages:
Yoruba
Multilinguality:
monolingual
Size Categories:
1K<n<10K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
system HF staff commited on
Commit
46cfd2a
1 Parent(s): 3a6950e

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. yoruba_gv_ner.py +4 -3
yoruba_gv_ner.py CHANGED
@@ -18,11 +18,12 @@
18
 
19
  from __future__ import absolute_import, division, print_function
20
 
21
- import logging
22
-
23
  import datasets
24
 
25
 
 
 
 
26
  # TODO: Add BibTeX citation
27
  # Find for instance the citation on arxiv or on the dataset repo/website
28
  _CITATION = """\
@@ -131,7 +132,7 @@ class YorubaGvNer(datasets.GeneratorBasedBuilder):
131
  ]
132
 
133
  def _generate_examples(self, filepath):
134
- logging.info("⏳ Generating examples from = %s", filepath)
135
  with open(filepath, encoding="utf-8") as f:
136
  guid = 0
137
  tokens = []
 
18
 
19
  from __future__ import absolute_import, division, print_function
20
 
 
 
21
  import datasets
22
 
23
 
24
+ logger = datasets.logging.get_logger(__name__)
25
+
26
+
27
  # TODO: Add BibTeX citation
28
  # Find for instance the citation on arxiv or on the dataset repo/website
29
  _CITATION = """\
 
132
  ]
133
 
134
  def _generate_examples(self, filepath):
135
+ logger.info("⏳ Generating examples from = %s", filepath)
136
  with open(filepath, encoding="utf-8") as f:
137
  guid = 0
138
  tokens = []