albertvillanova HF staff commited on
Commit
33ecb2d
1 Parent(s): dab944b

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (1be398927fb525f47dd45e2a2ba817b3ddcc6f25)

Files changed (1) hide show
  1. eur-lex-sum.py +0 -4
eur-lex-sum.py CHANGED
@@ -6,7 +6,6 @@ import os
6
  import json
7
 
8
  import datasets
9
- from datasets.tasks import Summarization
10
 
11
 
12
  logger = datasets.logging.get_logger(__name__)
@@ -113,9 +112,6 @@ class EurLexSum(datasets.GeneratorBasedBuilder):
113
  homepage=_HOMEPAGE,
114
  citation=_CITATION,
115
  license=_LICENSE,
116
- task_templates=[
117
- Summarization(task="summarization", text_column="reference", summary_column="summary")
118
- ],
119
  )
120
 
121
  def _split_generators(self, dl_manager):
 
6
  import json
7
 
8
  import datasets
 
9
 
10
 
11
  logger = datasets.logging.get_logger(__name__)
 
112
  homepage=_HOMEPAGE,
113
  citation=_CITATION,
114
  license=_LICENSE,
 
 
 
115
  )
116
 
117
  def _split_generators(self, dl_manager):