Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
Spanish
Size:
1K<n<10K
License:
Commit
•
8baadf4
1
Parent(s):
645fd1e
Remove deprecated tasks
Browse filesThis dataset uses `tasks`, which are deprecated and will raise an error after the next major release of `datasets`. See: https://github.com/huggingface/datasets/pull/6999
- muchocine.py +0 -5
muchocine.py
CHANGED
@@ -20,7 +20,6 @@ import re
|
|
20 |
from xml.dom.minidom import parseString
|
21 |
|
22 |
import datasets
|
23 |
-
from datasets.tasks import TextClassification
|
24 |
|
25 |
|
26 |
# no BibTeX citation
|
@@ -54,10 +53,6 @@ class Muchocine(datasets.GeneratorBasedBuilder):
|
|
54 |
homepage="http://www.lsi.us.es/~fermin/index.php/Datasets",
|
55 |
license=_LICENSE,
|
56 |
citation=_CITATION,
|
57 |
-
task_templates=[
|
58 |
-
TextClassification(text_column="review_body", label_column="star_rating"),
|
59 |
-
TextClassification(text_column="review_summary", label_column="star_rating"),
|
60 |
-
],
|
61 |
)
|
62 |
|
63 |
def _split_generators(self, dl_manager):
|
|
|
20 |
from xml.dom.minidom import parseString
|
21 |
|
22 |
import datasets
|
|
|
23 |
|
24 |
|
25 |
# no BibTeX citation
|
|
|
53 |
homepage="http://www.lsi.us.es/~fermin/index.php/Datasets",
|
54 |
license=_LICENSE,
|
55 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
56 |
)
|
57 |
|
58 |
def _split_generators(self, dl_manager):
|