Datasets:

Languages:
Spanish
License:
albertvillanova HF staff commited on
Commit
e4ad3a6
1 Parent(s): 645fd1e

Remove deprecated tasks (#3)

Browse files

- Remove deprecated tasks (8baadf4e8c71b2947d9c5e4ae88c82f5841fa647)

Files changed (1) hide show
  1. 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):