Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K<n<100K
License:
Remove deprecated tasks
#1
by
albertvillanova
HF staff
- opened
beer_reviews_label_drift_neutral.py
CHANGED
@@ -21,7 +21,6 @@ import json
|
|
21 |
import os
|
22 |
|
23 |
import datasets
|
24 |
-
from datasets.tasks import TextClassification
|
25 |
|
26 |
|
27 |
|
@@ -121,7 +120,6 @@ class BeerReviewsLabelDriftNeutral(datasets.GeneratorBasedBuilder):
|
|
121 |
license=_LICENSE,
|
122 |
# Citation for the dataset
|
123 |
citation=_CITATION,
|
124 |
-
task_templates=[TextClassification(text_column="text", label_column="label")],
|
125 |
)
|
126 |
|
127 |
def _split_generators(self, dl_manager):
|
|
|
21 |
import os
|
22 |
|
23 |
import datasets
|
|
|
24 |
|
25 |
|
26 |
|
|
|
120 |
license=_LICENSE,
|
121 |
# Citation for the dataset
|
122 |
citation=_CITATION,
|
|
|
123 |
)
|
124 |
|
125 |
def _split_generators(self, dl_manager):
|