Datasets:
Remove deprecated tasks
#1
by
albertvillanova
HF staff
- opened
- 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):
|