AnanthZeke commited on
Commit
21fec25
1 Parent(s): 1dd0b53

Update naamapadam.py

Browse files
Files changed (1) hide show
  1. naamapadam.py +2 -1
naamapadam.py CHANGED
@@ -2,7 +2,7 @@ import json
2
  import os
3
 
4
  import datasets
5
-
6
  _CITATION = """\
7
 
8
  """
@@ -86,6 +86,7 @@ class Naamapadam(datasets.GeneratorBasedBuilder):
86
  ]
87
 
88
  def _generate_examples(self, filepath):
 
89
  """Yields examples as (key, example) tuples."""
90
  with open(filepath, encoding="utf-8") as f:
91
  for idx_, row in enumerate(f):
 
2
  import os
3
 
4
  import datasets
5
+ logger = datasets.logging.get_logger(__name__)
6
  _CITATION = """\
7
 
8
  """
 
86
  ]
87
 
88
  def _generate_examples(self, filepath):
89
+ logger.info(f"generating examples from = {filepath}")
90
  """Yields examples as (key, example) tuples."""
91
  with open(filepath, encoding="utf-8") as f:
92
  for idx_, row in enumerate(f):