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
·
c73cd32
1
Parent(s):
2b1b4cb
testing generating examples
Browse files
Pill_Ideologies-Post_Titles.py
CHANGED
@@ -207,8 +207,8 @@ class SubRedditPosts(datasets.GeneratorBasedBuilder):
|
|
207 |
"subreddit": row.get("subreddit"),
|
208 |
"id": row.get("id"),
|
209 |
"title": row.get("title"),
|
210 |
-
"text": row("text"),
|
211 |
-
"url": row("url"),
|
212 |
"score": row.get("score"),
|
213 |
"author": row.get("author"),
|
214 |
"date": row.get("date"),
|
@@ -220,8 +220,8 @@ class SubRedditPosts(datasets.GeneratorBasedBuilder):
|
|
220 |
"subreddit": row.get("subreddit"),
|
221 |
"id": row.get("id"),
|
222 |
"title": row.get("title"),
|
223 |
-
"text": row("text"),
|
224 |
-
"url": row("url"),
|
225 |
"score": row.get("score"),
|
226 |
"author": row.get("author"),
|
227 |
"date": row.get("date"),
|
|
|
207 |
"subreddit": row.get("subreddit"),
|
208 |
"id": row.get("id"),
|
209 |
"title": row.get("title"),
|
210 |
+
"text": row.get("text"),
|
211 |
+
"url": row.get("url"),
|
212 |
"score": row.get("score"),
|
213 |
"author": row.get("author"),
|
214 |
"date": row.get("date"),
|
|
|
220 |
"subreddit": row.get("subreddit"),
|
221 |
"id": row.get("id"),
|
222 |
"title": row.get("title"),
|
223 |
+
"text": row.get("text"),
|
224 |
+
"url": row.get("url"),
|
225 |
"score": row.get("score"),
|
226 |
"author": row.get("author"),
|
227 |
"date": row.get("date"),
|