albertvillanova HF staff commited on
Commit
f70c74a
1 Parent(s): e8aa66e

Remove deprecated tasks (#2)

Browse files

- Remove deprecated tasks (c80b7c006a18a58730da287392af0777c388cbcf)

Files changed (1) hide show
  1. EThOS-PhD-metadata.py +0 -2
EThOS-PhD-metadata.py CHANGED
@@ -5,7 +5,6 @@ import csv
5
  from datetime import datetime
6
  import datasets
7
  from datasets.features import Features
8
- from datasets.tasks import LanguageModeling
9
 
10
  _CITATION = """\
11
  @misc{british library_genre,
@@ -100,7 +99,6 @@ class Ethos(datasets.GeneratorBasedBuilder):
100
  homepage=_HOMEPAGE,
101
  license=_LICENSE,
102
  citation=_CITATION,
103
- task_templates=[LanguageModeling(text_column="Abstract")],
104
  )
105
 
106
  def _split_generators(self, dl_manager):
 
5
  from datetime import datetime
6
  import datasets
7
  from datasets.features import Features
 
8
 
9
  _CITATION = """\
10
  @misc{british library_genre,
 
99
  homepage=_HOMEPAGE,
100
  license=_LICENSE,
101
  citation=_CITATION,
 
102
  )
103
 
104
  def _split_generators(self, dl_manager):