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
·
ec4ff8a
1
Parent(s):
0010451
done
Browse files
Pill_Ideologies-Post_Titles.py
CHANGED
@@ -174,7 +174,7 @@ class SubRedditPosts(datasets.GeneratorBasedBuilder):
|
|
174 |
train, val = train_test_split(
|
175 |
train, test_size=0.20, stratify=train["subreddit"], random_state=42
|
176 |
)
|
177 |
-
|
178 |
return [
|
179 |
datasets.SplitGenerator(
|
180 |
name=datasets.Split.TRAIN,
|
|
|
174 |
train, val = train_test_split(
|
175 |
train, test_size=0.20, stratify=train["subreddit"], random_state=42
|
176 |
)
|
177 |
+
|
178 |
return [
|
179 |
datasets.SplitGenerator(
|
180 |
name=datasets.Split.TRAIN,
|