mnemlaghi commited on
Commit
9a1ebda
1 Parent(s): b343f22

new attempt

Browse files
Files changed (1) hide show
  1. widdd.py +2 -0
widdd.py CHANGED
@@ -16,6 +16,7 @@
16
 
17
  import json
18
  import datasets
 
19
 
20
 
21
  _CITATION = """\
@@ -93,6 +94,7 @@ class Widdd(datasets.GeneratorBasedBuilder):
93
 
94
  def _generate_examples(self, filepath):
95
  """Yields examples."""
 
96
  with open(filepath, encoding = "utf8") as fp:
97
  for l in fp:
98
  d = json.loads(l)
 
16
 
17
  import json
18
  import datasets
19
+ import logging
20
 
21
 
22
  _CITATION = """\
 
94
 
95
  def _generate_examples(self, filepath):
96
  """Yields examples."""
97
+ logging.info(f"Yielding {filepath}")
98
  with open(filepath, encoding = "utf8") as fp:
99
  for l in fp:
100
  d = json.loads(l)