EricR401S commited on
Commit
f1ccf32
·
1 Parent(s): a80dae0

testing generating examples

Browse files
Files changed (1) hide show
  1. Pill_Ideologies-Post_Titles.py +2 -1
Pill_Ideologies-Post_Titles.py CHANGED
@@ -195,7 +195,8 @@ class SubRedditPosts(datasets.GeneratorBasedBuilder):
195
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
196
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
197
  print("inside generate examples")
198
- print(filepath, split)
 
199
  with open(filepath, encoding="utf-8") as f:
200
  for key, row in enumerate(f):
201
  data = json.loads(row)
 
195
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
196
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
197
  print("inside generate examples")
198
+ print(split, "is the split")
199
+ print(filepath, "is the filepath")
200
  with open(filepath, encoding="utf-8") as f:
201
  for key, row in enumerate(f):
202
  data = json.loads(row)