SocialGrep commited on
Commit
8f51b3e
1 Parent(s): 4ef17f6

Update top-american-universities-on-reddit.py

Browse files
top-american-universities-on-reddit.py CHANGED
@@ -50,7 +50,7 @@ year={{2022}}
50
  """
51
 
52
 
53
- class FiveYearsOfAAPLOnReddit(datasets.GeneratorBasedBuilder):
54
  VERSION = datasets.Version("1.0.0")
55
 
56
  # This is an example of a dataset with multiple configurations.
@@ -175,3 +175,8 @@ class FiveYearsOfAAPLOnReddit(datasets.GeneratorBasedBuilder):
175
  if row["type"] == "comment":
176
  key = f"t1_{row['id']}"
177
  yield key, row
 
 
 
 
 
 
50
  """
51
 
52
 
53
+ class topamericanuniversitiesonreddit(datasets.GeneratorBasedBuilder):
54
  VERSION = datasets.Version("1.0.0")
55
 
56
  # This is an example of a dataset with multiple configurations.
 
175
  if row["type"] == "comment":
176
  key = f"t1_{row['id']}"
177
  yield key, row
178
+
179
+
180
+ if __name__ == "__main__":
181
+ print("Please use the HuggingFace dataset library, or")
182
+ print("download from https://socialgrep.com/datasets.")