albertvillanova HF staff commited on
Commit
c880f97
·
verified ·
1 Parent(s): 21f36f5

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (49f7826fe718b1827b191257cbf93bbcbbeb9b4c)

Files changed (1) hide show
  1. pmc_open_access_figure.py +0 -2
pmc_open_access_figure.py CHANGED
@@ -32,7 +32,6 @@ from PIL import Image
32
  import tarfile
33
 
34
  import datasets
35
- from datasets.tasks import LanguageModeling
36
 
37
  from PIL import ImageFile # Important for error: UserWarning: Corrupt EXIF data. Expecting to read 4 bytes but only got 0
38
  import mimetypes
@@ -157,7 +156,6 @@ class OpenAccessFigure(datasets.GeneratorBasedBuilder):
157
  homepage=_HOMEPAGE,
158
  license=_LICENSE,
159
  citation=_CITATION,
160
- task_templates=[LanguageModeling(text_column="content")],
161
  )
162
 
163
  def _split_generators(self, dl_manager):
 
32
  import tarfile
33
 
34
  import datasets
 
35
 
36
  from PIL import ImageFile # Important for error: UserWarning: Corrupt EXIF data. Expecting to read 4 bytes but only got 0
37
  import mimetypes
 
156
  homepage=_HOMEPAGE,
157
  license=_LICENSE,
158
  citation=_CITATION,
 
159
  )
160
 
161
  def _split_generators(self, dl_manager):