Datasets:
Sub-tasks:
multi-class-classification
Languages:
English
Size:
1K<n<10K
Tags:
natural-language-understanding
ideology classification
text classification
natural language processing
License:
EricR401S
commited on
Commit
·
a2911d5
1
Parent(s):
c38f66d
testing generating examples
Browse files
Pill_Ideologies-Post_Titles.py
CHANGED
@@ -198,6 +198,8 @@ class SubRedditPosts(datasets.GeneratorBasedBuilder):
|
|
198 |
print(split, "is the split")
|
199 |
print(filepath.shape, "is the filepath")
|
200 |
for key, row in filepath.iterrows():
|
|
|
|
|
201 |
# print(row, "is the row")
|
202 |
if self.config.name == "first_domain":
|
203 |
yield key, {
|
|
|
198 |
print(split, "is the split")
|
199 |
print(filepath.shape, "is the filepath")
|
200 |
for key, row in filepath.iterrows():
|
201 |
+
# print(row, "is the row")
|
202 |
+
print(key, "is the key")
|
203 |
# print(row, "is the row")
|
204 |
if self.config.name == "first_domain":
|
205 |
yield key, {
|